Szerző Téma: teleport2  (Megtekintve 725 alkalommal)

teleport2
« Dátum: 2013. március 31. - 23:26:15 »
0 Show voters
Valaki össze tudna nekem dobni egy teleportot?? a kordináták mellet van hogy mit kel beírni ahoz hogy odatudjak menni!!Elõre is köszönöm   :)
AddPlayerClass(0,331.8158,-1798.9175,4.6930,41.8919,0,0,0,0,0,0); // teleport /beach
AddPlayerClass(0,2644.5596,-2016.4270,13.5540,182.0712,0,0,0,0,0,0); // teleport /tune1
AddPlayerClass(0,2493.4578,-1667.7173,13.3438,81.6489,0,0,0,0,0,0); // teleport /ls
AddPlayerClass(0,1959.6447,-2282.0381,13.5469,163.7085,0,0,0,0,0,0); // teleport /ls-air
AddPlayerClass(0,2020.8652,1342.6591,10.8130,259.2442,0,0,0,0,0,0); // teleport /lv
AddPlayerClass(0,1320.8384,1277.9744,10.8594,286.2085,0,0,0,0,0,0); // teleport /lv-air
AddPlayerClass(0,2392.5474,1021.2135,10.8203,127.5479,0,0,0,0,0,0); // teleport /tune2
AddPlayerClass(0,208.4116,1907.2195,17.6406,266.2548,0,0,0,0,0,0); // teleport /area51
AddPlayerClass(0,432.9557,2502.4414,16.4922,82.0124,0,0,0,0,0,0); // teleport /aa
AddPlayerClass(0,-1928.2428,228.4691,34.2788,86.3803,0,0,0,0,0,0); // teleport /tune3
AddPlayerClass(0,-2027.2384,178.1375,28.8359,121.5671,0,0,0,0,0,0); // teleport /sf
AddPlayerClass(0,-2702.1089,218.7926,4.1797,87.7348,0,0,0,0,0,0); // teleport /tune4
AddPlayerClass(0,-1500.5565,-201.9445,14.1484,334.3271,0,0,0,0,0,0); // teleport /sf-air

teleport2
« Válasz #1 Dátum: 2013. április 02. - 06:49:56 »
0 Show voters
Helló! Megcsináltam amit kértél!
Kódos változata:
 
/*
* ---Teleport Script---
*          by: Edy (Zalakaka45)
*/
 
#include <a_samp>
public OnFilterScriptInit()
{
print(\"\\n--------------------------------------\");
print(\" Teleport Script[v2] by Edy\");
print(\"--------------------------------------\\n\");
return 1;
}
public OnFilterScriptExit()
{
return 1;
}
public OnPlayerCommandText(playerid, cmdtext[])
{
    if (strcmp(\"/beach\", cmdtext, true, 10) == 0)//
{
SetPlayerPos(playerid,331.8158,-1798.9175,4.6930);
return 1;
}
if (strcmp(\"/tune1\", cmdtext, true, 10) == 0)//
{
SetPlayerPos(playerid,2644.5596,-2016.4270,13.5540);
return 1;
}
if (strcmp(\"/ls\", cmdtext, true, 10) == 0)//
{
SetPlayerPos(playerid,2493.4578,-1667.7173,13.3438);
return 1;
}
if (strcmp(\"/ls-air\", cmdtext, true, 10) == 0)//
{
SetPlayerPos(playerid,1959.6447,-2282.0381,13.5469);
return 1;
}
    if (strcmp(\"/lv\", cmdtext, true, 10) == 0)//
{
SetPlayerPos(playerid,2020.8652,1342.6591,10.8130);
return 1;
}
    if (strcmp(\"/lv-air\", cmdtext, true, 10) == 0)//
{
SetPlayerPos(playerid,1320.8384,1277.9744,10.8594);
return 1;
}
if (strcmp(\"/tune2\", cmdtext, true, 10) == 0)//
{
SetPlayerPos(playerid,2392.5474,1021.2135,10.8203);
return 1;
}
if (strcmp(\"/area51\", cmdtext, true, 10) == 0)//
{
SetPlayerPos(playerid,208.4116,1907.2195,17.6406);
return 1;
}
if (strcmp(\"/aa\", cmdtext, true, 10) == 0)//
{
SetPlayerPos(playerid,432.9557,2502.4414,16.4922);
return 1;
}
if (strcmp(\"/tune3\", cmdtext, true, 10) == 0)//
{
SetPlayerPos(playerid,-1928.2428,228.4691,34.2788);
return 1;
}
if (strcmp(\"/sf\", cmdtext, true, 10) == 0)//
{
SetPlayerPos(playerid,-2027.2384,178.1375,28.8359);
return 1;
}
if (strcmp(\"/tune4\", cmdtext, true, 10) == 0)//
{
SetPlayerPos(playerid,-2702.1089,218.7926,4.1797);
return 1;
}
if (strcmp(\"/sf-air\", cmdtext, true, 10) == 0)//
{
SetPlayerPos(playerid,-1500.5565,-201.9445,14.1484);
return 1;
}
return 0;
}

 
Dialogos változata ha ez jobban tetszene:
 
/*
* ---Teleport Script---
*          by: Edy (Zalakaka45)
*/
#include <a_samp>
#define Teleportok 0
public OnFilterScriptInit()
{
print(\"\\n--------------------------------------\");
print(\" Teleport Script[v2] by Edy\");
print(\"--------------------------------------\\n\");
return 1;
}
public OnFilterScriptExit()
{
return 1;
}
public OnPlayerCommandText(playerid, cmdtext[])
{
if (strcmp(\"/teleportok\", cmdtext, true, 10) == 0)
{
ShowPlayerDialog(playerid, 0, DIALOG_STYLE_LIST,\"Teleportok\",\"Beach\\nTune1\\nLS\\nLS-Air\\nLV\\nLV-Air\\nTune2\\nArea51\\nAA\\nTune3\\nSF\\nTune4\\nSF-Air\",\"Teleportálás\",\"Kilépés\");
return 1;
}
return 1;
}
public OnDialogResponse ( playerid, dialogid, response, listitem, inputtext [ ] )
{
if( dialogid == 0)
{
if( listitem == 0)
{
    SetPlayerPos(playerid,331.8158,-1798.9175,4.6930);
    return 1;
}
if( listitem == 1)
{
   SetPlayerPos(playerid,2644.5596,-2016.4270,13.5540);
   return 1;
}
        if( listitem == 2)
{
   SetPlayerPos(playerid,2493.4578,-1667.7173,13.3438);
   return 1;
}
if( listitem == 3)
{
   SetPlayerPos(playerid,1959.6447,-2282.0381,13.5469);
   return 1;
}
        if( listitem == 4)
{
   SetPlayerPos(playerid,2020.8652,1342.6591,10.8130);
   return 1;
}
if( listitem == 5)
{
   SetPlayerPos(playerid,1320.8384,1277.9744,10.8594);
   return 1;
}
if( listitem == 6)
{
   SetPlayerPos(playerid,2392.5474,1021.2135,10.8203);
   return 1;
}
if( listitem == 7)
{
   SetPlayerPos(playerid,208.4116,1907.2195,17.6406);
   return 1;
}
if( listitem == 8)
{
   SetPlayerPos(playerid,432.9557,2502.4414,16.4922);
   return 1;
}
if( listitem == 9)
{
   SetPlayerPos(playerid,-1928.2428,228.4691,34.2788);
   return 1;
}
if( listitem == 10)
{
   SetPlayerPos(playerid,-2027.2384,178.1375,28.8359);
   return 1;
}
if( listitem == 11)
{
   SetPlayerPos(playerid,-2702.1089,218.7926,4.1797);
   return 1;
}
if( listitem == 12)
{
   SetPlayerPos(playerid,-1500.5565,-201.9445,14.1484);
   return 1;
}
return 1;
}
return 0;
}

 
Javítva!
Remélem segitettem! Helló :)
« Utoljára szerkesztve: 2013. április 02. - 10:10:43 írta Zalakaka45 »

teleport2
« Válasz #2 Dátum: 2013. április 02. - 08:24:53 »
0 Show voters
#include   <zcmd> // Ez az Include kell hozzá ha kel elküldöm.
CMD:vecsés(playerid, params[]) {  // Vecsés helyére ird a parancsot PL /lv
    if(IsPlayerInAnyVehicle(playerid) == 1) {
    SetPlayerInterior(playerid, 0);
    if(GetPlayerState(playerid) == PLAYER_STATE_DRIVER) {
    SetVehiclePos(GetPlayerVehicleID(playerid),X,Y,Z); // X,Y,Z Helyére a koordinátát!
SendClientMessage(playerid, COLOR_GREEN, \"[sERVER] Elteleportáltál Vecsésre xD\"); // COLO_GREEN helyére ird azt a színt amit akarsz.
    SetVehicleZAngle(GetPlayerVehicleID(playerid), 50.8647);
    LinkVehicleToInterior(GetPlayerVehicleID(playerid), 0);
    } else {
    RemovePlayerFromVehicle(playerid);
    SetPlayerPos(playerid,X,Y,Z); // X,Y,Z Helyére a koordinátát!
    SendClientMessage(playerid, COLOR_GREEN, \"[sERVER] Elteleportáltál Vecsésre xD\");  // COLO_GREEN helyére ird azt
SetPlayerFacingAngle(playerid, 50.8647);
    SetCameraBehindPlayer(playerid);
    }
    } else {
    SetPlayerPos(playerid,X,Y,Z); // X,Y,Z Helyére a koordinátát!
    SendClientMessage(playerid, COLOR_GREEN, \"[sERVER] Elteleportáltál Vecsésre xD\");  // COLO_GREEN helyére ird azt
    SetPlayerFacingAngle(playerid, 50.8647);
    SetCameraBehindPlayer(playerid);
    SetPlayerInterior(playerid, 0);
    }
    return 1;
    }

 
AddPlayerClass(0,331.8158,-1798.9175,4.6930,41.8919,0,0,0,0,0,0); // ez a három koordináta megy az X,Y,Z helyére.
Azért raktam ezt fel mert amit Zalakaka45 felrakott az nem jó. Egy 13 warningos amit õ mondott  :facepalm:
Kettõ az ha kocsiba vagy akkor kocsi nélkül teleportál.
A Scriptet a mod aljára rakd.
Itt Van pár darab ha kell.



////////////////////////////////Teleportok//////////////////////////////////////
CMD:lv(playerid, params[]) {
    if(IsPlayerInAnyVehicle(playerid) == 1) {
    SetPlayerInterior(playerid, 0);
    if(GetPlayerState(playerid) == PLAYER_STATE_DRIVER) {
    SetVehiclePos(GetPlayerVehicleID(playerid),2326.9124,1395.6553,42.8203);
SendClientMessage(playerid, COLOR_GREEN, \"[sERVER] Elteleportáltál Las Venturas-ba\");
    SetVehicleZAngle(GetPlayerVehicleID(playerid), 50.8647);
    LinkVehicleToInterior(GetPlayerVehicleID(playerid), 0);
    } else {
    RemovePlayerFromVehicle(playerid);
    SetPlayerPos(playerid,2326.9124,1395.6553,42.8203);
    SendClientMessage(playerid, COLOR_GREEN, \"[sERVER] Elteleportáltál Las Venturas-ba\");
SetPlayerFacingAngle(playerid, 50.8647);
    SetCameraBehindPlayer(playerid);
    }
    } else {
    SetPlayerPos(playerid,2326.9124,1395.6553,42.8203);
    SendClientMessage(playerid, COLOR_GREEN, \"[sERVER] Elteleportáltál Las Venturas-ba\");
    SetPlayerFacingAngle(playerid, 50.8647);
    SetCameraBehindPlayer(playerid);
    SetPlayerInterior(playerid, 0);
    }
    return 1;
    }
CMD:ls(playerid, params[]) {
    if(IsPlayerInAnyVehicle(playerid) == 1) {
    SetPlayerInterior(playerid, 0);
    if(GetPlayerState(playerid) == PLAYER_STATE_DRIVER) {
    SetVehiclePos(GetPlayerVehicleID(playerid),2304.1643,-1642.7743,14.5374);
    SendClientMessage(playerid, COLOR_GREEN, \"[sERVER] Elteleportáltál Los Santos-ba\");
SetVehicleZAngle(GetPlayerVehicleID(playerid), 50.8647);
    LinkVehicleToInterior(GetPlayerVehicleID(playerid), 0);
    } else {
    RemovePlayerFromVehicle(playerid);
    SetPlayerPos(playerid,2304.1643,-1642.7743,14.5374);
    SendClientMessage(playerid, COLOR_GREEN, \"[sERVER] Elteleportáltál Los Santos-ba\");
SetPlayerFacingAngle(playerid, 50.8647);
    SetCameraBehindPlayer(playerid);
    }
    } else {
    SetPlayerPos(playerid,2304.1643,-1642.7743,14.5374);
SendClientMessage(playerid, COLOR_GREEN, \"[sERVER] Elteleportáltál Los Santos-ba\");
SetPlayerFacingAngle(playerid, 50.8647);
    SetCameraBehindPlayer(playerid);
    SetPlayerInterior(playerid, 0);
    }
    return 1;
    }
CMD:sf(playerid, params[]) {
    if(IsPlayerInAnyVehicle(playerid) == 1) {
    SetPlayerInterior(playerid, 0);
    if(GetPlayerState(playerid) == PLAYER_STATE_DRIVER) {
    SetVehiclePos(GetPlayerVehicleID(playerid),-1988.2336,178.8083,27.5391);
    SendClientMessage(playerid, COLOR_GREEN, \"[sERVER] Elteleportáltál San Fiero-ba\");
SetVehicleZAngle(GetPlayerVehicleID(playerid), 50.8647);
    LinkVehicleToInterior(GetPlayerVehicleID(playerid), 0);
    } else {
    RemovePlayerFromVehicle(playerid);
    SetPlayerPos(playerid,-1988.2336,178.8083,27.5391);
SendClientMessage(playerid, COLOR_GREEN, \"[sERVER] Elteleportáltál San Fiero-ba\");
SetPlayerFacingAngle(playerid, 50.8647);
    SetCameraBehindPlayer(playerid);
    }
    } else {
    SetPlayerPos(playerid,-1988.2336,178.8083,27.5391);
SendClientMessage(playerid, COLOR_GREEN, \"[sERVER] Elteleportáltál San Fiero-ba\");
    SetPlayerFacingAngle(playerid, 50.8647);
    SetCameraBehindPlayer(playerid);
    SetPlayerInterior(playerid, 0);
    }
    return 1;
    }
CMD:lvair(playerid, params[]) {
    if(IsPlayerInAnyVehicle(playerid) == 1) {
    SetPlayerInterior(playerid, 0);
    if(GetPlayerState(playerid) == PLAYER_STATE_DRIVER) {
    SetVehiclePos(GetPlayerVehicleID(playerid),1315.9454,1303.0953,10.8203);
    SendClientMessage(playerid, COLOR_GREEN, \"[sERVER] Elteleportáltál a Las Venturas-i reptérre\");
SetVehicleZAngle(GetPlayerVehicleID(playerid), 50.8647);
    LinkVehicleToInterior(GetPlayerVehicleID(playerid), 0);
    } else {
    RemovePlayerFromVehicle(playerid);
    SetPlayerPos(playerid,1315.9454,1303.0953,10.8203);
    SendClientMessage(playerid, COLOR_GREEN, \"[sERVER] Elteleportáltál a Las Venturas-i reptérre\");
SetPlayerFacingAngle(playerid, 50.8647);
    SetCameraBehindPlayer(playerid);
    }
    } else {
    SetPlayerPos(playerid,1315.9454,1303.0953,10.8203);
SendClientMessage(playerid, COLOR_GREEN, \"[sERVER] Elteleportáltál a Las Venturas-i reptérre\");
SetPlayerFacingAngle(playerid, 50.8647);
    SetCameraBehindPlayer(playerid);
    SetPlayerInterior(playerid, 0);
    }
    return 1;
    }
CMD:lsair(playerid, params[]) {
    if(IsPlayerInAnyVehicle(playerid) == 1) {
    SetPlayerInterior(playerid, 0);
    if(GetPlayerState(playerid) == PLAYER_STATE_DRIVER) {
    SetVehiclePos(GetPlayerVehicleID(playerid),1914.9293,-2251.8259,13.5469);
    SendClientMessage(playerid, COLOR_GREEN, \"[sERVER] Elteleportáltál a Los Santos-i reptérre\");
SetVehicleZAngle(GetPlayerVehicleID(playerid), 50.8647);
    LinkVehicleToInterior(GetPlayerVehicleID(playerid), 0);
    } else {
    RemovePlayerFromVehicle(playerid);
    SetPlayerPos(playerid,1914.9293,-2251.8259,13.5469);
    SendClientMessage(playerid, COLOR_GREEN, \"[sERVER] Elteleportáltál a Los Santos-i reptérre\");
SetPlayerFacingAngle(playerid, 50.8647);
    SetCameraBehindPlayer(playerid);
    }
    } else {
    SetPlayerPos(playerid,1914.9293,-2251.8259,13.5469);
    SendClientMessage(playerid, COLOR_GREEN, \"[sERVER] Elteleportáltál a Los Santos-i reptérre\");
SetPlayerFacingAngle(playerid, 50.8647);
    SetCameraBehindPlayer(playerid);
    SetPlayerInterior(playerid, 0);
    }
    return 1;
    }
CMD:sfair(playerid, params[]) {
    if(IsPlayerInAnyVehicle(playerid) == 1) {
    SetPlayerInterior(playerid, 0);
    if(GetPlayerState(playerid) == PLAYER_STATE_DRIVER) {
    SetVehiclePos(GetPlayerVehicleID(playerid),-1553.7771,-240.2939,14.1484);
    SendClientMessage(playerid, COLOR_GREEN, \"[sERVER] Elteleportáltál a San Fiero-i reptérre\");
SetVehicleZAngle(GetPlayerVehicleID(playerid), 50.8647);
    LinkVehicleToInterior(GetPlayerVehicleID(playerid), 0);
    } else {
    RemovePlayerFromVehicle(playerid);
    SetPlayerPos(playerid,-1553.7771,-240.2939,14.1484);
    SendClientMessage(playerid, COLOR_GREEN, \"[sERVER] Elteleportáltál a San Fiero-i reptérre\");
SetPlayerFacingAngle(playerid, 50.8647);
    SetCameraBehindPlayer(playerid);
    }
    } else {
    SetPlayerPos(playerid,-1553.7771,-240.2939,14.1484);
    SendClientMessage(playerid, COLOR_GREEN, \"[sERVER] Elteleportáltál a San Fiero-i reptérre\");
SetPlayerFacingAngle(playerid, 50.8647);
    SetCameraBehindPlayer(playerid);
    SetPlayerInterior(playerid, 0);
    }
    return 1;
    }
CMD:pa(playerid, params[]) {
    if(IsPlayerInAnyVehicle(playerid) == 1) {
    SetPlayerInterior(playerid, 0);
    if(GetPlayerState(playerid) == PLAYER_STATE_DRIVER) {
    SetVehiclePos(GetPlayerVehicleID(playerid),2408.2493,90.8666,26.4740);
    SendClientMessage(playerid, COLOR_GREEN, \"[sERVER] Elteleportáltál Palomino-ba\");
SetVehicleZAngle(GetPlayerVehicleID(playerid), 50.8647);
    LinkVehicleToInterior(GetPlayerVehicleID(playerid), 0);
    } else {
    RemovePlayerFromVehicle(playerid);
    SetPlayerPos(playerid,2408.2493,90.8666,26.4740);
    SendClientMessage(playerid, COLOR_GREEN, \"[sERVER] Elteleportáltál Palomino-ba\");
SetPlayerFacingAngle(playerid, 50.8647);
    SetCameraBehindPlayer(playerid);
    }
    } else {
    SetPlayerPos(playerid,2408.2493,90.8666,26.4740);
    SendClientMessage(playerid, COLOR_GREEN, \"[sERVER] Elteleportáltál Palomino-ba\");
    SetPlayerFacingAngle(playerid, 50.8647);
    SetCameraBehindPlayer(playerid);
    SetPlayerInterior(playerid, 0);
    }
    return 1;
    }
CMD:fc(playerid, params[]) {
    if(IsPlayerInAnyVehicle(playerid) == 1) {
    SetPlayerInterior(playerid, 0);
    if(GetPlayerState(playerid) == PLAYER_STATE_DRIVER) {
    SetVehiclePos(GetPlayerVehicleID(playerid),-197.1303,1212.2777,19.7422);
SendClientMessage(playerid, COLOR_GREEN, \"[sERVER] Elteleportáltál Fort Carson-ba\");
SetVehicleZAngle(GetPlayerVehicleID(playerid), 50.8647);
    LinkVehicleToInterior(GetPlayerVehicleID(playerid), 0);
    } else {
    RemovePlayerFromVehicle(playerid);
    SetPlayerPos(playerid,-197.1303,1212.2777,19.7422);
SendClientMessage(playerid, COLOR_GREEN, \"[sERVER] Elteleportáltál Fort Carson-ba\");
    SetPlayerFacingAngle(playerid, 50.8647);
    SetCameraBehindPlayer(playerid);
    }
    } else {
    SetPlayerPos(playerid,-197.1303,1212.2777,19.7422);
    SendClientMessage(playerid, COLOR_GREEN, \"[sERVER] Elteleportáltál Fort Carson-ba\");
    SetPlayerFacingAngle(playerid, 50.8647);
    SetCameraBehindPlayer(playerid);
    SetPlayerInterior(playerid, 0);
    }
    return 1;
    }
CMD:bb(playerid, params[]) {
    if(IsPlayerInAnyVehicle(playerid) == 1) {
    SetPlayerInterior(playerid, 0);
    if(GetPlayerState(playerid) == PLAYER_STATE_DRIVER) {
    SetVehiclePos(GetPlayerVehicleID(playerid),214.1872,-146.6117,1.5859);
SendClientMessage(playerid, COLOR_GREEN, \"[sERVER] Elteleportáltál Blueberry-be\");
SetVehicleZAngle(GetPlayerVehicleID(playerid), 50.8647);
    LinkVehicleToInterior(GetPlayerVehicleID(playerid), 0);
    } else {
    RemovePlayerFromVehicle(playerid);
SendClientMessage(playerid, COLOR_GREEN, \"[sERVER] Elteleportáltál Blueberry-be\");
SetPlayerPos(playerid,214.1872,-146.6117,1.5859);
    SetPlayerFacingAngle(playerid, 50.8647);
    SetCameraBehindPlayer(playerid);
    }
    } else {
    SetPlayerPos(playerid,214.1872,-146.6117,1.5859);
SendClientMessage(playerid, COLOR_GREEN, \"[sERVER] Elteleportáltál Blueberry-be\");
    SetPlayerFacingAngle(playerid, 50.8647);
    SetCameraBehindPlayer(playerid);
    SetPlayerInterior(playerid, 0);
    }
    return 1;
    }
CMD:kezdohely(playerid, params[]) {
    if(IsPlayerInAnyVehicle(playerid) == 1) {
    SetPlayerInterior(playerid, 0);
    if(GetPlayerState(playerid) == PLAYER_STATE_DRIVER) {
    SetVehiclePos(GetPlayerVehicleID(playerid),-342.9536,1514.7717,75.3594);
SendClientMessage(playerid, COLOR_GREEN, \"[sERVER] Elteleportáltál a Kezdõhely-re\");
SetVehicleZAngle(GetPlayerVehicleID(playerid), 50.8647);
    LinkVehicleToInterior(GetPlayerVehicleID(playerid), 0);
    } else {
    RemovePlayerFromVehicle(playerid);
    SetPlayerPos(playerid,-342.9536,1514.7717,75.3594);
SendClientMessage(playerid, COLOR_GREEN, \"[sERVER] Elteleportáltál a Kezdõhely-re\");
    SetPlayerFacingAngle(playerid, 50.8647);
    SetCameraBehindPlayer(playerid);
    }
    } else {
    SetPlayerPos(playerid,-342.9536,1514.7717,75.3594);
SendClientMessage(playerid, COLOR_GREEN, \"[sERVER] Elteleportáltál a Kezdõhely-re\");
    SetPlayerFacingAngle(playerid, 50.8647);
    SetCameraBehindPlayer(playerid);
    SetPlayerInterior(playerid, 0);
    }
    return 1;
}
CMD:dokk(playerid, params[]) {
    if(IsPlayerInAnyVehicle(playerid) == 1) {
    SetPlayerInterior(playerid, 0);
    if(GetPlayerState(playerid) == PLAYER_STATE_DRIVER) {
    SetVehiclePos(GetPlayerVehicleID(playerid),2608.9287,-2186.2026,13.2740);
SendClientMessage(playerid, COLOR_GREEN, \"[sERVER] Elteleportáltál a Dokkok-hoz\");
SetVehicleZAngle(GetPlayerVehicleID(playerid), 50.8647);
    LinkVehicleToInterior(GetPlayerVehicleID(playerid), 0);
    } else {
    RemovePlayerFromVehicle(playerid);
    SetPlayerPos(playerid,2592.6631,-2208.0359,17.3572);
SendClientMessage(playerid, COLOR_GREEN, \"[sERVER] Elteleportáltál a Dokkok-hoz\");
    SetPlayerFacingAngle(playerid, 50.8647);
    SetCameraBehindPlayer(playerid);
    }
    } else {
    SetPlayerPos(playerid,2592.6631,-2208.0359,17.3572);
SendClientMessage(playerid, COLOR_GREEN, \"[sERVER] Elteleportáltál a Dokkok-hoz\");
    SetPlayerFacingAngle(playerid, 50.8647);
    SetCameraBehindPlayer(playerid);
    SetPlayerInterior(playerid, 0);
    }
    return 1;
}

teleport2
« Válasz #3 Dátum: 2013. április 02. - 10:04:25 »
0 Show voters
Jaaaaaj várjáááá ténleg nagyon elnéztem valamit... Kijavitom egy perc

Dupla hozzászólás automatikusan összefûzve. ( 2013. április 02. - 10:11:06 )

Javítva!
« Utoljára szerkesztve: 2013. április 02. - 10:11:06 írta Zalakaka45 »

teleport2
« Válasz #4 Dátum: 2013. április 02. - 10:54:27 »
0 Show voters
Köszönöm szépen tõletek :D :thumbsup:

 

SimplePortal 2.3.7 © 2008-2024, SimplePortal