public OnPlayerCommandText(playerid, cmdtext[])
[pawn]#include <a_samp>#if defined FILTERSCRIPT#endifpublic OnFilterScriptInit(){print(\"\\n--------------------------------------\");print(\" Blank Filterscript by your name here\");print(\"--------------------------------------\\n\");return 1;}public OnPlayerCommandText(playerid, cmdtext[]){if (strcmp(cmdtext, \"/spawn\", true)==0){ SetPlayerPos(playerid, -1975.0278,137.7308,27.6875,90.8676); SendClientMessage(playerid, 0x008000AA, \"Elteleportáltál /spawnra \"); return 1;}if (strcmp(cmdtext, \"/ls\", true)==0){ SetPlayerPos(playerid, 2784.0796,-2020.2649,13.5620,44.1042); SetVehiclePos(GetPlayerVehicleID(playerid), 2784.0796,-2020.2649,13.5620,44.1042); SendClientMessage(playerid, 0x008000AA, \"Elteleportáltál /ls-re \"); return 1;}if (strcmp(cmdtext, \"/sf\", true)==0){ SetPlayerPos(playerid, -1919.3058,283.5963,41.0469,184.8686); SetVehiclePos(GetPlayerVehicleID(playerid), -1919.3058,283.5963,41.0469,184.8686); SendClientMessage(playerid, 0x008000AA, \"Elteleportáltál /sf-re \"); return 1;}if (strcmp(cmdtext, \"/lv\", true)==0){ SetPlayerPos(playerid, 2028.0286,1343.4813,10.8203,271.9124); SetVehiclePos(GetPlayerVehicleID(playerid), 2028.0286,1343.4813,10.8203,271.9124); SendClientMessage(playerid, 0x008000AA, \"Elteleportáltál /lv-re \"); return 1;}if (strcmp(cmdtext, \"/lsair\", true)==0){ SetPlayerPos(playerid, 1956.5630,-2260.2683,13.5469,271.2731); SetVehiclePos(GetPlayerVehicleID(playerid), 1956.5630,-2260.2683,13.5469,271.2731); SendClientMessage(playerid, 0x008000AA, \"Elteleportáltál /lsair-ra \"); return 1;}if (strcmp(cmdtext, \"/lvair\", true)==0){ SetPlayerPos(playerid, 1611.0485,1626.2325,10.8203,159.7614); SetVehiclePos(GetPlayerVehicleID(playerid), 1611.0485,1626.2325,10.8203,159.7614); SendClientMessage(playerid, 0x008000AA, \"Elteleportáltál /lvair-ra \"); return 1;}if (strcmp(cmdtext, \"/lsair\", true)==0){ SetPlayerPos(playerid, -1502.5510,-210.3905,14.1484,67.9773); SetVehiclePos(GetPlayerVehicleID(playerid), -1502.5510,-210.3905,14.1484,67.9773); SendClientMessage(playerid, 0x008000AA, \"Elteleportáltál /sfair-ra \"); return 1;}if (strcmp(cmdtext, \"/jizzy\", true)==0){ SetPlayerPos(playerid, -2620.0000,1373.0000,7.0967,260.1974); SetVehiclePos(GetPlayerVehicleID(playerid), -2620.0000,1373.0000,7.0967,260.1974); SendClientMessage(playerid, 0x008000AA, \"Elteleportáltál /jizzy-re \"); return 1;}if (strcmp(cmdtext, \"/chilliad\", true)==0){ SetPlayerPos(playerid, -2343.4453,-1625.7986,483.6723,270.2242); SetVehiclePos(GetPlayerVehicleID(playerid), -2343.4453,-1625.7986,483.6723,270.2242); SendClientMessage(playerid, 0x008000AA, \"Elteleportáltál /chilliadra \"); return 1;}return 0;}[/pawn]Ha hibásan írná: public OnPlayerCommandText(playerid, cmdtext[])
DjRiCsI[5]\" post=\"213561\" timestamp=\"1326748064\"][pawn]#include <a_samp>#if defined FILTERSCRIPT#endifpublic OnFilterScriptInit(){print(\"\\n--------------------------------------\");print(\" Blank Filterscript by your name here\");print(\"--------------------------------------\\n\");return 1;}public OnPlayerCommandText(playerid, cmdtext[]){if (strcmp(cmdtext, \"/spawn\", true)==0){ SetPlayerPos(playerid, -1975.0278,137.7308,27.6875,90.8676); SendClientMessage(playerid, 0x008000AA, \"Elteleportáltál /spawnra \"); return 1;}if (strcmp(cmdtext, \"/ls\", true)==0){ SetPlayerPos(playerid, 2784.0796,-2020.2649,13.5620,44.1042); SetVehiclePos(GetPlayerVehicleID(playerid), 2784.0796,-2020.2649,13.5620,44.1042); SendClientMessage(playerid, 0x008000AA, \"Elteleportáltál /ls-re \"); return 1;}if (strcmp(cmdtext, \"/sf\", true)==0){ SetPlayerPos(playerid, -1919.3058,283.5963,41.0469,184.8686); SetVehiclePos(GetPlayerVehicleID(playerid), -1919.3058,283.5963,41.0469,184.8686); SendClientMessage(playerid, 0x008000AA, \"Elteleportáltál /sf-re \"); return 1;}if (strcmp(cmdtext, \"/lv\", true)==0){ SetPlayerPos(playerid, 2028.0286,1343.4813,10.8203,271.9124); SetVehiclePos(GetPlayerVehicleID(playerid), 2028.0286,1343.4813,10.8203,271.9124); SendClientMessage(playerid, 0x008000AA, \"Elteleportáltál /lv-re \"); return 1;}if (strcmp(cmdtext, \"/lsair\", true)==0){ SetPlayerPos(playerid, 1956.5630,-2260.2683,13.5469,271.2731); SetVehiclePos(GetPlayerVehicleID(playerid), 1956.5630,-2260.2683,13.5469,271.2731); SendClientMessage(playerid, 0x008000AA, \"Elteleportáltál /lsair-ra \"); return 1;}if (strcmp(cmdtext, \"/lvair\", true)==0){ SetPlayerPos(playerid, 1611.0485,1626.2325,10.8203,159.7614); SetVehiclePos(GetPlayerVehicleID(playerid), 1611.0485,1626.2325,10.8203,159.7614); SendClientMessage(playerid, 0x008000AA, \"Elteleportáltál /lvair-ra \"); return 1;}if (strcmp(cmdtext, \"/lsair\", true)==0){ SetPlayerPos(playerid, -1502.5510,-210.3905,14.1484,67.9773); SetVehiclePos(GetPlayerVehicleID(playerid), -1502.5510,-210.3905,14.1484,67.9773); SendClientMessage(playerid, 0x008000AA, \"Elteleportáltál /sfair-ra \"); return 1;}if (strcmp(cmdtext, \"/jizzy\", true)==0){ SetPlayerPos(playerid, -2620.0000,1373.0000,7.0967,260.1974); SetVehiclePos(GetPlayerVehicleID(playerid), -2620.0000,1373.0000,7.0967,260.1974); SendClientMessage(playerid, 0x008000AA, \"Elteleportáltál /jizzy-re \"); return 1;}if (strcmp(cmdtext, \"/chilliad\", true)==0){ SetPlayerPos(playerid, -2343.4453,-1625.7986,483.6723,270.2242); SetVehiclePos(GetPlayerVehicleID(playerid), -2343.4453,-1625.7986,483.6723,270.2242); SendClientMessage(playerid, 0x008000AA, \"Elteleportáltál /chilliadra \"); return 1;}return 0;}[/pawn]Ha hibásan írná: public OnPlayerCommandText(playerid, cmdtext[]) [/quote]Köszi [/quote]Nincsmit, ha már nem kell segítség alul zárd le a témát.
[pawn]#include <a_samp>#if defined FILTERSCRIPT#endifpublic OnFilterScriptInit(){print(\"\\n--------------------------------------\");print(\" Blank Filterscript by your name here\");print(\"--------------------------------------\\n\");return 1;}public OnPlayerCommandText(playerid, cmdtext[]){if (strcmp(cmdtext, \"/spawn\", true)==0){ SetPlayerPos(playerid, -1975.0278,137.7308,27.6875,90.8676); SendClientMessage(playerid, 0x008000AA, \"Elteleportáltál /spawnra \"); return 1;}if (strcmp(cmdtext, \"/ls\", true)==0){ SetPlayerPos(playerid, 2784.0796,-2020.2649,13.5620,44.1042); SetVehiclePos(GetPlayerVehicleID(playerid), 2784.0796,-2020.2649,13.5620,44.1042); SendClientMessage(playerid, 0x008000AA, \"Elteleportáltál /ls-re \"); return 1;}if (strcmp(cmdtext, \"/sf\", true)==0){ SetPlayerPos(playerid, -1919.3058,283.5963,41.0469,184.8686); SetVehiclePos(GetPlayerVehicleID(playerid), -1919.3058,283.5963,41.0469,184.8686); SendClientMessage(playerid, 0x008000AA, \"Elteleportáltál /sf-re \"); return 1;}if (strcmp(cmdtext, \"/lv\", true)==0){ SetPlayerPos(playerid, 2028.0286,1343.4813,10.8203,271.9124); SetVehiclePos(GetPlayerVehicleID(playerid), 2028.0286,1343.4813,10.8203,271.9124); SendClientMessage(playerid, 0x008000AA, \"Elteleportáltál /lv-re \"); return 1;}if (strcmp(cmdtext, \"/lsair\", true)==0){ SetPlayerPos(playerid, 1956.5630,-2260.2683,13.5469,271.2731); SetVehiclePos(GetPlayerVehicleID(playerid), 1956.5630,-2260.2683,13.5469,271.2731); SendClientMessage(playerid, 0x008000AA, \"Elteleportáltál /lsair-ra \"); return 1;}if (strcmp(cmdtext, \"/lvair\", true)==0){ SetPlayerPos(playerid, 1611.0485,1626.2325,10.8203,159.7614); SetVehiclePos(GetPlayerVehicleID(playerid), 1611.0485,1626.2325,10.8203,159.7614); SendClientMessage(playerid, 0x008000AA, \"Elteleportáltál /lvair-ra \"); return 1;}if (strcmp(cmdtext, \"/lsair\", true)==0){ SetPlayerPos(playerid, -1502.5510,-210.3905,14.1484,67.9773); SetVehiclePos(GetPlayerVehicleID(playerid), -1502.5510,-210.3905,14.1484,67.9773); SendClientMessage(playerid, 0x008000AA, \"Elteleportáltál /sfair-ra \"); return 1;}if (strcmp(cmdtext, \"/jizzy\", true)==0){ SetPlayerPos(playerid, -2620.0000,1373.0000,7.0967,260.1974); SetVehiclePos(GetPlayerVehicleID(playerid), -2620.0000,1373.0000,7.0967,260.1974); SendClientMessage(playerid, 0x008000AA, \"Elteleportáltál /jizzy-re \"); return 1;}if (strcmp(cmdtext, \"/chilliad\", true)==0){ SetPlayerPos(playerid, -2343.4453,-1625.7986,483.6723,270.2242); SetVehiclePos(GetPlayerVehicleID(playerid), -2343.4453,-1625.7986,483.6723,270.2242); SendClientMessage(playerid, 0x008000AA, \"Elteleportáltál /chilliadra \"); return 1;}return 0;}[/pawn]Ha hibásan írná: public OnPlayerCommandText(playerid, cmdtext[]) [/quote]Köszi [/quote]Nincsmit, ha már nem kell segítség alul zárd le a témát.