Quote:
Originally Posted by clarencecuzz
pawn Код:
public OnPlayerClickMap(playerid, Float:fX, Float:fY, Float:fZ) { new Babatz = GetPlayerVehicleSeat(playerid); if(!IsPlayerInAnyVehicle) <------- Error on this line { SetPlayerPosFindZ(playerid, fX, fY, fZ); } else { new Batz = GetPlayerVehicleID(playerid); SetVehiclePos(Babatz,fX,fY,fZ); PutPlayerInVehicle(playerid,Babatz,Batz); } return 1; }
EDIT: There is no actual way to disable to marker automatically, it can only be done manually by the player themself.
|
Ohh i see. And for the error:
Код:
(9350) : warning 217: loose indentation
(9350) : error 076: syntax error in the expression, or invalid function call