15.10.2011, 15:34
First, use [pawn] for the script.
At the top
And at the
==============================================
EDIT:
Here is your mistake
You need to have them
And here your coordinates
At the top
pawn Code:
new GOTOPLAYER;
pawn Code:
public OnPlayerCommandText(playerid, cmdtext[])
{
if(!strcmp(cmdtext, "/race", true)) {
new Float:x,Float:y,Float:z;
GetPlayerPos(GOTOPLAYER,x,y,z);
if (GetPlayerState(playerid)==PLAYER_STATE_DRIVER)SetVehiclePos(GetPlayerVehicleID(playerid),x,y,z);
else SetPlayerPos(playerid,x,y,z);
ResetPlayerWeapons(playerid);
return 1;
}
//More
EDIT:
Here is your mistake
Quote:
pawn Code:
|
pawn Code:
new Float:x, Float:y, Float:z;
pawn Code:
GetPlayerPos(GOTOPLAYER, 2057.3955, 861.6058, 6.7143,181);