07.03.2010, 22:42
Quote:
Originally Posted by lordkiller25
Bueno amigos de samp esto va para los nuevos. son unos teleports para que le agreguen a su server
Код:
if(!strcmp(cmdtext, "/sf", true)) { new var0 = GetPlayerVehicleID(playerid); new var1 = GetPlayerState(playerid); if(IsPlayerInAnyVehicle(playerid) && var1 == 2) { GameTextForPlayer(playerid, "San Fierro", 4000, 6); return SetVehiclePos(var0, -1981.5832, 288.114, 35.0581); } SetPlayerPos(playerid, -1981.5832, 288.114, 35.0581); GameTextForPlayer(playerid, "San Fierro", 4000, 6); return 1; } if(!strcmp(cmdtext, "/lv", true)) { new var0 = GetPlayerVehicleID(playerid); new var1 = GetPlayerState(playerid); if(IsPlayerInAnyVehicle(playerid) && var1 == 2) { GameTextForPlayer(playerid, "Las Venturas", 4000, 6); return SetVehiclePos(var0, 2097.5502, 1014.5463, 10.8203); } SetPlayerPos(playerid, 2097.5502, 1014.5463, 10.8203); GameTextForPlayer(playerid, "Las Venturas", 4000, 6); return 1; } if(!strcmp(cmdtext, "/ls", true)) { new var0 = GetPlayerVehicleID(playerid); new var1 = GetPlayerState(playerid); if(IsPlayerInAnyVehicle(playerid) && var1 == 2) { GameTextForPlayer(playerid, "Los Santos", 4000, 6); return SetVehiclePos(var0, 1849.1492, -1370.1807, 13.3984); } SetPlayerPos(playerid, 1849.1492, -1370.1807, 13.3984); GameTextForPlayer(playerid, "Los Santos", 4000, 6); return 1; } if(!strcmp(cmdtext, "/aerosf", true)) { new var0 = GetPlayerVehicleID(playerid); new var1 = GetPlayerState(playerid); if(IsPlayerInAnyVehicle(playerid) && var1 == 2) { GameTextForPlayer(playerid, "Aeropuerto de san fierro", 4000, 6); return SetVehiclePos(var0, -1270.2024, -426.6784, 14.1484); } SetPlayerPos(playerid, -1270.2024, -426.6784, 14.1484); GameTextForPlayer(playerid, "Aeropuerto de san fierro", 4000, 6); return 1; } if(!strcmp(cmdtext, "/aerols", true)) { new var0 = GetPlayerVehicleID(playerid); new var1 = GetPlayerState(playerid); if(IsPlayerInAnyVehicle(playerid) && var1 == 2) { GameTextForPlayer(playerid, "Aeropuerto de Los Santos", 4000, 6); return SetVehiclePos(var0, 1958.7918, -2296.3035, 13.5468); } SetPlayerPos(playerid, 1958.7918, -2296.3035, 13.5468); GameTextForPlayer(playerid, "Aeropuerto de Los Santos", 4000, 6); return 1; } if(!strcmp(cmdtext, "/aerolv", true)) { new var0 = GetPlayerVehicleID(playerid); new var1 = GetPlayerState(playerid); if(IsPlayerInAnyVehicle(playerid) && var1 == 2) { GameTextForPlayer(playerid, "Aeropuerto de Las Venturas", 4000, 6); return SetVehiclePos(var0, 1638.4111, 1591.9707, 10.8203); } SetPlayerPos(playerid, 1638.4111, 1591.9707, 10.8203); GameTextForPlayer(playerid, "Aeropuerto de Las Venturas", 4000, 6); return 1; } if(!strcmp(cmdtext, "/aeroa", true)) { new var0 = GetPlayerVehicleID(playerid); new var1 = GetPlayerState(playerid); if(IsPlayerInAnyVehicle(playerid) && var1 == 2) { GameTextForPlayer(playerid, "Aeropuerto Abandonado", 4000, 6); return SetVehiclePos(var0, 332.8779, 2514.2546, 16.5935); } SetPlayerPos(playerid, 332.8779, 2514.2546, 16.5935); GameTextForPlayer(playerid, "Aeropuerto Abandonado", 4000, 6); return 1; } if(!strcmp(cmdtext, "/area51", true)) { new var0 = GetPlayerVehicleID(playerid); new var1 = GetPlayerState(playerid); if(IsPlayerInAnyVehicle(playerid) && var1 == 2) { GameTextForPlayer(playerid, "Area 51", 4000, 6); return SetVehiclePos(var0, 81.3654, 1919.9946, 17.6569); } SetPlayerPos(playerid, 81.3654, 1919.9946, 17.6569); GameTextForPlayer(playerid, "Area 51", 4000, 6); return 1; } if(!strcmp(cmdtext, "/pique", true)) { new var0 = GetPlayerVehicleID(playerid); new var1 = GetPlayerState(playerid); if(IsPlayerInAnyVehicle(playerid) && var1 == 2) { GameTextForPlayer(playerid, "Pique", 4000, 6); return SetVehiclePos(var0, -1110.4875, 414.5321, 14.5468); } SetPlayerPos(playerid, -1110.4875, 414.5321, 14.5468); GameTextForPlayer(playerid, "Pique", 4000, 6); return 1; } if(!strcmp(cmdtext, "/cj", true)) { new var0 = GetPlayerVehicleID(playerid); new var1 = GetPlayerState(playerid); if(IsPlayerInAnyVehicle(playerid) && var1 == 2) { GameTextForPlayer(playerid, "Crazy jump", 4000, 6); return SetVehiclePos(var0, 1545.5708, -1353.9507, 329.4732); } SetPlayerPos(playerid, 1545.5708, -1353.9507, 329.4732); GameTextForPlayer(playerid, "Crazy jump", 4000, 6); return 1; } if(!strcmp(cmdtext, "/cj2", true)) { new var0 = GetPlayerVehicleID(playerid); new var1 = GetPlayerState(playerid); if(IsPlayerInAnyVehicle(playerid) && var1 == 2) { GameTextForPlayer(playerid, "Crazy jump 2", 4000, 6); return SetVehiclePos(var0, -1825.4743, 558.1403, 234.8905); } SetPlayerPos(playerid, -1825.4743, 558.1403, 234.8905); GameTextForPlayer(playerid, "Crazy jump 2", 4000, 6); return 1; } if(!strcmp(cmdtext, "/ammu", true)) { new var0 = GetPlayerVehicleID(playerid); new var1 = GetPlayerState(playerid); if(IsPlayerInAnyVehicle(playerid) && var1 == 2) { GameTextForPlayer(playerid, "ammu-nation", 4000, 6); return SetVehiclePos(var0, -2624.941, 212.9808, 4.6442); } SetPlayerPos(playerid, -2624.941, 212.9808, 4.6442); GameTextForPlayer(playerid, "ammu-nation", 4000, 6); return 1; } if(!strcmp(cmdtext, "/maddog", true)) { new var0 = GetPlayerVehicleID(playerid); new var1 = GetPlayerState(playerid); if(IsPlayerInAnyVehicle(playerid) && var1 == 2) { GameTextForPlayer(playerid, "madd dog", 4000, 6); return SetVehiclePos(var0, 1256.1091, -785.1792, 92.0301); } SetPlayerPos(playerid, 1256.1091, -785.1792, 92.0301); GameTextForPlayer(playerid, "madd dog", 4000, 6); return 1; } if(strcmp(cmdtext, "/bmxpark", true) == 0) { new pname[MAX_PLAYER_NAME]; GetPlayerName(playerid, pname, MAX_PLAYER_NAME); format(string, sizeof(string), "%s se fue a( /bmxpark )", pname); SendClientMessageToAll(COLOR_YELLOW, string); ResetPlayerWeapons(playerid); SetPlayerInterior(playerid,0); SetPlayerPos(playerid,1946.201,-1381.074,18.239); return 1; } if(strcmp(cmd, "/drift", true) == 0) { SetPlayerPos(playerid, 2322.4622,1420.1311,42.8203); SendClientMessage(playerid, COLOR_GREEN, "Has sido transportado a Drift" ); return 1; } if(strcmp(cmd, "/drift2", true) == 0) { SetPlayerPos(playerid, -325.5508,1513.9611,75.3594); SendClientMessage(playerid, COLOR_GREEN, "Has sido transportado a Drift2" ); return 1; } if(strcmp(cmd, "/drift3", true) == 0) { SetPlayerPos(playerid, -2402.7644,-600.4605,132.6484); SendClientMessage(playerid, COLOR_GREEN, "Has sido transportado a Drift3" ); return 1; } if(strcmp(cmd, "/monte", true) == 0) { SetPlayerPos(playerid, -2343.4165,-1620.8043,483.6753); SendClientMessage(playerid, COLOR_GREEN, "Has sido transportado a Monte" ); return 1; } if(strcmp(cmd, "/drag", true) == 0) { SetPlayerPos(playerid, -2682.1267,1286.7101,55.6406); SendClientMessage(playerid, COLOR_GREEN, "Has sido transportado a drag" ); return 1; } if(strcmp(cmd, "/hydradm", true) == 0) { SetPlayerPos(playerid, 319.1512,1875.0123,17.6406); SendClientMessage(playerid, COLOR_GREEN, "Has sido transportado a Hydradm" ); return 1; } if(strcmp(cmd, "/drift4", true) == 0) { SetPlayerPos(playerid, -859.0099,-118.5306,60.7863); SendClientMessage(playerid, COLOR_GREEN, "Has sido transportado a Drift4" ); return 1; } if(strcmp(cmd, "/driftarena", true) == 0) { SetPlayerPos(playerid, -2906.3794,-357.5430,3.1040); SendClientMessage(playerid, COLOR_GREEN, "Has sido transportado a Driftarena" ); return 1; } Por ahi hay un teleport que se llama hydradm cuando se teletranspoerten ahi no veran ningun hydra por eso para que aparesca algun hydra van a el gm agregan esto para que le aparescan hydra lo ponen serca de AddStaticVehicle. //hydradm AddStaticVehicle(520,310.0544,1870.9612,18.9794,272.1960,81,97); // AddStaticVehicle(520,315.1451,1885.7096,18.8887,276.1670,90,66); // AddStaticVehicle(520,309.2207,1898.0754,18.3325,273.9451,101,21); // Me despido LordKiller25 |