Szerző Téma: Teleport nem jó  (Megtekintve 662 alkalommal)

Nem elérhető Ricsey

  • 259
    • Profil megtekintése
Teleport nem jó
« Dátum: 2012. január 16. - 21:40:05 »
0 Show voters
Hali mindenki irtam egy teljesen egyszerû teleportot hamarosan induló szerómra de ha pl beirom hogy /sf akor azt irja hogy SERVER: Unknown Command szóval nem is érzékeli a parancsot mint ha ott se lenne nézzétek meg am se error se warning
[pawn]#include <a_samp>
#if defined FILTERSCRIPT
public OnFilterScriptInit()
{
print(\"\\n--------------------------------------\");
print(\" Blank Filterscript by your name here\");
print(\"--------------------------------------\\n\");
return 1;
}
public OnPlayerCommandText(playerid, cmdtext[])
{
if (strcmp(\"/spawn\", cmdtext, true, 10) == 0)
{
    SetPlayerPos(playerid, -1975.0278,137.7308,27.6875,90.8676);
    SendClientMessage(playerid, 0x008000AA, \"Elteleportáltál /spawnra \");
    return 1;
}
if (strcmp(\"/ls\", cmdtext, true, 10) == 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(\"/sf\", cmdtext, true, 10) == 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(\"/lv\", cmdtext, true, 10) == 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(\"/lsair\", cmdtext, true, 10) == 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(\"/lvair\", cmdtext, true, 10) == 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(\"/sfair\", cmdtext, true, 10) == 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(\"/jizzy\", cmdtext, true, 10) == 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(\"/chilliad\", cmdtext, true, 10) == 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;
}
#endif
[/pawn]

Nem elérhető The

  • 4384
    • Profil megtekintése
Teleport nem jó
« Válasz #1 Dátum: 2012. január 16. - 21:46:48 »
0 Show voters
[pawn]#include <a_samp>
#if defined FILTERSCRIPT
#endif
public 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[])
« Utoljára szerkesztve: 2012. január 16. - 21:48:48 írta DW »

Nem elérhető Ricsey

  • 259
    • Profil megtekintése
Teleport nem jó
« Válasz #2 Dátum: 2012. január 16. - 22:07:44 »
0 Show voters
Idézetet írta: DW date=1326746808\" data-ipsquote-contentapp=\"forums\" data-ipsquote-contenttype=\"forums\" data-ipsquote-contentid=\"15646\" data-ipsquote-contentclass=\"forums_Topic
[pawn]#include <a_samp>
#if defined FILTERSCRIPT
#endif
public 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[])

 

Köszi :D

Nem elérhető The

  • 4384
    • Profil megtekintése
Teleport nem jó
« Válasz #3 Dátum: 2012. január 16. - 23:01:37 »
0 Show voters
DjRiCsI[5]\" post=\"213561\" timestamp=\"1326748064\"]

[pawn]#include <a_samp>
#if defined FILTERSCRIPT
#endif
public 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 :D
 
[/quote]
Nincsmit, ha már nem kell segítség alul zárd le a témát.

 

SimplePortal 2.3.7 © 2008-2024, SimplePortal