22.07.2010, 01:52
Shouldn't SetPlayerCheckpoint(playerid, X,Y,Z,5); be after you get the Vehicle Position like this
Код:
else if(strcmp(x_nr,"gps1",true) == 0) { if(PlayerInfo[playerid][pPcarkey]) { new Float:X,Float:Y,Float:Z; GetVehiclePos(pPcarkey, X,Y,Z); SetPlayerCheckpoint(playerid, X,Y,Z,5); return 1; } }