Szerző Téma: Teleport  (Megtekintve 2367 alkalommal)

Nem elérhető stamp

Teleport
« Dátum: 2013. április 01. - 17:54:06 »
0 Show voters

Hali
Tudom ,hogy sok teleport szkript van de én készítettem egy egyedit!
Teleportok: /lv /ls /sf /sfair /lsair /pa /bb /lvair /fc /spawn   [10db]
 
//////////////////////////////
/////////By stampiii///////////
/////////////////////////////
#include <a_samp>
#include <zcmd>
#define FILTERSCRIPT
#define COLOR_LIGHTBLUED 0x33CCFFAA
#define COLOR_LIGHTGREEN 0x9ACD32AA
#define COLOR_GREEN 0x33AA33AA
////////////////////////////////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, \"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, \"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, \"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, \"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, \"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, \"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, \"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, \"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, \"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, \"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, \"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, \"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, \"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, \"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, \"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, \"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, \"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, \"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, \"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, \"Elteleportáltál Palomino-ba\");
SetPlayerFacingAngle(playerid, 50.8647);
    SetCameraBehindPlayer(playerid);
    }
    } else {
    SetPlayerPos(playerid,2408.2493,90.8666,26.4740);
    SendClientMessage(playerid, COLOR_GREEN, \"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, \"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, \"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, \"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, \"Elteleportáltál Blueberry-be\");
SetVehicleZAngle(GetPlayerVehicleID(playerid), 50.8647);
    LinkVehicleToInterior(GetPlayerVehicleID(playerid), 0);
    } else {
    RemovePlayerFromVehicle(playerid);
SendClientMessage(playerid, COLOR_GREEN, \"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, \"Elteleportáltál Blueberry-be\");
    SetPlayerFacingAngle(playerid, 50.8647);
    SetCameraBehindPlayer(playerid);
    SetPlayerInterior(playerid, 0);
    }
    return 1;
    }
CMD:spawn(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, \"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, \"Elteleportáltál a Kezdõhely-re\");
    SetPlayerFacingAngle(playerid, 50.8647);
    SetCameraBehindPlayer(playerid);
    SetPlayerInterior(playerid, 0);
    }
    return 1;
}

 

http://www.solidfiles.com/d/79394628b4/

Nem elérhető DrAkE

  • 2078
    • Profil megtekintése
Teleport
« Válasz #1 Dátum: 2013. április 01. - 19:07:37 »
0 Show voters
Biztos, hogy te készítetted?

Nem elérhető stamp

Teleport
« Válasz #2 Dátum: 2013. április 01. - 19:26:33 »
0 Show voters
Igen!

Nem elérhető DrAkE

  • 2078
    • Profil megtekintése
Teleport
« Válasz #3 Dátum: 2013. április 01. - 23:19:21 »
+1 Show voters
És mi lenne, ha tegyük fel én megtaláltam a forrást, ahonnan másoltad, és kitiltanának script lopásért a fórumról. Még most is vállalod, hogy te írtad?

Nem elérhető EnterR

  • Globális moderátor
  • 4223
  • dawg
    • Profil megtekintése
Teleport
« Válasz #4 Dátum: 2013. április 01. - 23:23:04 »
0 Show voters
Skype beszélgetésünk alatt pedig kiderült, hogy a scriptelés egy kicsit ködös az elmédben ;)

Teleport
« Válasz #5 Dátum: 2013. április 02. - 01:12:00 »
0 Show voters
Jó lett de 10db teleport azzal semmit se lehet kezdeni  ???

Nem elérhető DrAkE

  • 2078
    • Profil megtekintése
Teleport
« Válasz #6 Dátum: 2013. április 02. - 23:30:26 »
+1 Show voters
Miért hasonlítanak a teleportok kódjai, az alábbi módban található kóddal?
http://sampforum.hu/index.php?topic=38828.0

Nem elérhető ZyZu.

  • Globális moderátor
  • 8939
  • my turbo diesel forum
  • Discord: ZyZu.
    • Profil megtekintése
Teleport
« Válasz #7 Dátum: 2013. április 03. - 11:04:06 »
0 Show voters
Idézetet írta: DrAkE date=1364938226\" data-ipsquote-contentapp=\"forums\" data-ipsquote-contenttype=\"forums\" data-ipsquote-contentid=\"35602\" data-ipsquote-contentclass=\"forums_Topic
Miért hasonlítanak a teleportok kódjai, az alábbi módban található kóddal?
http://sampforum.hu/index.php?topic=38828.0
 
100% lopta még a kordináták is egyeznek az adott teleporthoz..
 

Igen!
 
[/quote]
epic fail..
 
\"Banned.gif\"

 

SimplePortal 2.3.7 © 2008-2024, SimplePortal