Last active
August 3, 2019 12:50
-
-
Save TommyB123/5faec1cfc09a6cf9205d429996223a38 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
CMD:teleport(playerid, params[]) | |
{ | |
if(!IsPlayerAdminLevelOK(playerid,3)) return SysMsg(playerid,"You are not authorized to use that command."); | |
new playa = -1, location[20]; | |
if(sscanf(params, "us[20]", playa, location)) | |
{ | |
SysMsg(playerid,"Usage: /teleport [player id or name] [location]"); | |
SysMsg(playerid,"Locations: 1-mont, 2-dil, 3-bb, 4-pc, 5-lstower, 6-sftower, 7-a51, 8-bone, 9-htf, 10-weed"); | |
SysMsg(playerid,"11-taxi, 12-ems, 13-angel, 14-micks, 15-gant, 16-ajail, 17-fc, 18-lasb, 19-elq, 20-bayside"); | |
SysMsg(playerid,"21-blood, 22-lasp, 23-axiom, 24-sadvla, 25-1626, 26-et, 27-spain, 28-exec, 29-satellite"); | |
SysMsg(playerid,"30-prison, 31-chc, 32-LS, 33-SF, 34-LV"); | |
return 1; | |
} | |
if(playa == INVALID_PLAYER_ID) return SysMsg(playerid,"Invalid Player."); | |
if(IsPlayerNPC(playa)) return SysMsg(playerid,"That player is a NPC."); | |
if(IsJailed[playa] == 1) return SysMsg(playerid,"That player is in jail."); | |
if(IsCuffed[playa] == 1) return SysMsg(playerid,"That player is in cuffs."); | |
new locationid = strval(location); | |
new vehicleid = GetPlayerVehicleID(playa); | |
new string[128]; | |
if(vehicleid == 0) | |
{ | |
if(locationid == 1 || strcmp("mont",location,true) == 0 || strcmp("montgomery",location,true) == 0) //MONTGOMERY | |
{ | |
SetPlayerPos(playa,1286.065795,259.397888,19.546892); | |
SetPlayerFacingAngle(playa,247.222427); | |
SetPlayerInterior(playa,0); | |
SetPlayerVirtualWorldEx(playa,0); | |
if(IsInHouseID[playa] > 0) IsInHouseID[playa] = -1; | |
if(IsInBizzID[playa] > 0) IsInBizzID[playa] = -1; | |
format(string,sizeof(string),"Admin %s has teleported you to Montgomery.",NameEx(playerid)); | |
SendClientMessage(playa,COLOUR_LIGHTBLUE,string); | |
format(string,sizeof(string),"[Admin] %s has teleported %s to Montgomery.",NameEx(playerid),NameEx(playa)); | |
AdminBroadcast(string, 1); | |
AdminLog(playerid, SQLID[playa], GetName(playa), "Teleported to Montgomery"); | |
} | |
else if(locationid == 2 || strcmp("dil",location,true) == 0 || strcmp("dillimore",location,true) == 0) //DILLIMORE | |
{ | |
SetPlayerPos(playa,674.401611,-492.673828,16.335937); | |
SetPlayerFacingAngle(playa,181.445251); | |
SetPlayerInterior(playa,0); | |
SetPlayerVirtualWorldEx(playa,0); | |
if(IsInHouseID[playa] > 0) IsInHouseID[playa] = -1; | |
if(IsInBizzID[playa] > 0) IsInBizzID[playa] = -1; | |
format(string,sizeof(string),"Admin %s has teleported you to Dillimore.",NameEx(playerid)); | |
SendClientMessage(playa,COLOUR_LIGHTBLUE,string); | |
format(string,sizeof(string),"[Admin] %s has teleported %s to Dillimore.",NameEx(playerid),NameEx(playa)); | |
AdminBroadcast(string, 1); | |
AdminLog(playerid, SQLID[playa], GetName(playa), "Teleported to Dillimore"); | |
} | |
else if(locationid == 3 || strcmp("bb",location,true) == 0 || strcmp("blueberry",location,true) == 0) //BLUEBERRY | |
{ | |
SetPlayerPos(playa,222.127410,-141.133483,1.578125); | |
SetPlayerFacingAngle(playa,270.986877); | |
SetPlayerInterior(playa,0); | |
SetPlayerVirtualWorldEx(playa,0); | |
if(IsInHouseID[playa] > 0) IsInHouseID[playa] = -1; | |
if(IsInBizzID[playa] > 0) IsInBizzID[playa] = -1; | |
format(string,sizeof(string),"Admin %s has teleported you to Blueberry.",NameEx(playerid)); | |
SendClientMessage(playa,COLOUR_LIGHTBLUE,string); | |
format(string,sizeof(string),"[Admin] %s has teleported %s to Blueberry.",NameEx(playerid),NameEx(playa)); | |
AdminBroadcast(string, 1); | |
AdminLog(playerid, SQLID[playa], GetName(playa), "Teleported to blueberry"); | |
} | |
else if(locationid == 4 || strcmp("pc",location,true) == 0 || strcmp("palminocreek",location,true) == 0) //PALOMINO CREEK | |
{ | |
SetPlayerPos(playa,2286.880371,-16.831209,26.484375); | |
SetPlayerFacingAngle(playa,270.095947); | |
SetPlayerInterior(playa,0); | |
SetPlayerVirtualWorldEx(playa,0); | |
if(IsInHouseID[playa] > 0) IsInHouseID[playa] = -1; | |
if(IsInBizzID[playa] > 0) IsInBizzID[playa] = -1; | |
format(string,sizeof(string),"Admin %s has teleported you to Palomino Creek.",NameEx(playerid)); | |
SendClientMessage(playa,COLOUR_LIGHTBLUE,string); | |
format(string,sizeof(string),"[Admin] %s has teleported %s to Palomino Creek.",NameEx(playerid),NameEx(playa)); | |
AdminBroadcast(string, 1); | |
AdminLog(playerid, SQLID[playa], GetName(playa), "Teleported to Palomino"); | |
} | |
else if(locationid == 5 || strcmp("lstower",location,true) == 0) //LS TOWER | |
{ | |
SetPlayerPos(playa,1541.081054,-1364.230834,329.796875); | |
SetPlayerFacingAngle(playa,357.439239); | |
SetPlayerInterior(playa,0); | |
SetPlayerVirtualWorldEx(playa,0); | |
if(IsInHouseID[playa] > 0) IsInHouseID[playa] = -1; | |
if(IsInBizzID[playa] > 0) IsInBizzID[playa] = -1; | |
format(string,sizeof(string),"Admin %s has teleported you to the L.S. Tower.",NameEx(playerid)); | |
SendClientMessage(playa,COLOUR_LIGHTBLUE,string); | |
format(string,sizeof(string),"[Admin] %s has teleported %s to the L.S. Tower.",NameEx(playerid),NameEx(playa)); | |
AdminBroadcast(string, 1); | |
AdminLog(playerid, SQLID[playa], GetName(playa), "Teleported to LS tower"); | |
} | |
else if(locationid == 6 || strcmp("sftower",location,true) == 0) //SF TOWER | |
{ | |
SetPlayerPos(playa,-1753.774169,885.215759,295.875000); | |
SetPlayerFacingAngle(playa,357.91381); | |
SetPlayerInterior(playa,0); | |
SetPlayerVirtualWorldEx(playa,0); | |
if(IsInHouseID[playa] > 0) IsInHouseID[playa] = -1; | |
if(IsInBizzID[playa] > 0) IsInBizzID[playa] = -1; | |
format(string,sizeof(string),"Admin %s has teleported you to the S.F. Tower.",NameEx(playerid)); | |
SendClientMessage(playa,COLOUR_LIGHTBLUE,string); | |
format(string,sizeof(string),"[Admin] %s has teleported %s to the S.F. Tower.",NameEx(playerid),NameEx(playa)); | |
AdminBroadcast(string, 1); | |
AdminLog(playerid, SQLID[playa], GetName(playa), "Teleported to SF tower"); | |
} | |
else if(locationid == 7 || strcmp("a51",location,true) == 0 || strcmp("area51",location,true) == 0) //AREA 51 | |
{ | |
SetPlayerPos(playa,77.2566,1919.5846,17.6406); | |
SetPlayerFacingAngle(playa,0.0); | |
SetPlayerInterior(playa,0); | |
SetPlayerVirtualWorldEx(playa,0); | |
if(IsInHouseID[playa] > 0) IsInHouseID[playa] = -1; | |
if(IsInBizzID[playa] > 0) IsInBizzID[playa] = -1; | |
format(string,sizeof(string),"Admin %s has teleported you to Area 51.",NameEx(playerid)); | |
SendClientMessage(playa,COLOUR_LIGHTBLUE,string); | |
format(string,sizeof(string),"[Admin] %s has teleported %s to Area 51.",NameEx(playerid),NameEx(playa)); | |
AdminBroadcast(string, 1); | |
AdminLog(playerid, SQLID[playa], GetName(playa), "Teleported to Area 51"); | |
} | |
else if(locationid == 8 || strcmp("bone",location,true) == 0 || strcmp("boneyard",location,true) == 0) //BONE YARD | |
{ | |
SetPlayerPos(playa,408.786987,2536.820312,16.546947); | |
SetPlayerFacingAngle(playa,0.0); | |
SetPlayerInterior(playa,0); | |
SetPlayerVirtualWorldEx(playa,0); | |
if(IsInHouseID[playa] > 0) IsInHouseID[playa] = -1; | |
if(IsInBizzID[playa] > 0) IsInBizzID[playa] = -1; | |
format(string,sizeof(string),"Admin %s has teleported you to Verdant Meadows.",NameEx(playerid)); | |
SendClientMessage(playa,COLOUR_LIGHTBLUE,string); | |
format(string,sizeof(string),"[Admin] %s has teleported %s to Verdant Meadows.",NameEx(playerid),NameEx(playa)); | |
AdminBroadcast(string, 1); | |
AdminLog(playerid, SQLID[playa], GetName(playa), "Teleported to V.Meadows"); | |
} | |
else if(locationid == 9 || strcmp("htf",location,true) == 0 || strcmp("hilltopfarm",location,true) == 0) //HILLTOP FARM | |
{ | |
SetPlayerPos(playa,1034.0928,-336.2662,73.9922); | |
SetPlayerFacingAngle(playa,0.0); | |
SetPlayerInterior(playa,0); | |
SetPlayerVirtualWorldEx(playa,0); | |
if(IsInHouseID[playa] > 0) IsInHouseID[playa] = -1; | |
if(IsInBizzID[playa] > 0) IsInBizzID[playa] = -1; | |
format(string,sizeof(string),"Admin %s has teleported you to Hilltop Farm.",NameEx(playerid)); | |
SendClientMessage(playa,COLOUR_LIGHTBLUE,string); | |
format(string,sizeof(string),"[Admin] %s has teleported %s to Hilltop Farm.",NameEx(playerid),NameEx(playa)); | |
AdminBroadcast(string, 1); | |
AdminLog(playerid, SQLID[playa], GetName(playa), "Teleported to Hilltop farm"); | |
} | |
else if(locationid == 10 || strcmp("weed",location,true) == 0 || strcmp("weedfarm",location,true) == 0) //WEED FARM | |
{ | |
SetPlayerPos(playa,-1085.631835,-1634.588623,76.367187); | |
SetPlayerFacingAngle(playa,0.0); | |
SetPlayerInterior(playa,0); | |
SetPlayerVirtualWorldEx(playa,0); | |
if(IsInHouseID[playa] > 0) IsInHouseID[playa] = -1; | |
if(IsInBizzID[playa] > 0) IsInBizzID[playa] = -1; | |
format(string,sizeof(string),"Admin %s has teleported you to the Weed Farm.",NameEx(playerid)); | |
SendClientMessage(playa,COLOUR_LIGHTBLUE,string); | |
format(string,sizeof(string),"[Admin] %s has teleported %s to the Weed Farm.",NameEx(playerid),NameEx(playa)); | |
AdminBroadcast(string, 1); | |
AdminLog(playerid, SQLID[playa], GetName(playa), "Teleported to Weed farm"); | |
} | |
else if(locationid == 11 || strcmp("taxi",location,true) == 0) //TAXI | |
{ | |
SetPlayerPos(playa,1235.911987,187.018402,19.554687); | |
SetPlayerFacingAngle(playa,0.0); | |
SetPlayerInterior(playa,0); | |
SetPlayerVirtualWorldEx(playa,0); | |
if(IsInHouseID[playa] > 0) IsInHouseID[playa] = -1; | |
if(IsInBizzID[playa] > 0) IsInBizzID[playa] = -1; | |
format(string,sizeof(string),"Admin %s has teleported you to the Taxi HQ.",NameEx(playerid)); | |
SendClientMessage(playa,COLOUR_LIGHTBLUE,string); | |
format(string,sizeof(string),"[Admin] %s has teleported %s to the Taxi HQ.",NameEx(playerid),NameEx(playa)); | |
AdminBroadcast(string, 1); | |
AdminLog(playerid, SQLID[playa], GetName(playa), "Teleported to Taxi HQ"); | |
} | |
else if(locationid == 12 || strcmp("ems",location,true) == 0 || strcmp("hospital",location,true) == 0) //EMS | |
{ | |
SetPlayerPos(playa,1216.183715,305.905029,19.554687); | |
SetPlayerFacingAngle(playa,0.0); | |
SetPlayerInterior(playa,0); | |
SetPlayerVirtualWorldEx(playa,0); | |
if(IsInHouseID[playa] > 0) IsInHouseID[playa] = -1; | |
if(IsInBizzID[playa] > 0) IsInBizzID[playa] = -1; | |
format(string,sizeof(string),"Admin %s has teleported you to the Hospital.",NameEx(playerid)); | |
SendClientMessage(playa,COLOUR_LIGHTBLUE,string); | |
format(string,sizeof(string),"[Admin] %s has teleported %s to the Hospital.",NameEx(playerid),NameEx(playa)); | |
AdminBroadcast(string, 1); | |
AdminLog(playerid, SQLID[playa], GetName(playa), "Teleported to Mont EMS"); | |
} | |
else if(locationid == 13 || strcmp("angel",location,true) == 0) | |
{ | |
SetPlayerPos(playa,-2131.383789, -2412.833496, 30.625); | |
SetPlayerFacingAngle(playa,0.0); | |
SetPlayerInterior(playa,0); | |
SetPlayerVirtualWorldEx(playa,0); | |
if(IsInHouseID[playa] > 0) IsInHouseID[playa] = -1; | |
if(IsInBizzID[playa] > 0) IsInBizzID[playa] = -1; | |
format(string,sizeof(string),"Admin %s has teleported you to Angel Pine.",NameEx(playerid)); | |
SendClientMessage(playa,COLOUR_LIGHTBLUE,string); | |
format(string,sizeof(string),"[Admin] %s has teleported %s to Angel Pine.",NameEx(playerid),NameEx(playa)); | |
AdminBroadcast(string, 1); | |
AdminLog(playerid, SQLID[playa], GetName(playa), "Teleported to Angel Pine"); | |
} | |
else if(locationid == 14 || strcmp("micks",location,true) == 0 || strcmp("micksmotors",location,true) == 0) //MICKS MOTORS | |
{ | |
SetPlayerPos(playa,643.090332,-503.772155,16.335937); | |
SetPlayerFacingAngle(playa,0.0); | |
SetPlayerInterior(playa,0); | |
SetPlayerVirtualWorldEx(playa,0); | |
if(IsInHouseID[playa] > 0) IsInHouseID[playa] = -1; | |
if(IsInBizzID[playa] > 0) IsInBizzID[playa] = -1; | |
format(string,sizeof(string),"Admin %s has teleported you to Micks Motors.",NameEx(playerid)); | |
SendClientMessage(playa,COLOUR_LIGHTBLUE,string); | |
format(string,sizeof(string),"[Admin] %s has teleported %s to Micks Motors.",NameEx(playerid),NameEx(playa)); | |
AdminBroadcast(string, 1); | |
AdminLog(playerid, SQLID[playa], GetName(playa), "Teleported to Dillimore dealership"); | |
} | |
else if(locationid == 15 || strcmp("gant",location,true) == 0 || strcmp("gantbridge",location,true) == 0) //GANT BRIDGE | |
{ | |
SetPlayerPos(playa,-2666.669189,1595.062866,217.273895); | |
SetPlayerFacingAngle(playa,270.401367); | |
SetPlayerInterior(playa,0); | |
SetPlayerVirtualWorldEx(playa,0); | |
if(IsInHouseID[playa] > 0) IsInHouseID[playa] = -1; | |
if(IsInBizzID[playa] > 0) IsInBizzID[playa] = -1; | |
format(string,sizeof(string),"Admin %s has teleported you to Gant Bridge.",NameEx(playerid)); | |
SendClientMessage(playa,COLOUR_LIGHTBLUE,string); | |
format(string,sizeof(string),"[Admin] %s has teleported %s to Gant Bridge.",NameEx(playerid),NameEx(playa)); | |
AdminBroadcast(string, 1); | |
AdminLog(playerid, SQLID[playa], GetName(playa), "Teleported to Gant Br."); | |
} | |
else if(locationid == 16 || strcmp("ajail",location,true) == 0) //Admin Jail | |
{ | |
SetPlayerPos(playa,268.5122,84.1522,1001.0391); | |
SetPlayerFacingAngle(playa,180.0); | |
SetPlayerInterior(playa,6); | |
SetPlayerVirtualWorldEx(playa,0); | |
if(IsInHouseID[playa] > 0) IsInHouseID[playa] = -1; | |
if(IsInBizzID[playa] > 0) IsInBizzID[playa] = -1; | |
format(string,sizeof(string),"Admin %s has teleported you to the Admin Jail.",NameEx(playerid)); | |
SendClientMessage(playa,COLOUR_LIGHTBLUE,string); | |
format(string,sizeof(string),"[Admin] %s has teleported %s to the Admin Jail.",NameEx(playerid),NameEx(playa)); | |
AdminBroadcast(string, 1); | |
AdminLog(playerid, SQLID[playa], GetName(playa), "Teleported to AJail"); | |
} | |
else if(locationid == 17 || strcmp("fc",location,true) == 0) //Fort Carson | |
{ | |
SetPlayerPos(playa,-136.034286, 1214.920288, 19.74); | |
SetPlayerFacingAngle(playa,180.0); | |
SetPlayerInterior(playa,0); | |
SetPlayerVirtualWorldEx(playa,0); | |
if(IsInHouseID[playa] > 0) IsInHouseID[playa] = -1; | |
if(IsInBizzID[playa] > 0) IsInBizzID[playa] = -1; | |
format(string,sizeof(string),"Admin %s has teleported you to Fort Carson.",NameEx(playerid)); | |
SendClientMessage(playa,COLOUR_LIGHTBLUE,string); | |
format(string,sizeof(string),"[Admin] %s has teleported %s to Fort Carson.",NameEx(playerid),NameEx(playa)); | |
AdminBroadcast(string, 1); | |
AdminLog(playerid, SQLID[playa], GetName(playa), "Teleported to Ft. Carson"); | |
} | |
else if(locationid == 18 || strcmp("lasb",location,true) == 0) //las barrancas | |
{ | |
SetPlayerPos(playa,-852.036499, 1543.056640, 22.854631); | |
SetPlayerFacingAngle(playa,270.0); | |
SetPlayerInterior(playa,0); | |
SetPlayerVirtualWorldEx(playa,0); | |
if(IsInHouseID[playa] > 0) IsInHouseID[playa] = -1; | |
if(IsInBizzID[playa] > 0) IsInBizzID[playa] = -1; | |
format(string,sizeof(string),"Admin %s has teleported you to Las Barrancas.",NameEx(playerid)); | |
SendClientMessage(playa,COLOUR_LIGHTBLUE,string); | |
format(string,sizeof(string),"[Admin] %s has teleported %s to Las Barrancas.",NameEx(playerid),NameEx(playa)); | |
AdminBroadcast(string, 1); | |
AdminLog(playerid, SQLID[playa], GetName(playa), "Teleported to Las Bar."); | |
} | |
else if(locationid == 19 || strcmp("elq",location,true) == 0) //El Quebrados | |
{ | |
SetPlayerPos(playa,-1412.014526, 2608.812011, 55.835937); | |
SetPlayerFacingAngle(playa,90.0); | |
SetPlayerInterior(playa,0); | |
SetPlayerVirtualWorldEx(playa,0); | |
if(IsInHouseID[playa] > 0) IsInHouseID[playa] = -1; | |
if(IsInBizzID[playa] > 0) IsInBizzID[playa] = -1; | |
format(string,sizeof(string),"Admin %s has teleported you to El Quebrados.",NameEx(playerid)); | |
SendClientMessage(playa,COLOUR_LIGHTBLUE,string); | |
format(string,sizeof(string),"[Admin] %s has teleported %s to El Quebrados.",NameEx(playerid),NameEx(playa)); | |
AdminBroadcast(string, 1); | |
AdminLog(playerid, SQLID[playa], GetName(playa), "Teleported to El Que."); | |
} | |
else if(locationid == 20 || strcmp("bayside",location,true) == 0) //Bayside | |
{ | |
SetPlayerPos(playa,-2442.044189, 2324.293945, 4.984375); | |
SetPlayerInterior(playa,0); | |
SetPlayerVirtualWorldEx(playa,0); | |
if(IsInHouseID[playa] > 0) IsInHouseID[playa] = -1; | |
if(IsInBizzID[playa] > 0) IsInBizzID[playa] = -1; | |
format(string,sizeof(string),"Admin %s has teleported you to Bayside.",NameEx(playerid)); | |
SendClientMessage(playa,COLOUR_LIGHTBLUE,string); | |
format(string,sizeof(string),"[Admin] %s has teleported %s to Bayside.",NameEx(playerid),NameEx(playa)); | |
AdminBroadcast(string, 1); | |
AdminLog(playerid, SQLID[playa], GetName(playa), "Teleported to Bayside"); | |
} | |
else if(locationid == 21 || strcmp("blood",location,true) == 0) | |
{ | |
SetPlayerPos(playa,-1394.2, 987.62, 1023.96); | |
SetPlayerInterior(playa,15); | |
SetPlayerVirtualWorldEx(playa,0); | |
if(IsInHouseID[playa] > 0) IsInHouseID[playa] = -1; | |
if(IsInBizzID[playa] > 0) IsInBizzID[playa] = -1; | |
format(string,sizeof(string),"Admin %s has teleported you to the Bloodring Stadium.",NameEx(playerid)); | |
SendClientMessage(playa,COLOUR_LIGHTBLUE,string); | |
format(string,sizeof(string),"[Admin] %s has teleported %s to the Bloodring Stadium.",NameEx(playerid),NameEx(playa)); | |
AdminBroadcast(string, 1); | |
AdminLog(playerid, SQLID[playa], GetName(playa), "Teleported to Bloodbowl"); | |
} | |
else if(locationid == 22 || strcmp("Payasadas",location,true) == 0) //Las Payasadas | |
{ | |
SetPlayerPos(playa,-242.2057,2683.0261,62.6804); | |
SetPlayerFacingAngle(playa,68.2640); | |
SetPlayerInterior(playa,0); | |
SetPlayerVirtualWorldEx(playa,0); | |
if(IsInHouseID[playa] > 0) IsInHouseID[playa] = -1; | |
if(IsInBizzID[playa] > 0) IsInBizzID[playa] = -1; | |
format(string,sizeof(string), "Admin %s has teleported you to Las Payasadas.",NameEx(playerid)); | |
SendClientMessage(playa,COLOUR_LIGHTBLUE,string); | |
format(string,sizeof(string), "[Admin] %s has teleported %s to Las Payasadas.",NameEx(playerid),NameEx(playa)); | |
AdminBroadcast(string, 1); | |
AdminLog(playerid, SQLID[playerid], GetName(playa), "Teleported to Las Payasadas"); | |
} | |
else if(locationid == 23 || strcmp("Axiom",location,true) == 0) //Axiom HQ | |
{ | |
SetPlayerPos(playa,1026.7051,1152.2170,10.7233); | |
SetPlayerFacingAngle(playa,166.1630); | |
SetPlayerInterior(playa,0); | |
SetPlayerVirtualWorldEx(playa,0); | |
if(IsInHouseID[playa] > 0) IsInHouseID[playa] = -1; | |
if(IsInBizzID[playa] > 0) IsInBizzID[playa] = -1; | |
format(string,sizeof(string), "Admin %s has teleported you to the Axiom HQ.",NameEx(playerid)); | |
SendClientMessage(playa,COLOUR_LIGHTBLUE,string); | |
format(string,sizeof(string), "[Admin] %s has teleported %s to the Axiom HQ.",NameEx(playerid),NameEx(playa)); | |
AdminBroadcast(string, 1); | |
AdminLog(playerid, SQLID[playerid], GetName(playa), "Teleported to Axiom HQ"); | |
} | |
else if(locationid == 24 || strcmp("SADVLA",location,true) == 0) //SADVLA HQ | |
{ | |
SetPlayerPos(playa,1792.5424,405.6879,19.6681); | |
SetPlayerFacingAngle(playa,174.2643); | |
SetPlayerInterior(playa,0); | |
SetPlayerVirtualWorldEx(playa,0); | |
if(IsInHouseID[playa] > 0) IsInHouseID[playa] = -1; | |
if(IsInBizzID[playa] > 0) IsInBizzID[playa] = -1; | |
format(string,sizeof(string),"Admin %s has teleported you to the SADVLA HQ.",NameEx(playerid)); | |
SendClientMessage(playa,COLOUR_LIGHTBLUE,string); | |
format(string,sizeof(string),"[Admin] %s has teleported %s to the SADVLA HQ.", NameEx(playerid),NameEx(playa)); | |
AdminBroadcast(string, 1); | |
AdminLog(playerid, SQLID[playerid], GetName(playa), "Teleported to SADVLA HQ"); | |
} | |
else if(locationid == 25 || strcmp("1626",location,true) == 0) //1626 Hood | |
{ | |
SetPlayerPos(playa,2462.7378,-41.9114,26.4844); | |
SetPlayerFacingAngle(playa,57.4267); | |
SetPlayerInterior(playa,0); | |
SetPlayerVirtualWorldEx(playa,0); | |
if(IsInHouseID[playa] > 0) IsInHouseID[playa] = -1; | |
if(IsInBizzID[playa] > 0) IsInBizzID[playa] = -1; | |
format(string,sizeof(string),"Admin %s has teleported you to the 1626 Hood.",NameEx(playerid)); | |
SendClientMessage(playa,COLOUR_LIGHTBLUE,string); | |
format(string,sizeof(string),"[Admin] %s has teleported %s to the 1626 Hood.", NameEx(playerid),NameEx(playa)); | |
AdminBroadcast(string, 1); | |
AdminLog(playerid, SQLID[playerid], GetName(playa), "Teleported to 1626 Hood"); | |
} | |
else if(locationid == 26 || strcmp("ET",location,true) == 0) //Elite Trucking HQ | |
{ | |
SetPlayerPos(playa,617.0178,1657.6266,6.9922); | |
SetPlayerFacingAngle(playa,55.7339); | |
SetPlayerInterior(playa,0); | |
SetPlayerVirtualWorldEx(playa,0); | |
if(IsInHouseID[playa] > 0) IsInHouseID[playa] = -1; | |
if(IsInBizzID[playa] > 0) IsInBizzID[playa] = -1; | |
format(string,sizeof(string),"Admin %s has teleported you to the Elite Trucking HQ.",NameEx(playerid)); | |
SendClientMessage(playa,COLOUR_LIGHTBLUE,string); | |
format(string,sizeof(string),"[Admin] %s has teleported %s to the Elite Trucking HQ.", NameEx(playerid),NameEx(playa)); | |
AdminBroadcast(string, 1); | |
AdminLog(playerid, SQLID[playerid], GetName(playa), "Teleported to Elite Trucking HQ"); | |
} | |
else if(locationid == 27 || strcmp("Spain",location,true) == 0) //A Piece of Spain | |
{ | |
SetPlayerPos(playa,-310.8858,1764.7908,43.6406); | |
SetPlayerFacingAngle(playa,217.8579); | |
SetPlayerInterior(playa,0); | |
SetPlayerVirtualWorldEx(playa,0); | |
if(IsInHouseID[playa] > 0) IsInHouseID[playa] = -1; | |
if(IsInBizzID[playa] > 0) IsInBizzID[playa] = -1; | |
format(string,sizeof(string),"Admin %s has teleported you to A Piece of Spain.",NameEx(playerid)); | |
SendClientMessage(playa,COLOUR_LIGHTBLUE,string); | |
format(string,sizeof(string),"[Admin] %s has teleported %s to A Piece of Spain.", NameEx(playerid),NameEx(playa)); | |
AdminBroadcast(string, 1); | |
AdminLog(playerid, SQLID[playerid], GetName(playa), "Teleported to Piece of Spain"); | |
} | |
else if(locationid == 28 || strcmp("Executive",location,true) == 0) //Aperture Executive Ranch | |
{ | |
SetPlayerPos(playa,-687.9054,946.4386,13.0313); | |
SetPlayerFacingAngle(playa,4.1357); | |
SetPlayerInterior(playa,0); | |
SetPlayerVirtualWorldEx(playa,0); | |
if(IsInHouseID[playa] > 0) IsInHouseID[playa] = -1; | |
if(IsInBizzID[playa] > 0) IsInBizzID[playa] = -1; | |
format(string,sizeof(string),"Admin %s has teleported you to the Aperture Executive Ranch.",NameEx(playerid)); | |
SendClientMessage(playa,COLOUR_LIGHTBLUE,string); | |
format(string,sizeof(string),"[Admin] %s has teleported %s to the Aperture Executive Ranch.", NameEx(playerid),NameEx(playa)); | |
AdminBroadcast(string, 1); | |
AdminLog(playerid, SQLID[playerid], GetName(playa), "Teleported to Executive Ranch"); | |
} | |
else if(locationid == 29 || strcmp("Satellite",location,true) == 0) //Aperture Satellite | |
{ | |
SetPlayerPos(playa,-323.5419,1535.6516,75.5625); | |
SetPlayerFacingAngle(playa,4.1357); | |
SetPlayerInterior(playa,0); | |
SetPlayerVirtualWorldEx(playa,0); | |
if(IsInHouseID[playa] > 0) IsInHouseID[playa] = -1; | |
if(IsInBizzID[playa] > 0) IsInBizzID[playa] = -1; | |
format(string,sizeof(string),"Admin %s has teleported you to the Aperture Satellite.",NameEx(playerid)); | |
SendClientMessage(playa,COLOUR_LIGHTBLUE,string); | |
format(string,sizeof(string),"[Admin] %s has teleported %s to the Aperture Satellite", NameEx(playerid),NameEx(playa)); | |
AdminBroadcast(string, 1); | |
AdminLog(playerid, SQLID[playerid], GetName(playa), "Teleported to Aperture Satellite"); | |
} | |
else if(locationid == 30 || strcmp("Prison",location,true) == 0) //Saint Lawrence Prison | |
{ | |
SetPlayerPos(playa,-670.8079,494.1655,4.5042); | |
SetPlayerFacingAngle(playa,182.5020); | |
SetPlayerInterior(playa,0); | |
SetPlayerVirtualWorldEx(playa,0); | |
if(IsInHouseID[playa] > 0) IsInHouseID[playa] = -1; | |
if(IsInBizzID[playa] > 0) IsInBizzID[playa] = -1; | |
format(string,sizeof(string),"Admin %s has teleported you to the Saint Lawrence Prison.",NameEx(playerid)); | |
SendClientMessage(playa,COLOUR_LIGHTBLUE,string); | |
format(string,sizeof(string),"[Admin] %s has teleported %s to the Saint Lawrence Prison", NameEx(playerid),NameEx(playa)); | |
AdminBroadcast(string, 1); | |
AdminLog(playerid, SQLID[playerid], GetName(playa), "Teleported to Saint Lawrence Prison"); | |
} | |
else if(locationid == 31 || strcmp("chc",location,true) == 0) //Montgomery Farm | |
{ | |
SetPlayerPos(playa,1565.5929,17.4952,24.1641); | |
SetPlayerFacingAngle(playa,116.0188); | |
SetPlayerInterior(playa,0); | |
SetPlayerVirtualWorldEx(playa,0); | |
if(IsInHouseID[playa] > 0) IsInHouseID[playa] = -1; | |
if(IsInBizzID[playa] > 0) IsInBizzID[playa] = -1; | |
format(string,sizeof(string),"Admin %s has teleported you to the Montgomery Farm.",NameEx(playerid)); | |
SendClientMessage(playa,COLOUR_LIGHTBLUE,string); | |
format(string,sizeof(string),"[Admin] %s has teleported %s to the Montgomery Farm", NameEx(playerid),NameEx(playa)); | |
AdminBroadcast(string, 1); | |
AdminLog(playerid, SQLID[playerid], GetName(playa), "Teleported to Montgomery Farm"); | |
} | |
else if(locationid == 32 || strcmp("LS",location,true) == 0) //Los Santos | |
{ | |
SetPlayerPos(playa,1183.4312,-1324.5529,13.5772); | |
SetPlayerFacingAngle(playa,264.7505); | |
SetPlayerInterior(playa,0); | |
SetPlayerVirtualWorldEx(playa,0); | |
if(IsInHouseID[playa] > 0) IsInHouseID[playa] = -1; | |
if(IsInBizzID[playa] > 0) IsInBizzID[playa] = -1; | |
format(string,sizeof(string),"Admin %s has teleported you to Los Santos.",NameEx(playerid)); | |
SendClientMessage(playa,COLOUR_LIGHTBLUE,string); | |
format(string,sizeof(string),"[Admin] %s has teleported %s to the Los Santos", NameEx(playerid),NameEx(playa)); | |
AdminBroadcast(string, 1); | |
AdminLog(playerid, SQLID[playerid], GetName(playa), "Teleported to Los Santos"); | |
} | |
else if(locationid == 33 || strcmp("SF",location,true) == 0) //San Fierro | |
{ | |
SetPlayerPos(playa,-2028.9001,173.9227,28.8359); | |
SetPlayerFacingAngle(playa,267.0274); | |
SetPlayerInterior(playa,0); | |
SetPlayerVirtualWorldEx(playa,0); | |
if(IsInHouseID[playa] > 0) IsInHouseID[playa] = -1; | |
if(IsInBizzID[playa] > 0) IsInBizzID[playa] = -1; | |
format(string,sizeof(string),"Admin %s has teleported you to San Fierro.",NameEx(playerid)); | |
SendClientMessage(playa,COLOUR_LIGHTBLUE,string); | |
format(string,sizeof(string),"[Admin] %s has teleported %s to the San Fierro", NameEx(playerid),NameEx(playa)); | |
AdminBroadcast(string, 1); | |
AdminLog(playerid, SQLID[playerid], GetName(playa), "Teleported to San Fierro"); | |
} | |
else if(locationid == 34 || strcmp("LV",location,true) == 0) //San Fierro | |
{ | |
SetPlayerPos(playa,2166.3525,1683.4303,10.8203); | |
SetPlayerFacingAngle(playa,91.2637); | |
SetPlayerInterior(playa,0); | |
SetPlayerVirtualWorldEx(playa,0); | |
if(IsInHouseID[playa] > 0) IsInHouseID[playa] = -1; | |
if(IsInBizzID[playa] > 0) IsInBizzID[playa] = -1; | |
format(string,sizeof(string),"Admin %s has teleported you to Las Venturas.",NameEx(playerid)); | |
SendClientMessage(playa,COLOUR_LIGHTBLUE,string); | |
format(string,sizeof(string),"[Admin] %s has teleported %s to the Las Venturas", NameEx(playerid),NameEx(playa)); | |
AdminBroadcast(string, 1); | |
AdminLog(playerid, SQLID[playerid], GetName(playa), "Teleported to Las Venturas"); | |
} | |
} | |
else | |
{ | |
if(locationid == 1 || strcmp("mont",location,true) == 0 || strcmp("montgomery",location,true) == 0) //MONTGOMERY | |
{ | |
SetVehiclePos(vehicleid,1286.065795,259.397888,19.546892); | |
SetPlayerInterior(playa,0); | |
SetPlayerVirtualWorldEx(playa,0); | |
LinkVehicleToInterior(vehicleid,0); | |
SetVehicleVirtualWorld(vehicleid,0); | |
if(IsInHouseID[playa] > 0) IsInHouseID[playa] = -1; | |
if(IsInBizzID[playa] > 0) IsInBizzID[playa] = -1; | |
format(string,sizeof(string),"Admin %s has teleported you to Montgomery.",NameEx(playerid)); | |
SendClientMessage(playa,COLOUR_LIGHTBLUE,string); | |
format(string,sizeof(string),"[Admin] %s has teleported %s to Montgomery.",NameEx(playerid),NameEx(playa)); | |
AdminBroadcast(string, 1); | |
AdminLog(playerid, SQLID[playa], GetName(playa), "Teleported to Montgomery"); | |
} | |
else if(locationid == 2 || strcmp("dil",location,true) == 0 || strcmp("dillimore",location,true) == 0) //DILLIMORE | |
{ | |
SetVehiclePos(vehicleid,674.401611,-492.673828,16.335937); | |
SetPlayerInterior(playa,0); | |
SetPlayerVirtualWorldEx(playa,0); | |
LinkVehicleToInterior(vehicleid,0); | |
SetVehicleVirtualWorld(vehicleid,0); | |
if(IsInHouseID[playa] > 0) IsInHouseID[playa] = -1; | |
if(IsInBizzID[playa] > 0) IsInBizzID[playa] = -1; | |
format(string,sizeof(string),"Admin %s has teleported you to Dillimore.",NameEx(playerid)); | |
SendClientMessage(playa,COLOUR_LIGHTBLUE,string); | |
format(string,sizeof(string),"[Admin] %s has teleported %s to Dillimore.",NameEx(playerid),NameEx(playa)); | |
AdminBroadcast(string, 1); | |
AdminLog(playerid, SQLID[playa], GetName(playa), "Teleported to Dillimore"); | |
} | |
else if(locationid == 3 || strcmp("bb",location,true) == 0 || strcmp("blueberry",location,true) == 0) //BLUEBERRY | |
{ | |
SetVehiclePos(vehicleid,222.127410,-141.133483,1.578125); | |
SetPlayerInterior(playa,0); | |
SetPlayerVirtualWorldEx(playa,0); | |
LinkVehicleToInterior(vehicleid,0); | |
SetVehicleVirtualWorld(vehicleid,0); | |
if(IsInHouseID[playa] > 0) IsInHouseID[playa] = -1; | |
if(IsInBizzID[playa] > 0) IsInBizzID[playa] = -1; | |
format(string,sizeof(string),"Admin %s has teleported you to Blueberry.",NameEx(playerid)); | |
SendClientMessage(playa,COLOUR_LIGHTBLUE,string); | |
format(string,sizeof(string),"[Admin] %s has teleported %s to Blueberry.",NameEx(playerid),NameEx(playa)); | |
AdminBroadcast(string, 1); | |
AdminLog(playerid, SQLID[playa], GetName(playa), "Teleported to Blueberry"); | |
} | |
else if(locationid == 4 || strcmp("pc",location,true) == 0 || strcmp("palminocreek",location,true) == 0) //PALOMINO CREEK | |
{ | |
SetVehiclePos(vehicleid,2286.880371,-16.831209,26.484375); | |
SetPlayerInterior(playa,0); | |
SetPlayerVirtualWorldEx(playa,0); | |
LinkVehicleToInterior(vehicleid,0); | |
SetVehicleVirtualWorld(vehicleid,0); | |
if(IsInHouseID[playa] > 0) IsInHouseID[playa] = -1; | |
if(IsInBizzID[playa] > 0) IsInBizzID[playa] = -1; | |
format(string,sizeof(string),"Admin %s has teleported you to Palomino Creek.",NameEx(playerid)); | |
SendClientMessage(playa,COLOUR_LIGHTBLUE,string); | |
format(string,sizeof(string),"[Admin] %s has teleported %s to Palomino Creek.",NameEx(playerid),NameEx(playa)); | |
AdminBroadcast(string, 1); | |
AdminLog(playerid, SQLID[playa], GetName(playa), "Teleported to Palomino"); | |
} | |
else if(locationid == 5 || strcmp("lstower",location,true) == 0) //LS TOWER | |
{ | |
SetVehiclePos(vehicleid,1541.081054,-1364.230834,329.796875); | |
SetPlayerInterior(playa,0); | |
SetPlayerVirtualWorldEx(playa,0); | |
LinkVehicleToInterior(vehicleid,0); | |
SetVehicleVirtualWorld(vehicleid,0); | |
if(IsInHouseID[playa] > 0) IsInHouseID[playa] = -1; | |
if(IsInBizzID[playa] > 0) IsInBizzID[playa] = -1; | |
format(string,sizeof(string),"Admin %s has teleported you to the L.S. Tower.",NameEx(playerid)); | |
SendClientMessage(playa,COLOUR_LIGHTBLUE,string); | |
format(string,sizeof(string),"[Admin] %s has teleported %s to the L.S. Tower.",NameEx(playerid),NameEx(playa)); | |
AdminBroadcast(string, 1); | |
AdminLog(playerid, SQLID[playa], GetName(playa), "Teleported to LS tower"); | |
} | |
else if(locationid == 6 || strcmp("sftower",location,true) == 0) //SF TOWER | |
{ | |
SetVehiclePos(vehicleid,-1753.774169,885.215759,295.875000); | |
SetPlayerInterior(playa,0); | |
SetPlayerVirtualWorldEx(playa,0); | |
LinkVehicleToInterior(vehicleid,0); | |
SetVehicleVirtualWorld(vehicleid,0); | |
if(IsInHouseID[playa] > 0) IsInHouseID[playa] = -1; | |
if(IsInBizzID[playa] > 0) IsInBizzID[playa] = -1; | |
format(string,sizeof(string),"Admin %s has teleported you to the S.F. Tower.",NameEx(playerid)); | |
SendClientMessage(playa,COLOUR_LIGHTBLUE,string); | |
format(string,sizeof(string),"[Admin] %s has teleported %s to the S.F. Tower.",NameEx(playerid),NameEx(playa)); | |
AdminBroadcast(string, 1); | |
AdminLog(playerid, SQLID[playa], GetName(playa), "Teleported to SF tower"); | |
} | |
else if(locationid == 7 || strcmp("a51",location,true) == 0 || strcmp("area51",location,true) == 0) //AREA 51 | |
{ | |
SetVehiclePos(vehicleid,77.2566,1919.5846,17.6406); | |
SetPlayerInterior(playa,0); | |
SetPlayerVirtualWorldEx(playa,0); | |
LinkVehicleToInterior(vehicleid,0); | |
SetVehicleVirtualWorld(vehicleid,0); | |
if(IsInHouseID[playa] > 0) IsInHouseID[playa] = -1; | |
if(IsInBizzID[playa] > 0) IsInBizzID[playa] = -1; | |
format(string,sizeof(string),"Admin %s has teleported you to Area 51.",NameEx(playerid)); | |
SendClientMessage(playa,COLOUR_LIGHTBLUE,string); | |
format(string,sizeof(string),"[Admin] %s has teleported %s to Area 51.",NameEx(playerid),NameEx(playa)); | |
AdminBroadcast(string, 1); | |
AdminLog(playerid, SQLID[playa], GetName(playa), "Teleported to Area 51"); | |
} | |
else if(locationid == 8 || strcmp("bone",location,true) == 0 || strcmp("boneyard",location,true) == 0) //BONE YARD | |
{ | |
SetVehiclePos(vehicleid,408.786987,2536.820312,16.546947); | |
SetPlayerInterior(playa,0); | |
SetPlayerVirtualWorldEx(playa,0); | |
LinkVehicleToInterior(vehicleid,0); | |
SetVehicleVirtualWorld(vehicleid,0); | |
if(IsInHouseID[playa] > 0) IsInHouseID[playa] = -1; | |
if(IsInBizzID[playa] > 0) IsInBizzID[playa] = -1; | |
format(string,sizeof(string),"Admin %s has teleported you to Verdant Meadows.",NameEx(playerid)); | |
SendClientMessage(playa,COLOUR_LIGHTBLUE,string); | |
format(string,sizeof(string),"[Admin] %s has teleported %s to Verdant Meadows.",NameEx(playerid),NameEx(playa)); | |
AdminBroadcast(string, 1); | |
AdminLog(playerid, SQLID[playa], GetName(playa), "Teleported to Verdant Meadows"); | |
} | |
else if(locationid == 9 || strcmp("htf",location,true) == 0 || strcmp("hilltopfarm",location,true) == 0) //HILLTOP FARM | |
{ | |
SetVehiclePos(vehicleid,1034.0928,-336.2662,73.9922); | |
SetPlayerInterior(playa,0); | |
SetPlayerVirtualWorldEx(playa,0); | |
LinkVehicleToInterior(vehicleid,0); | |
SetVehicleVirtualWorld(vehicleid,0); | |
if(IsInHouseID[playa] > 0) IsInHouseID[playa] = -1; | |
if(IsInBizzID[playa] > 0) IsInBizzID[playa] = -1; | |
format(string,sizeof(string),"Admin %s has teleported you to Hilltop Farm.",NameEx(playerid)); | |
SendClientMessage(playa,COLOUR_LIGHTBLUE,string); | |
format(string,sizeof(string),"[Admin] %s has teleported %s to Hilltop Farm.",NameEx(playerid),NameEx(playa)); | |
AdminBroadcast(string, 1); | |
AdminLog(playerid, SQLID[playa], GetName(playa), "Teleported to Hilltop farm"); | |
} | |
else if(locationid == 10 || strcmp("weed",location,true) == 0 || strcmp("weedfarm",location,true) == 0) //WEED FARM | |
{ | |
SetVehiclePos(vehicleid,-1085.631835,-1634.588623,76.367187); | |
SetPlayerInterior(playa,0); | |
SetPlayerVirtualWorldEx(playa,0); | |
LinkVehicleToInterior(vehicleid,0); | |
SetVehicleVirtualWorld(vehicleid,0); | |
if(IsInHouseID[playa] > 0) IsInHouseID[playa] = -1; | |
if(IsInBizzID[playa] > 0) IsInBizzID[playa] = -1; | |
format(string,sizeof(string),"Admin %s has teleported you to the Weed Farm.",NameEx(playerid)); | |
SendClientMessage(playa,COLOUR_LIGHTBLUE,string); | |
format(string,sizeof(string),"[Admin] %s has teleported %s to the Weed Farm.",NameEx(playerid),NameEx(playa)); | |
AdminBroadcast(string, 1); | |
AdminLog(playerid, SQLID[playa], GetName(playa), "Teleported to Weed Farm"); | |
} | |
else if(locationid == 11 || strcmp("taxi",location,true) == 0) //TAXI | |
{ | |
SetVehiclePos(vehicleid,1235.911987,187.018402,19.554687); | |
SetPlayerInterior(playa,0); | |
SetPlayerVirtualWorldEx(playa,0); | |
LinkVehicleToInterior(vehicleid,0); | |
SetVehicleVirtualWorld(vehicleid,0); | |
if(IsInHouseID[playa] > 0) IsInHouseID[playa] = -1; | |
if(IsInBizzID[playa] > 0) IsInBizzID[playa] = -1; | |
format(string,sizeof(string),"Admin %s has teleported you to the Taxi HQ.",NameEx(playerid)); | |
SendClientMessage(playa,COLOUR_LIGHTBLUE,string); | |
format(string,sizeof(string),"[Admin] %s has teleported %s to the Taxi HQ.",NameEx(playerid),NameEx(playa)); | |
AdminBroadcast(string, 1); | |
AdminLog(playerid, SQLID[playa], GetName(playa), "Teleported to Taxi HQ"); | |
} | |
else if(locationid == 12 || strcmp("ems",location,true) == 0 || strcmp("hospital",location,true) == 0) //EMS | |
{ | |
SetVehiclePos(vehicleid,1216.183715,305.905029,19.554687); | |
SetPlayerInterior(playa,0); | |
SetPlayerVirtualWorldEx(playa,0); | |
LinkVehicleToInterior(vehicleid,0); | |
SetVehicleVirtualWorld(vehicleid,0); | |
if(IsInHouseID[playa] > 0) IsInHouseID[playa] = -1; | |
if(IsInBizzID[playa] > 0) IsInBizzID[playa] = -1; | |
format(string,sizeof(string),"Admin %s has teleported you to the Hospital.",NameEx(playerid)); | |
SendClientMessage(playa,COLOUR_LIGHTBLUE,string); | |
format(string,sizeof(string),"[Admin] %s has teleported %s to the Hospital.",NameEx(playerid),NameEx(playa)); | |
AdminBroadcast(string, 1); | |
AdminLog(playerid, SQLID[playa], GetName(playa), "Teleported to Mont EMS"); | |
} | |
else if(locationid == 13 || strcmp("angel",location,true) == 0) | |
{ | |
SetVehiclePos(vehicleid,-2131.383789, -2412.833496, 30.625); | |
SetPlayerInterior(playa,0); | |
SetPlayerVirtualWorldEx(playa,0); | |
LinkVehicleToInterior(vehicleid,0); | |
SetVehicleVirtualWorld(vehicleid,0); | |
if(IsInHouseID[playa] > 0) IsInHouseID[playa] = -1; | |
if(IsInBizzID[playa] > 0) IsInBizzID[playa] = -1; | |
format(string,sizeof(string),"Admin %s has teleported you to Angel Pine.",NameEx(playerid)); | |
SendClientMessage(playa,COLOUR_LIGHTBLUE,string); | |
format(string,sizeof(string),"[Admin] %s has teleported %s to Angel Pine.",NameEx(playerid),NameEx(playa)); | |
AdminBroadcast(string, 1); | |
AdminLog(playerid, SQLID[playa], GetName(playa), "Teleported to Angel Pine"); | |
} | |
else if(locationid == 14 || strcmp("micks",location,true) == 0 || strcmp("micksmotors",location,true) == 0) //MICKS MOTORS | |
{ | |
SetVehiclePos(vehicleid,643.090332,-503.772155,16.335937); | |
SetPlayerInterior(playa,0); | |
SetPlayerVirtualWorldEx(playa,0); | |
LinkVehicleToInterior(vehicleid,0); | |
SetVehicleVirtualWorld(vehicleid,0); | |
if(IsInHouseID[playa] > 0) IsInHouseID[playa] = -1; | |
if(IsInBizzID[playa] > 0) IsInBizzID[playa] = -1; | |
format(string,sizeof(string),"Admin %s has teleported you to Micks Motors.",NameEx(playerid)); | |
SendClientMessage(playa,COLOUR_LIGHTBLUE,string); | |
format(string,sizeof(string),"[Admin] %s has teleported %s to Micks Motors.",NameEx(playerid),NameEx(playa)); | |
AdminBroadcast(string, 1); | |
AdminLog(playerid, SQLID[playa], GetName(playa), "Teleported to Dillimore Dealership"); | |
} | |
else if(locationid == 15 || strcmp("gant",location,true) == 0 || strcmp("gantbridge",location,true) == 0) //GANT BRIDGE | |
{ | |
SetVehiclePos(vehicleid,-2666.669189,1595.062866,217.273895); | |
SetPlayerInterior(playa,0); | |
SetPlayerVirtualWorldEx(playa,0); | |
LinkVehicleToInterior(vehicleid,0); | |
SetVehicleVirtualWorld(vehicleid,0); | |
if(IsInHouseID[playa] > 0) IsInHouseID[playa] = -1; | |
if(IsInBizzID[playa] > 0) IsInBizzID[playa] = -1; | |
format(string,sizeof(string),"Admin %s has teleported you to Gant Bridge.",NameEx(playerid)); | |
SendClientMessage(playa,COLOUR_LIGHTBLUE,string); | |
format(string,sizeof(string),"[Admin] %s has teleported %s to Gant Bridge.",NameEx(playerid),NameEx(playa)); | |
AdminBroadcast(string, 1); | |
AdminLog(playerid, SQLID[playa], GetName(playa), "Teleported to Gant Br."); | |
} | |
else if(locationid == 17 || strcmp("fc",location,true) == 0) //Fort Carson | |
{ | |
SetVehiclePos(vehicleid,-136.034286, 1214.920288, 19.74); | |
SetPlayerInterior(playa,0); | |
SetPlayerVirtualWorldEx(playa,0); | |
LinkVehicleToInterior(vehicleid,0); | |
SetVehicleVirtualWorld(vehicleid,0); | |
if(IsInHouseID[playa] > 0) IsInHouseID[playa] = -1; | |
if(IsInBizzID[playa] > 0) IsInBizzID[playa] = -1; | |
format(string,sizeof(string),"Admin %s has teleported you to Fort Carson.",NameEx(playerid)); | |
SendClientMessage(playa,COLOUR_LIGHTBLUE,string); | |
format(string,sizeof(string),"[Admin] %s has teleported %s to Fort Carson.",NameEx(playerid),NameEx(playa)); | |
AdminBroadcast(string, 1); | |
AdminLog(playerid, SQLID[playa], GetName(playa), "Teleported to Ft. Carson"); | |
} | |
else if(locationid == 18 || strcmp("lasb",location,true) == 0) //las barrancas | |
{ | |
SetVehiclePos(vehicleid,-852.036499, 1543.056640, 22.854631); | |
SetPlayerInterior(playa,0); | |
SetPlayerVirtualWorldEx(playa,0); | |
LinkVehicleToInterior(vehicleid,0); | |
SetVehicleVirtualWorld(vehicleid,0); | |
if(IsInHouseID[playa] > 0) IsInHouseID[playa] = -1; | |
if(IsInBizzID[playa] > 0) IsInBizzID[playa] = -1; | |
format(string,sizeof(string),"Admin %s has teleported you to Las Barrancas.",NameEx(playerid)); | |
SendClientMessage(playa,COLOUR_LIGHTBLUE,string); | |
format(string,sizeof(string),"[Admin] %s has teleported %s to Las Barrancas.",NameEx(playerid),NameEx(playa)); | |
AdminBroadcast(string, 1); | |
AdminLog(playerid, SQLID[playa], GetName(playa), "Teleported to Las Bar."); | |
} | |
else if(locationid == 19 || strcmp("elq",location,true) == 0) //El Quebrados | |
{ | |
SetVehiclePos(vehicleid,-1412.014526, 2608.812011, 55.835937); | |
SetPlayerInterior(playa,0); | |
SetPlayerVirtualWorldEx(playa,0); | |
LinkVehicleToInterior(vehicleid,0); | |
SetVehicleVirtualWorld(vehicleid,0); | |
if(IsInHouseID[playa] > 0) IsInHouseID[playa] = -1; | |
if(IsInBizzID[playa] > 0) IsInBizzID[playa] = -1; | |
format(string,sizeof(string),"Admin %s has teleported you to El Quebrados.",NameEx(playerid)); | |
SendClientMessage(playa,COLOUR_LIGHTBLUE,string); | |
format(string,sizeof(string),"[Admin] %s has teleported %s to El Quebrados.",NameEx(playerid),NameEx(playa)); | |
AdminBroadcast(string, 1); | |
AdminLog(playerid, SQLID[playa], GetName(playa), "Teleported to El Que."); | |
} | |
else if(locationid == 20 || strcmp("bayside",location,true) == 0) //Bayside | |
{ | |
SetVehiclePos(vehicleid,-2442.044189, 2324.293945, 4.984375); | |
SetPlayerInterior(playa,0); | |
SetPlayerVirtualWorldEx(playa,0); | |
LinkVehicleToInterior(vehicleid,0); | |
SetVehicleVirtualWorld(vehicleid,0); | |
if(IsInHouseID[playa] > 0) IsInHouseID[playa] = -1; | |
if(IsInBizzID[playa] > 0) IsInBizzID[playa] = -1; | |
format(string,sizeof(string),"Admin %s has teleported you to Bayside.",NameEx(playerid)); | |
SendClientMessage(playa,COLOUR_LIGHTBLUE,string); | |
format(string,sizeof(string),"[Admin] %s has teleported %s to Bayside.",NameEx(playerid),NameEx(playa)); | |
AdminBroadcast(string, 1); | |
AdminLog(playerid, SQLID[playa], GetName(playa), "Teleported to Bayside"); | |
} | |
else if(locationid == 21 || strcmp("blood",location,true) == 0) | |
{ | |
SetVehiclePos(vehicleid,-1394.2, 987.62, 1023.96); | |
SetPlayerInterior(playa,15); | |
SetPlayerVirtualWorldEx(playa,0); | |
LinkVehicleToInterior(vehicleid,15); | |
SetVehicleVirtualWorld(vehicleid,0); | |
if(IsInHouseID[playa] > 0) IsInHouseID[playa] = -1; | |
if(IsInBizzID[playa] > 0) IsInBizzID[playa] = -1; | |
format(string,sizeof(string),"Admin %s has teleported you to the Bloodring Stadium.",NameEx(playerid)); | |
SendClientMessage(playa,COLOUR_LIGHTBLUE,string); | |
format(string,sizeof(string),"[Admin] %s has teleported %s to the Bloodring Stadium.",NameEx(playerid),NameEx(playa)); | |
AdminBroadcast(string, 1); | |
AdminLog(playerid, SQLID[playa], GetName(playa), "Teleported to Bloodbowl"); | |
} | |
else if(locationid == 22 || strcmp("lasp",location,true) == 0) //Las Payasadas | |
{ | |
SetPlayerPos(playa,-242.2057,2683.0261,62.6804); | |
SetPlayerFacingAngle(playa,68.2640); | |
SetPlayerInterior(playa,0); | |
SetPlayerVirtualWorldEx(playa,0); | |
if(IsInHouseID[playa] > 0) IsInHouseID[playa] = -1; | |
if(IsInBizzID[playa] > 0) IsInBizzID[playa] = -1; | |
format(string,sizeof(string), "Admin %s has teleported you to Las Payasadas.",NameEx(playerid)); | |
SendClientMessage(playa,COLOUR_LIGHTBLUE,string); | |
format(string,sizeof(string), "[Admin] %s has teleported %s to Las Payasadas.",NameEx(playerid),NameEx(playa)); | |
AdminBroadcast(string, 1); | |
AdminLog(playerid, SQLID[playerid], GetName(playa), "Teleported to Las Payasadas"); | |
} | |
else if(locationid == 23 || strcmp("Axiom",location,true) == 0) //Axiom HQ | |
{ | |
SetVehiclePos(vehicleid,1026.7051,1152.2170,10.7233); | |
SetPlayerInterior(playa,0); | |
SetPlayerVirtualWorldEx(playa,0); | |
SetVehicleVirtualWorld(vehicleid,0); | |
if(IsInHouseID[playa] > 0) IsInHouseID[playa] = -1; | |
if(IsInBizzID[playa] > 0) IsInBizzID[playa] = -1; | |
format(string,sizeof(string), "Admin %s has teleported you to the Axiom HQ.", NameEx(playerid)); | |
SendClientMessage(playa, COLOUR_LIGHTBLUE,string); | |
format(string,sizeof(string), "[Admin] %s has teleported %s to the Axiom HQ.", NameEx(playerid),NameEx(playa)); | |
AdminBroadcast(string, 1); | |
AdminLog(playerid, SQLID[playerid], GetName(playa), "Teleported to Axiom HQ"); | |
} | |
else if(locationid == 24 || strcmp("SADVLA",location,true) == 0) //SADVLA HQ | |
{ | |
SetVehiclePos(vehicleid,1792.5424,405.6879,19.6681); | |
SetPlayerInterior(playa,0); | |
SetPlayerVirtualWorldEx(playa,0); | |
SetVehicleVirtualWorld(vehicleid,0); | |
if(IsInHouseID[playa] > 0) IsInHouseID[playa] = -1; | |
if(IsInBizzID[playa] > 0) IsInBizzID[playa] = -1; | |
format(string,sizeof(string),"Admin %s has teleported you to the SADVLA HQ.",NameEx(playerid)); | |
SendClientMessage(playa,COLOUR_LIGHTBLUE,string); | |
format(string,sizeof(string),"[Admin] %s has teleported %s to the SADVLA HQ.", NameEx(playerid),NameEx(playa)); | |
AdminBroadcast(string, 1); | |
AdminLog(playerid, SQLID[playerid], GetName(playa), "Teleported to SADVLA HQ"); | |
} | |
else if(locationid == 25 || strcmp("1626",location,true) == 0) //1626 Hood | |
{ | |
SetVehiclePos(vehicleid,2462.7378,-41.9114,26.4844); | |
SetPlayerInterior(playa,0); | |
SetPlayerVirtualWorldEx(playa,0); | |
SetVehicleVirtualWorld(vehicleid,0); | |
if(IsInHouseID[playa] > 0) IsInHouseID[playa] = -1; | |
if(IsInBizzID[playa] > 0) IsInBizzID[playa] = -1; | |
format(string,sizeof(string),"Admin %s has teleported you to the 1626 Hood.",NameEx(playerid)); | |
SendClientMessage(playa,COLOUR_LIGHTBLUE,string); | |
format(string,sizeof(string),"[Admin] %s has teleported %s to the 1626 Hood.", NameEx(playerid),NameEx(playa)); | |
AdminBroadcast(string, 1); | |
AdminLog(playerid, SQLID[playerid], GetName(playa), "Teleported to 1626 Hood"); | |
} | |
else if(locationid == 26 || strcmp("et",location,true) == 0) //Elite Trucking HQ | |
{ | |
SetVehiclePos(vehicleid,617.0178,1657.6266,6.9922); | |
SetPlayerInterior(playa,0); | |
SetPlayerVirtualWorldEx(playa,0); | |
SetVehicleVirtualWorld(vehicleid,0); | |
if(IsInHouseID[playa] > 0) IsInHouseID[playa] = -1; | |
if(IsInBizzID[playa] > 0) IsInBizzID[playa] = -1; | |
format(string,sizeof(string),"Admin %s has teleported you to the Elite Trucking HQ.",NameEx(playerid)); | |
SendClientMessage(playa,COLOUR_LIGHTBLUE,string); | |
format(string,sizeof(string),"[Admin] %s has teleported %s to the Elite Trucking HQ.", NameEx(playerid),NameEx(playa)); | |
AdminBroadcast(string, 1); | |
AdminLog(playerid, SQLID[playerid], GetName(playa), "Teleported to Elite Trucking HQ"); | |
} | |
else if(locationid == 27 || strcmp("Spain",location,true) == 0) //A Piece of Spain | |
{ | |
SetVehiclePos(vehicleid,-310.8858,1764.7908,43.6406); | |
SetPlayerInterior(playa,0); | |
SetPlayerVirtualWorldEx(playa,0); | |
SetVehicleVirtualWorld(vehicleid,0); | |
if(IsInHouseID[playa] > 0) IsInHouseID[playa] = -1; | |
if(IsInBizzID[playa] > 0) IsInBizzID[playa] = -1; | |
format(string,sizeof(string),"Admin %s has teleported you to A Piece of Spain.",NameEx(playerid)); | |
SendClientMessage(playa,COLOUR_LIGHTBLUE,string); | |
format(string,sizeof(string),"[Admin] %s has teleported %s to A Piece of Spain.", NameEx(playerid),NameEx(playa)); | |
AdminBroadcast(string, 1); | |
AdminLog(playerid, SQLID[playerid], GetName(playa), "Teleported to Piece of Spain"); | |
} | |
else if(locationid == 28 || strcmp("Executive",location,true) == 0) //Aperture Executive Ranch | |
{ | |
SetVehiclePos(vehicleid,-687.9054,946.4386,13.0313); | |
SetPlayerInterior(playa,0); | |
SetPlayerVirtualWorldEx(playa,0); | |
SetVehicleVirtualWorld(vehicleid,0); | |
if(IsInHouseID[playa] > 0) IsInHouseID[playa] = -1; | |
if(IsInBizzID[playa] > 0) IsInBizzID[playa] = -1; | |
format(string,sizeof(string),"Admin %s has teleported you to the Aperture Executive Ranch.",NameEx(playerid)); | |
SendClientMessage(playa,COLOUR_LIGHTBLUE,string); | |
format(string,sizeof(string),"[Admin] %s has teleported %s to the Aperture Executive Ranch.", NameEx(playerid),NameEx(playa)); | |
AdminBroadcast(string, 1); | |
AdminLog(playerid, SQLID[playerid], GetName(playa), "Teleported to Executive Ranch"); | |
} | |
else if(locationid == 29 || strcmp("Satellite",location,true) == 0) //Aperture Satellite | |
{ | |
SetVehiclePos(vehicleid,-323.5419,1535.6516,75.5625); | |
SetPlayerInterior(playa,0); | |
SetPlayerVirtualWorldEx(playa,0); | |
SetVehicleVirtualWorld(vehicleid,0); | |
if(IsInHouseID[playa] > 0) IsInHouseID[playa] = -1; | |
if(IsInBizzID[playa] > 0) IsInBizzID[playa] = -1; | |
format(string,sizeof(string),"Admin %s has teleported you to the Aperture Satellite.",NameEx(playerid)); | |
SendClientMessage(playa,COLOUR_LIGHTBLUE,string); | |
format(string,sizeof(string),"[Admin] %s has teleported %s to the Aperture Satellite", NameEx(playerid),NameEx(playa)); | |
AdminBroadcast(string, 1); | |
AdminLog(playerid, SQLID[playerid], GetName(playa), "Teleported to Aperture Satellite"); | |
} | |
else if(locationid == 30 || strcmp("Prison",location,true) == 0) //Saint Lawrence Prison | |
{ | |
SetVehiclePos(vehicleid,-670.8079,494.1655,4.5042); | |
SetPlayerInterior(playa,0); | |
SetPlayerVirtualWorldEx(playa,0); | |
SetVehicleVirtualWorld(vehicleid,0); | |
if(IsInHouseID[playa] > 0) IsInHouseID[playa] = -1; | |
if(IsInBizzID[playa] > 0) IsInBizzID[playa] = -1; | |
format(string,sizeof(string),"Admin %s has teleported you to the Saint Lawrence Prison.",NameEx(playerid)); | |
SendClientMessage(playa,COLOUR_LIGHTBLUE,string); | |
format(string,sizeof(string),"[Admin] %s has teleported %s to the Saint Lawrence Prison", NameEx(playerid),NameEx(playa)); | |
AdminBroadcast(string, 1); | |
AdminLog(playerid, SQLID[playerid], GetName(playa), "Teleported to Saint Lawrence Prison"); | |
} | |
else if(locationid == 31 || strcmp("CHC",location,true) == 0) //Montgomery Farm | |
{ | |
SetVehiclePos(vehicleid,1565.5929,17.4952,24.1641); | |
SetPlayerInterior(playa,0); | |
SetPlayerVirtualWorldEx(playa,0); | |
SetVehicleVirtualWorld(vehicleid,0); | |
if(IsInHouseID[playa] > 0) IsInHouseID[playa] = -1; | |
if(IsInBizzID[playa] > 0) IsInBizzID[playa] = -1; | |
format(string,sizeof(string),"Admin %s has teleported you to the Montgomery Farm.",NameEx(playerid)); | |
SendClientMessage(playa,COLOUR_LIGHTBLUE,string); | |
format(string,sizeof(string),"[Admin] %s has teleported %s to the Montgomery Farm", NameEx(playerid),NameEx(playa)); | |
AdminBroadcast(string, 1); | |
AdminLog(playerid, SQLID[playerid], GetName(playa), "Teleported to Montgomery Farm"); | |
} | |
else if(locationid == 32 || strcmp("LS",location,true) == 0) //Los Santos | |
{ | |
SetVehiclePos(vehicleid,1183.4312,-1324.5529,13.5772); | |
SetPlayerInterior(playa,0); | |
SetPlayerVirtualWorldEx(playa,0); | |
SetVehicleVirtualWorld(vehicleid,0); | |
if(IsInHouseID[playa] > 0) IsInHouseID[playa] = -1; | |
if(IsInBizzID[playa] > 0) IsInBizzID[playa] = -1; | |
format(string,sizeof(string),"Admin %s has teleported you to Los Santos.",NameEx(playerid)); | |
SendClientMessage(playa,COLOUR_LIGHTBLUE,string); | |
format(string,sizeof(string),"[Admin] %s has teleported %s to the Los Santos", NameEx(playerid),NameEx(playa)); | |
AdminBroadcast(string, 1); | |
AdminLog(playerid, SQLID[playerid], GetName(playa), "Teleported to Los Santos"); | |
} | |
else if(locationid == 33 || strcmp("SF",location,true) == 0) //San Fierro | |
{ | |
SetVehiclePos(vehicleid,-2028.9001,173.9227,28.8359); | |
SetPlayerInterior(playa,0); | |
SetPlayerVirtualWorldEx(playa,0); | |
SetVehicleVirtualWorld(vehicleid,0); | |
if(IsInHouseID[playa] > 0) IsInHouseID[playa] = -1; | |
if(IsInBizzID[playa] > 0) IsInBizzID[playa] = -1; | |
format(string,sizeof(string),"Admin %s has teleported you to San Fierro.",NameEx(playerid)); | |
SendClientMessage(playa,COLOUR_LIGHTBLUE,string); | |
format(string,sizeof(string),"[Admin] %s has teleported %s to the San Fierro", NameEx(playerid),NameEx(playa)); | |
AdminBroadcast(string, 1); | |
AdminLog(playerid, SQLID[playerid], GetName(playa), "Teleported to San Fierro"); | |
} | |
else if(locationid == 34 || strcmp("LV",location,true) == 0) //San Fierro | |
{ | |
SetVehiclePos(vehicleid,2166.3525,1683.4303,10.8203); | |
SetPlayerInterior(playa,0); | |
SetPlayerVirtualWorldEx(playa,0); | |
SetVehicleVirtualWorld(vehicleid,0); | |
if(IsInHouseID[playa] > 0) IsInHouseID[playa] = -1; | |
if(IsInBizzID[playa] > 0) IsInBizzID[playa] = -1; | |
format(string,sizeof(string),"Admin %s has teleported you to Las Venturas.",NameEx(playerid)); | |
SendClientMessage(playa,COLOUR_LIGHTBLUE,string); | |
format(string,sizeof(string),"[Admin] %s has teleported %s to the Las Venturas", NameEx(playerid),NameEx(playa)); | |
AdminBroadcast(string, 1); | |
AdminLog(playerid, SQLID[playerid], GetName(playa), "Teleported to Las Venturas"); | |
} | |
} | |
return 1; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment