Need help
#2

On my own include, I use this method:

PHP код:
stock Float:getPlayerSpeed(playerid)
{
    new 
Float:xFloat:yFloat:z;
    if(
IsPlayerInAnyVehicle(playerid))
    {
        
GetVehicleVelocity(GetPlayerVehicleID(playerid), xyz);
        return (
floatsqroot(z) * 180.00);
    }
    
    return 
0.0;

and works.
Reply


Messages In This Thread
Need help - by lanix - 21.04.2015, 17:24
Re: Need help - by Fel486 - 21.04.2015, 17:25
Re: Need help - by lanix - 21.04.2015, 17:33

Forum Jump:


Users browsing this thread: 1 Guest(s)