{if (strcmp(\"/sziget\", cmdtext, true, 10) == 0){ SetPlayerPos(playerid, 378.1763,-2408.5681,10.4816); SendClientMessage(playerid, 0x008000AA, \"Elteleportáltál a szigetre!\"); //A chatboxba írja ki return 1;}return 0;}//tele{if (strcmp(\"/parkour\", cmdtext, true, 10) == 0){ SetPlayerPos(playerid, 1496.5742,2994.6145,13.4057); SendClientMessage(playerid, 0x008000AA, \"Elteleportáltál parkour-ra!\"); //A chatboxba írja ki return 1;}return 0;}
if(strcmp(cmdtext, \"/sziget\", true) == 0){if(IsPlayerInAnyVehicle(playerid)){ SetVehiclePos(GetPlayerVehicleID(playerid),378.1763,-2408.5681,10.4816);} else { SetPlayerPos(playerid, 378.1763,-2408.5681,10.4816); SetPlayerFacingAngle(playerid, 301.5956);}return 1;}if(strcmp(cmdtext, \"/parkour\", true) == 0){if(IsPlayerInAnyVehicle(playerid)){ SetVehiclePos(GetPlayerVehicleID(playerid),1496.5742,2994.6145,13.4057);} else { SetPlayerPos(playerid, 1496.5742,2994.6145,13.4057); SetPlayerFacingAngle(playerid, 301.5956);}return 1;}
én se tudom pedig nálam hibátlan.
if (strcmp(\"/sziget\", cmdtext, true, 10) == 0){ SetPlayerPos(playerid, 378.1763,-2408.5681,10.4816); SendClientMessage(playerid, 0x008000AA, \"Elteleportáltál a szigetre!\"); //A chatboxba írja ki return 1;}if (strcmp(\"/parkour\", cmdtext, true, 10) == 0){ SetPlayerPos(playerid, 1496.5742,2994.6145,13.4057); SendClientMessage(playerid, 0x008000AA, \"Elteleportáltál parkour-ra!\"); //A chatboxba írja ki return 1;}