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/