Need help for fixing errors
#2

here place "GetXYInFrontOfPlayer" with this and tell me

PHP код:
stock GetXYInFrontOfPlayer(playerid, &Float:x, &Float:yFloat:distance)
{
    new 
Float:a;
    
GetPlayerPos(playeridxya);
    
GetPlayerFacingAngle(playerida);
    if (
GetPlayerVehicleID(playerid))
    {
      
GetVehicleZAngle(GetPlayerVehicleID(playerid), a);
    }
    
+= (distance floatsin(-adegrees));
    
+= (distance floatcos(-adegrees));

Reply


Messages In This Thread
Need help for fixing errors - by Watson Destor - 30.01.2013, 18:12
Re: Need help for fixing errors - by Youice - 30.01.2013, 18:52
Re: Need help for fixing errors - by Watson Destor - 30.01.2013, 19:42
Re: Need help for fixing errors - by Youice - 30.01.2013, 19:49
Re: Need help for fixing errors - by Watson Destor - 30.01.2013, 19:50
Re: Need help for fixing errors - by megamind2067 - 30.01.2013, 19:54
Re: Need help for fixing errors - by Youice - 30.01.2013, 20:05
Re: Need help for fixing errors - by Watson Destor - 30.01.2013, 21:12
Re: Need help for fixing errors - by mastermax7777 - 30.01.2013, 21:25
Re: Need help for fixing errors - by Watson Destor - 30.01.2013, 21:31

Forum Jump:


Users browsing this thread: 1 Guest(s)