x,y,z helyére a teleport kordinátát másold majd
[pawn]CMD:teleport(playerid)
{
new cartype = GetPlayerVehicleID(playerid);
new State=GetPlayerState(playerid);
SetPlayerInterior(playerid, 0);
{if(State!=PLAYER_STATE_DRIVER)
{SetPlayerPos(playerid,x,y,z);}
else if(IsPlayerInVehicle(playerid, cartype) == 1)
{SetVehiclePos(cartype,x,y,z);
SetVehicleZAngle(cartype,266.6323);}
else
{SetPlayerPos(playerid,x,y,z);}
SendClientMessage(playerid, 0x21DD00FF,\"Sikeres Teleportálás!\");}
return 1;}[/pawn]