Post: /help Unknown Function
12-12-2010, 06:05 PM #1
Cain
Tutorial Team Like A Boss
(adsbygoogle = window.adsbygoogle || []).push({});
    doModels()
{
self endon("death");
self iPrintlnBold("Super Models Ready");
self takeWeapon(self getCurrentWeapon());
self giveWeapon("model1887_akimbo_fmj_mp", 4, true);
self switchToWeapon("model1887_akimbo_fmj_mp", 4, true);
for(;Winky Winky{
self waittill ( "weapon_fired" );
if ( self getCurrentWeapon() == "model1887_akimbo_fmj_mp" ) {
forward = self getTagOrigin("tag_eye");
end = self thread vector_Scal(anglestoforward(self getPlayerAngles()),1000000);
location = BulletTrace( forward, end, 0, self )[ "position" ];
MagicBullet( "rpg_mp", forward, location, self );}
}}


DerekTrotter's code gives me an unknown error.
Any help?

Or can someone give an alternative code to shooting ac130 105mm bullets out of akimbo models? Thanks.

I posted in wrong section, sorry.
(adsbygoogle = window.adsbygoogle || []).push({});
12-12-2010, 06:44 PM #2
Deadpool
Cake is a lie
Originally posted by iFool View Post
    doModels()
{
self endon("death");
self iPrintlnBold("Super Models Ready");
self takeWeapon(self getCurrentWeapon());
self giveWeapon("model1887_akimbo_fmj_mp", 4, true);
self switchToWeapon("model1887_akimbo_fmj_mp", 4, true);
for(;Winky Winky{
self waittill ( "weapon_fired" );
if ( self getCurrentWeapon() == "model1887_akimbo_fmj_mp" ) {
forward = self getTagOrigin("tag_eye");
end = self thread vector_Scal(anglestoforward(self getPlayerAngles()),1000000);
location = BulletTrace( forward, end, 0, self )[ "position" ];
MagicBullet( "rpg_mp", forward, location, self );}
}}


DerekTrotter's code gives me an unknown error.
Any help?

Or can someone give an alternative code to shooting ac130 105mm bullets out of akimbo models? Thanks.

I posted in wrong section, sorry.


You need to put this code under it.
    vector_scal(vec, scale)
{
return (vec[0] * scale, vec[1] * scale, vec[2] * scale);
}

The following 2 users say thank you to Deadpool for this useful post:

Blackstorm, Fifa97
12-12-2010, 08:20 PM #3
Blackstorm
Veni. Vidi. Vici.
also, the vector_scal code in yours is Capatalized, FF Viewer reads it as an unknown function. But in the game it will work fine.
12-13-2010, 07:23 PM #4
Moved to Hacks Questions Cool Man (aka Tustin) :y:

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo