Quote:
|
Originally Posted by gijs_min
pawn Код:
if(!strcmp("/teleport", cmdtext, true)) { if(IsPlayerInAnyVehicle(playerid)) { new vehicleid = GetPlayerVehicleID(playerid); SetVehiclePos(vehicleid, X,Y,Z); } else { SetPlayerPos(playerid, X,Y,Z); } }
|
Indent your code properly, i told him how to do it. You should of let him attempt to do so..