Quote:
Originally Posted by Pangea
Like this:
pawn Код:
public OnPlayerClickMap(playerid, Float:fX, Float:fY, Float:fZ) { if(IsPlayerInAnyVehicle(playerid)) { SetVehiclePos(playerid, fX, fY, fZ); } else { SetPlayerPos(playerid, fX, fY, fZ); } return 1; }
If the player is in a vehicle, the vehicle gets teleported.
Otherwise it's just the player.
|
Player cant teleport but vehicle wont. still no changes at all. You know why?
No error after compiling.