11.01.2013, 11:32
Whats up with this?
pawn Код:
CMD:gotocar(playerid, params[])
{
new Float:x,Float:y,Float:z;
if (sscanf(params, "fff", x, y, z)) SendClientMessage(playerid, -1, "CMD: /gotocar [CarID]");
GetVehiclePos(GetPlayerVehicleID(playerid), x, y, z);
if (GetPlayerState(playerid) == 2)
{
SetPlayerPos(playerid, x,y,z+2);
}
else
{
SetPlayerPos(playerid, x,y,z+2);
}
return 1;
}