17.07.2012, 14:19
It always teleports me back to red marker after clicking right click. How to disable it?
Here's the script:
Here's the script:
Код:
public OnPlayerClickMap(playerid, Float:fX, Float:fY, Float:fZ) { if(!IsPlayerInAnyVehicle(playerid)) { SetPlayerPosFindZ(playerid, fX, fY, fZ); } else if(IsPlayerInAnyVehicle(playerid)) { new Babatz = GetPlayerVehicleID(playerid); new Batz = GetPlayerVehicleSeat(playerid); SetVehiclePos(Babatz,fX,fY,fZ); PutPlayerInVehicle(playerid,Babatz,Batz); } return 1; }