if (strcmp(\"/teleport\", cmdtext, true, 10) == 0){new vehid;vehid = GetPlayerVehicleID(playerid);if(IsPlayerInAnyVehicle(playerid)) return SendClientMessage(playerid, 0x00FFFFFF, \"Nem ülsz jármûben!\");{ if(vehid == 522 ||vehid == 581 || vehid == 461 || vehid == 521 || vehid == 463 || vehid == 586 || vehid == 468) return SendClientMessage(playerid, 0x00FFFFFF, \"Nem ülsz motoron!\"); { SetPlayerPos(playerid, 100.0, 100.0, 100.0); }}return 1;}return 0;}
if (strcmp(\"/teleport\", cmdtext, true, 10) == 0){new vehid;vehid = GetPlayerVehicleID(playerid);if(IsPlayerInAnyVehicle(playerid)) return SendClientMessage(playerid, 0x00FFFFFF, \"Nem ülsz jármûben!\");{ if(vehid == 522 ||vehid == 581 || vehid == 461 || vehid == 521 || vehid == 463 || vehid == 586 || vehid == 468) return SendClientMessage(playerid, 0x00FFFFFF, \"Nem ülsz motoron!\"); { SetPlayerPos(playerid, 100.0, 100.0, 100.0); }}return 1;}return 0;} Nem teszteltem.
if (!strcmp(\"/teleport\", cmdtext, true)){new vehid = GetVehicleModel(GetPlayerVehicleID(playerid));if(vehid == 522 ||vehid == 581 || vehid == 461 || vehid == 521 || vehid == 463 || vehid == 586 || vehid == 468) return SendClientMessage(playerid, 0x00FFFFFF, \"Nem ülsz motoron!\"); else SetPlayerPos(playerid, 100.0, 100.0, 100.0);return 1;}
if(strcmp(\"/telename\",cmdtext,true) == 0){new vehid = GetVehicleModel(GetPlayerVehicleID(playerid));if(vehid == 522 ||vehid == 581 || vehid == 461 || vehid == 521 || vehid == 463 || vehid == 586 || vehid == 468) return SendClientMessage(playerid,0x00FFFFFF,\"Nem ülsz motoron!\");else SetVehiclePos(GetPlayerVehicleID(playerid),X,Y,Z);return 1;}
Ha már jármûvel akk így: if(strcmp(\"/telename\",cmdtext,true) == 0){new vehid = GetVehicleModel(GetPlayerVehicleID(playerid));if(vehid == 522 ||vehid == 581 || vehid == 461 || vehid == 521 || vehid == 463 || vehid == 586 || vehid == 468) return SendClientMessage(playerid,0x00FFFFFF,\"Nem ülsz motoron!\");else SetVehiclePos(GetPlayerVehicleID(playerid),X,Y,Z);return 1;}
if(strcmp(\"/telename\",cmdtext,true) == 0){new vehid = GetVehicleModel(GetPlayerVehicleID(playerid)); switch(vehid) { case 522,581,461,521,463,586,468: SetVehiclePos(GetPlayerVehicleID(playerid),X,Y,Z); default: SendClientMessage(playerid,0x00FFFFFF,\"Nem ülsz motoron!\"); }return 1;}