Undefined symbol...
#7

He look like that?
PHP код:
public OnPlayerKeyStateChange(playeridnewkeysoldkeys)
{
    new 
GetPlayerSpeed[MAX_PLAYERS];  
    if(
newkeys KEY_SPRINT && GetPlayerState(playerid) == PLAYER_STATE_DRIVER)
    {
            if(
IsNitro[playerid] == 1)
            {
                if(
GetPlayerSpeed(playerid) <= 3)
                {
                    new 
vehicleid GetPlayerVehicleID(playerid);
                    new 
Float:XvFloat:YvFloat:ZvFloat:absV;
                    
GetVehicleVelocity(vehicleidXvYvZv);
                    
absV floatsqroot(floatpower(floatabs(Xv),2)+floatpower(floatabs(Yv),2)+floatpower(floatabs(Zv),2));
                    if(
absV 20.0)
                    {
                        new 
Float:Zangle;
                        
GetVehicleZAngle(vehicleidZangle);
                        
GetVehicleVelocity(vehicleidXvYvZv);
                        
Xv = (9.5 absV floatsin(Zangledegrees));
                        
Yv = (9.5 absV floatcos(Zangledegrees));
                        
SetVehicleAngularVelocity(vehicleidYvXv0);
                    }
                }
                else if(
GetPlayerSpeed(playerid) >= 3) return 0;
            }
            else if(
IsNitro[playerid] != 1) return 0;
    }
    return 
1;

Reply


Messages In This Thread
Undefined symbol... - by xXitsgodzillaXx - 11.05.2013, 19:47
Re: Undefined symbol... - by radiobizza - 11.05.2013, 19:50
Re: Undefined symbol... - by xXitsgodzillaXx - 11.05.2013, 20:02
Re: Undefined symbol... - by radiobizza - 11.05.2013, 20:08
Re: Undefined symbol... - by xXitsgodzillaXx - 11.05.2013, 20:17
Re : Undefined symbol... - by Rayan_black - 11.05.2013, 20:20
Re: Undefined symbol... - by radiobizza - 11.05.2013, 20:21
Re: Undefined symbol... - by xXitsgodzillaXx - 11.05.2013, 20:23
Re: Undefined symbol... - by MP2 - 11.05.2013, 20:45
Re: Undefined symbol... - by xXitsgodzillaXx - 11.05.2013, 21:06

Forum Jump:


Users browsing this thread: 2 Guest(s)