[help]Drag Racing
#3

edit
Код:
stock GetXYInFrontOfPlayer(playerid,&Float:x,&Float:y,Float:dis)
{ new float:pos[3];
new float:A;
GetPlayerPos(playerid,pos[0],pos[1],pos[2]);
GetPlayerFacingAngle(playerid,A);
GetXYInFrontOfPoint(pos[0],pos[1],x,y,A,dis);
}
to
Код:
stock GetXYInFrontOfPlayer(playerid,&Float:x,&Float:y,Float:dis)
{ new float:pos[3];
new float:A;
GetPlayerPos(playerid,pos[0],pos[1],pos[2]);
if(GetPlayerVehicleID(playerid))
GetVehicleAngelZ(GetPlayerVehicleID(playerid),A);
else
GetPlayerFacingAngle(playerid,A);
GetXYInFrontOfPoint(pos[0],pos[1],x,y,A,dis);
}
Reply


Messages In This Thread
[help]Drag Racing - by JadedJ - 15.07.2009, 18:41
Re: Plz Help with my Drag racing script...plz - by JadedJ - 17.07.2009, 15:10
Re: Plz Help with my Drag racing script...plz - by yezizhu - 17.07.2009, 15:27
Re: Plz Help with my Drag racing script...plz - by JadedJ - 17.07.2009, 21:18
Re: Spawn something in front of player - by yezizhu - 18.07.2009, 00:04
Re: [help]Drag Racing - by JadedJ - 20.07.2009, 16:53
Re: [help]Drag Racing - by yezizhu - 20.07.2009, 17:43
Re: [help]Drag Racing - by JadedJ - 20.07.2009, 23:01
Re: [help]Drag Racing - by yezizhu - 23.07.2009, 17:02
Re: [help]Drag Racing - by JadedJ - 28.07.2009, 23:58

Forum Jump:


Users browsing this thread: 1 Guest(s)