|
|
#11 |
|
Huge Clucker
![]() ![]() ![]() Join Date: Mar 2010
Location: England
Posts: 264
Reputation: 9
|
Here is the full game mode
Code:
#include <a_samp>
#include <core>
#include <float>
#include <time>
#pragma tabsize 0
//Color Defines--------------------
#define COLOR_CLAN1 COLOR_RED
#define COLOR_CLAN2 COLOR_BLUE
#define COLOR_DARKORANGE 0xFF7318FF
#define COLOR_BLUE 0x0000FFAA
#define COLOR_GREY 0xAFAFAFAA
#define COLOR_GREEN 0x33AA33AA
#define COLOR_YELLOW 0xFFFF00AA
#define COLOR_PURPLE 0x9900FFAA
#define COLOR_BROWN 0x993300AA
#define COLOR_ORANGE 0xFF9933AA
#define COLOR_CYAN 0x99FFFFAA
#define COLOR_TAN 0xFFFFCCAA
#define COLOR_PINK 0xFF66FFAA
#define COLOR_KHAKI 0x999900AA
#define COLOR_LIME 0x99FF00AA
#define COLOR_BLACK 0x000000AA
#define COLOR_TURQ 0x00A3C0AA
#define COLOR_LIGHTBLUE 0x00BFFFAA
#define COLOR_GREENISHGOLD 0xCCFFDD56
#define COLOR_LIGHTBLUEGREEN 0x0FFDD349
#define COLOR_NEUTRALBLUE 0xABCDEF01
#define COLOR_LIGHTCYAN 0xAAFFCC33
#define COLOR_LEMON 0xDDDD2357
#define COLOR_AQUA 0x7CFC00AA
#define COLOR_WHITEYELLOW 0xFFE87DAA
#define COLOR_BLUEAQUA 0x7E60FFAA
#define COLOR_GREENYELLOWWHITE 0xCBFF45AA
#define COLOR_DARKBLUE 0x15005EAA
#define COLOR_RED 0xEB000FFF
#define COLOR_ROB_SUCCESS 0x00CCFFAA
#define COLOR_ROB_FAILURE 0xCCCCFFAA
#define COLOR_ROB_ERROR 0xFF0000AA
#define COLOR_ALIEN 0x90FF87FF
#define COLOR_SHOOTER 0xFFAC82FF
#define COLOR_WHITE 0xFFFFD5FF
#define COLOR_PARKOUR 0xFFFFA4
#define COLOR_GOLD 0xB8860BAA
#define BLUE 0x0000FFAA
#define PINK 0xFF66FFAA
#define BLACK 0x000000AA
#define AQUA 0x7CFC00AA
#define LIGHTBLUE 0x00BFFFAA
#define YELLOW 0xFFFF00AA
#define WHITE 0xFFFFFFAA
#define WHITEP 0xFFFFD5AA
#define GREY 0xAFAFAFAA
#define RED 0xFF0606AA
#define CYAN 0x99FFFFAA
#define GREEN 0x21DD00FF
#define ORANGE 0xF97804AA
#define PURPLE 0x9900FFAA
#define ADMIN_RED 0xFB0000FF
#define LIGHTGREEN 0x38FF06FF
#define COLOR_LIMEGREEN 0x32CD32FF
// Music------------------------
#define SOUND_MUSIC1 1097
#define SOUND_OFF 1098
//////////Nos//////////////////////
//GodCar///////////////////////////
new godcar[6];
//////////COUNT///////////////////
new Text:Textdraw0;
new Text:Textdraw1;
new Text:Textdraw3;
new Text:AA;
new Text:TextdrawName;//Name
new CashScoreOld;
/////dm
new DMZone[MAX_PLAYERS];
/////////////////////////
//////////////AntiFall////////////
new bool: InCar[MAX_PLAYERS];
////////////Forwards//////////
forward DestroyNRG(playerid);
forward AutoRepair(playerid);
forward TipMessages();
forward MoneyGrubScoreUpdate();
forward SyncVirtualTime();
//personal nrg
new PVeh[MAX_PLAYERS];
///spawns
new Float:PosX[MAX_PLAYERS], Float:PosY[MAX_PLAYERS], Float:PosZ[MAX_PLAYERS], Float:PosA[MAX_PLAYERS], PosI[MAX_PLAYERS];
//Menus
new Menu: Teleports;
new Menu: StuntZones1;
new Menu: StuntZones2;
new Menu: StuntZones3;
new Menu: DMZones;
new Menu: OtherZones1;
new Menu: OtherZones2;
new Menu: OtherZones3;
new Menu: OtherZones4;
////Checkpoints///////
/* ===[VARIABLES]=== */
new isafk[MAX_PLAYERS];
new afktag[MAX_PLAYERS];
////Info/health Pickups///////////////
new minigun[3];
new Info[8];
//////////////////////////////
/////////////gang//////////
new gangzone;
new grove1;
new grove2;
new grove3;
new grove4;
new grove5;
new grove6;
new ballas;
new ballas1;
new ballas2;
new ballas3;
new ballas4;
new ballas5;
new ballas6;
new vagos;
new vagos1;
new vagos3;
new triad;
new traid1;
new triad2;
new TipRandMessages[][] =
{
"-Bot says.... Saw a cheater? Report it to online Administrators using /report.",
"-Bot says.... Would you like to a part of our team? ",
"-Bot says.... Type /cmds for commands and /teles or /tele for teleports.",
"-Bot says.... Have Fun",
"-Bot says.... Have any suggestions? Tell any current online administrators!",
"-Bot says.... Want to advert your the clan? Apply for at ",
"-Bot says.... Want to Save your Stats?? /register [password]! ",
"-Bot says.... Need Help? /Help or /cmds",
"-Bot says.... Has the Server restarted? There Might Be something New! Check /news for any updates of the game!"
};
enum espawn
{
Float:ex,
Float:ey,
Float:ez,
interior,
emsg[128]
}
new spawns[][espawn] = {
{2495.5647,-1700.7120,1014.7422, 3, "SPAWN: You spawned at CJ's House!"}
};
// Powerd by deLUX Map Converter
//--- FUNCTIONs ---
CalculateVirtualTime(&hour,&minute) {
new h,i,s;
gettime(h,i,s);
new time = (h * 24 * 60) + i * 60 + s;
time = time % (24 * 60);
minute = time % 60;
hour = (time - minute) / 60;
}
main()
{
print("\n----------------------------------");
print(" Map Testing gamemode");
print(" Created by deLUX Map Converter");
print("----------------------------------\n");
}
public OnGameModeInit()
{
new h,m;
CalculateVirtualTime(h,m);
printf("\nVirtual Time: %02d:%02d\n", h,m);
SetTimer("SyncVirtualTime",120000,1);
UsePlayerPedAnims();
SetGameModeText("Stunt/Drift/Race/Mini-Games");
EnableZoneNames( 1 );
EnableStuntBonusForAll(1);
AllowInteriorWeapons(1);
SetTimer("TipMessages",480000,1);
SetTimer("MoneyGrubScoreUpdate", 1000, 1);
Textdraw1 = TextDrawCreate(50.000000,423.000000,"/teles /home /cmds /rules");
TextDrawAlignment(Textdraw0,1);
TextDrawAlignment(Textdraw1,0);
TextDrawBackgroundColor(Textdraw0,0xffffffff);
TextDrawBackgroundColor(Textdraw1,0xffffff33);
TextDrawFont(Textdraw0,0);
TextDrawLetterSize(Textdraw0,0.799999,2.299999);
TextDrawFont(Textdraw1,2);
TextDrawLetterSize(Textdraw1,1.000000,2.600000);
TextDrawColor(Textdraw0,0xff000099);
TextDrawColor(Textdraw1,0xffffffcc);
TextDrawSetOutline(Textdraw0,1);
TextDrawSetProportional(Textdraw0,1);
TextDrawSetProportional(Textdraw1,1);
TextDrawSetShadow(Textdraw0,1);
TextDrawSetShadow(Textdraw1,1);
TextDrawAlignment(Textdraw3,0);
TextDrawBackgroundColor(Textdraw3,0xffffff33);
TextDrawFont(Textdraw3,0);
TextDrawLetterSize(Textdraw3,1.000000,3.300000);
TextDrawColor(Textdraw3,0xff000099);
TextDrawSetOutline(Textdraw3,1);
TextDrawSetProportional(Textdraw3,1);
TextDrawSetShadow(Textdraw3,1);
TextDrawAlignment(AA,1);
TextDrawBackgroundColor(AA,0x0000ff99);
TextDrawFont(AA,2);
TextDrawLetterSize(AA,0.799999,3.400000);
TextDrawColor(AA,0x00ff00cc);
TextDrawSetProportional(AA,1);
TextDrawSetShadow(AA,10);
Teleports = CreateMenu("Teleports", 2, 200.0, 100.0, 150.0, 150.0);
AddMenuItem(Teleports, 0, "Stunt Zones 1");
AddMenuItem(Teleports, 0, "Stunt Zones 2");
AddMenuItem(Teleports, 0, "Stunt Zones 3");
AddMenuItem(Teleports, 0, "DM Zones");
AddMenuItem(Teleports, 0, "Other Zones 1");
AddMenuItem(Teleports, 0, "Other Zones 2");
AddMenuItem(Teleports, 0, "Other Zones 3");
AddMenuItem(Teleports, 0, "Other Zones 4");
StuntZones1 = CreateMenu("StuntZone1", 2, 18.0, 102.0, 250.0, 250.0);
AddMenuItem(StuntZones1, 0, "Big Jump - Jump to Airport");
AddMenuItem(StuntZones1, 0, "Stunt 1 - Basic Stunt 1");
AddMenuItem(StuntZones1, 0, "Stunt 2 - Basic Stunt 2");
AddMenuItem(StuntZones1, 0, "Stunt 3 - Basic Stunt 3");
AddMenuItem(StuntZones1, 0, "Stunt 4 - Basic Stunt 4");
AddMenuItem(StuntZones1, 0, "Stunt 5 - Basic Stunt 5");
AddMenuItem(StuntZones1, 0, "Stunt 6 - Basic Stunt 6");
AddMenuItem(StuntZones1, 0, "Stunt 7 - Basic Stunt 7");
AddMenuItem(StuntZones1, 0, "Stunt 8 - Basic Stunt 8");
AddMenuItem(StuntZones1, 0, "Stunt 9 - Basic Stunt 9");
AddMenuItem(StuntZones1, 0, "Stunt 10 - Basic Stunt 10");
AddMenuItem(StuntZones1, 0, "Stunt 11 - Basic Stunt 11");
StuntZones2 = CreateMenu("StuntZones2", 2, 20.0, 104.0, 250.0, 250.0);
AddMenuItem(StuntZones2, 0, "Huge Jump - Visit Hugejump");
AddMenuItem(StuntZones2, 0, "Beach Jump - Visit Beach Jump");
AddMenuItem(StuntZones2, 0, "Water Jump - Visit Water Jump");
AddMenuItem(StuntZones2, 0, "LV Airport - LVA");
AddMenuItem(StuntZones2, 0, "Stadium - Visit the Stadium");
AddMenuItem(StuntZones2, 0, "LS Airport - Los Santos Airport");
AddMenuItem(StuntZones2, 0, "SF Airport - San Fierro Airport");
AddMenuItem(StuntZones2, 0, "Verdant Airport - Visit VA");
AddMenuItem(StuntZones2, 0, "Chilliad - Visit Mount Chilliad");
AddMenuItem(StuntZones2, 0, "Blixiania - Visit [Diagon_Blix]'s House");
StuntZones3 = CreateMenu("StuntZones3", 2, 18.0, 102.0, 250.0, 250.0);
AddMenuItem(StuntZones3, 0, "loop - Loop Around");
AddMenuItem(StuntZones3, 0, "Ramp Jump - Visit This Jump");
AddMenuItem(StuntZones3, 0, "NRG Parcour - NRG Park");
AddMenuItem(StuntZones3, 0, "Aqua Park - Aquatic Park");
AddMenuItem(StuntZones3, 0, "Eifel Tower - Welcome to Paris");
AddMenuItem(StuntZones3, 0, "Boat Grinding - Grind your Boat");
AddMenuItem(StuntZones3, 0, "Los Santos - Visit LS");
AddMenuItem(StuntZones3, 0, "San Fierro - Visit SF");
AddMenuItem(StuntZones3, 0, "Las Venturas - Visit LV");
AddMenuItem(StuntZones3, 0, "Pipe - Longest Pipe");
AddMenuItem(StuntZones3, 0, "Shit - Where Bigfoot Lives");
AddMenuItem(StuntZones3, 0, "Glass Jump - Visit Glassy");
DMZones = CreateMenu("DMZones", 2, 18.0, 102.0, 250.0, 250.0);
AddMenuItem(DMZones, 0, "Minigun - Great Minigun DM");
AddMenuItem(DMZones, 0, "Rocket - Great Rocket DM");
AddMenuItem(DMZones, 0, "Sniper - Great Sniper DM");
AddMenuItem(DMZones, 0, "M4 - Great M4 DM");
OtherZones1 = CreateMenu("OtherZones1", 2, 18.0, 102.0, 250.0, 250.0);
AddMenuItem(OtherZones1, 0, "Derby - Visit the Derby");
AddMenuItem(OtherZones1, 0, "LVDrag - Drag in LV");
AddMenuItem(OtherZones1, 0, "LVCurcuit - Run 2 Laps");
AddMenuItem(OtherZones1, 0, "Nrg Race - Race in a NRG");
AddMenuItem(OtherZones1, 0, "SkyRace - Race From the Sky");
AddMenuItem(OtherZones1, 0, "Funny Jump - Funny :P");
AddMenuItem(OtherZones1, 0, "Tube-4-Fun - Tube For You");
AddMenuItem(OtherZones1, 0, "Tube-4-Fun 2 - Tube For You");
AddMenuItem(OtherZones1, 0, "2Fast-2Jump - Need a Fast Car");
AddMenuItem(OtherZones1, 0, "Circuit - Race in Laps");
AddMenuItem(OtherZones1, 0, "Circuit 2 - Same Here");
AddMenuItem(OtherZones1, 0, "Trampoline Jump - Weee Bouncy");
OtherZones2 = CreateMenu("OtherZones2", 2, 18.0, 102.0, 250.0, 250.0);
AddMenuItem(OtherZones2, 0, "Drift - Drift like a Pro!");
AddMenuItem(OtherZones2, 0, "Basejump 1");
AddMenuItem(OtherZones2, 0, "Basejump 2");
AddMenuItem(OtherZones2, 0, "Basejump 3");
AddMenuItem(OtherZones2, 0, "Basejump 4");
AddMenuItem(OtherZones2, 0, "Basejump 5");
AddMenuItem(OtherZones2, 0, "Basejump 6");
AddMenuItem(OtherZones2, 0, "Basejump 7");
AddMenuItem(OtherZones2, 0, "Basejump 8");
AddMenuItem(OtherZones2, 0, "Basejump 9");
AddMenuItem(OtherZones2, 0, "Basejump 10");
OtherZones3 = CreateMenu("OtherZones3", 2, 18.0, 102.0, 250.0, 250.0);
AddMenuItem(OtherZones3, 0, "Drag Race - Race with an ally");
AddMenuItem(OtherZones3, 0, "Bike Trial - Test Your Skills");
AddMenuItem(OtherZones3, 0, "Bike Trail 2 - Same Here");
AddMenuItem(OtherZones3, 0, "Parkour - Some Real Fun For Bikes");
AddMenuItem(OtherZones3, 0, "San Fierro Race");
AddMenuItem(OtherZones3, 0, "TSKR");
AddMenuItem(OtherZones3, 0, "Kart Race - Race in a Kart");
AddMenuItem(OtherZones3, 0, "Atlantis - Explore UnderWater");
AddMenuItem(OtherZones3, 0, "Xtreme - Xtreme Fun");
AddMenuItem(OtherZones3, 0, "AquaSP - Aqua Fun!");
AddMenuItem(OtherZones3, 0, "Grove - Visit Your Homies");
OtherZones4 = CreateMenu("OtherZones4", 2, 18.0, 102.0, 250.0, 250.0);
AddMenuItem(OtherZones4, 0, "Pyramid Jump - Ride down Fast");
AddMenuItem(OtherZones4, 0, "loop ls - Loop-Le-LS");
AddMenuItem(OtherZones4, 0, "Vertical Jump - end up Vertically");
AddMenuItem(OtherZones4, 0, "Dam Stunt - Dam a lot of Stunts");
AddMenuItem(OtherZones4, 0, "Loop Ball - Big Ball to Loop in");
TextdrawName = TextDrawCreate(500.000000,109.000000,"~b~www.~y~gametalkz.~r~com");
TextDrawAlignment(TextdrawName,0);
TextDrawBackgroundColor(TextdrawName,0x000000ff);
TextDrawFont(TextdrawName,3);
TextDrawLetterSize(TextdrawName,0.299999,1.000000);
TextDrawColor(TextdrawName,0xffffffff);
TextDrawSetOutline(TextdrawName,1);
TextDrawSetProportional(TextdrawName,1);
TextDrawSetShadow(TextdrawName,1);
// My favourite characer ;)
AddPlayerClass(105, -2223.0649,2326.8020,7.5469,90.3958,27,100,31,100,4,100);
AddPlayerClass(106, -2223.0649,2326.8020,7.5469,90.3958,27,100,31,100,4,100);
AddPlayerClass(107, -2223.0649,2326.8020,7.5469,90.3958,27,100,31,100,4,100);
AddPlayerClass(108, -2223.0649,2326.8020,7.5469,90.3958,27,100,31,100,4,100);
AddPlayerClass(102, -2223.0649,2326.8020,7.5469,90.3958,27,100,31,100,4,100);
AddPlayerClass(103, -2223.0649,2326.8020,7.5469,90.3958,27,100,31,100,4,100);
AddPlayerClass(104, -2223.0649,2326.8020,7.5469,90.3958,27,100,31,100,4,100);
AddPlayerClass(109, -2223.0649,2326.8020,7.5469,90.3958,27,100,31,100,4,100);
AddPlayerClass(110, -2223.0649,2326.8020,7.5469,90.3958,27,100,31,100,4,100);
AddPlayerClass(111, -2223.0649,2326.8020,7.5469,90.3958,27,100,31,100,4,100);
AddPlayerClass(112, -2223.0649,2326.8020,7.5469,90.3958,27,100,31,100,4,100);
AddPlayerClass(113, -2223.0649,2326.8020,7.5469,90.3958,27,100,31,100,4,100);
AddPlayerClass(114, -2223.0649,2326.8020,7.5469,90.3958,27,100,31,100,4,100);
AddPlayerClass(115, -2223.0649,2326.8020,7.5469,90.3958,27,100,31,100,4,100);
AddPlayerClass(116, -2223.0649,2326.8020,7.5469,90.3958,27,100,31,100,4,100);
AddPlayerClass(117, -2223.0649,2326.8020,7.5469,90.3958,27,100,31,100,4,100);
AddPlayerClass(118, -2223.0649,2326.8020,7.5469,90.3958,27,100,31,100,4,100);
AddPlayerClass(120, -2223.0649,2326.8020,7.5469,90.3958,27,100,31,100,4,100);
AddPlayerClass(121, -2223.0649,2326.8020,7.5469,90.3958,27,100,31,100,4,100);
AddPlayerClass(122, -2223.0649,2326.8020,7.5469,90.3958,27,100,31,100,4,100);
AddPlayerClass(123, -2223.0649,2326.8020,7.5469,90.3958,27,100,31,100,4,100);
AddPlayerClass(124, -2223.0649,2326.8020,7.5469,90.3958,27,100,31,100,4,100);
AddPlayerClass(125, -2223.0649,2326.8020,7.5469,90.3958,27,100,31,100,4,100);
AddPlayerClass(126, -2223.0649,2326.8020,7.5469,90.3958,27,100,31,100,4,100);
AddPlayerClass(127, -2223.0649,2326.8020,7.5469,90.3958,27,100,31,100,4,100);
AddPlayerClass(128, -2223.0649,2326.8020,7.5469,90.3958,27,100,31,100,4,100);
AddPlayerClass(129, -2223.0649,2326.8020,7.5469,90.3958,27,100,31,100,4,100);
AddPlayerClass(131, -2261.1379,2290.6130,4.8202,269.1424,27,100,31,100,4,100);
AddPlayerClass(133, -2261.1379,2290.6130,4.8202,269.1424,27,100,31,100,4,100);
AddPlayerClass(134, -2261.1379,2290.6130,4.8202,269.1424,27,100,31,100,4,100);
AddPlayerClass(135, -2261.1379,2290.6130,4.8202,269.1424,27,100,31,100,4,100);
AddPlayerClass(277, -2261.1379,2290.6130,4.8202,269.1424,27,100,31,100,4,100);
AddPlayerClass(278, -2261.1379,2290.6130,4.8202,269.1424,27,100,31,100,4,100);
AddPlayerClass(279, -2261.1379,2290.6130,4.8202,269.1424,27,100,31,100,4,100);
AddPlayerClass(288, -2261.1379,2290.6130,4.8202,269.1424,27,100,31,100,4,100);
AddPlayerClass(47, -2223.0649,2326.8020,7.5469,90.3958,27,100,31,100,4,100);
AddPlayerClass(48, -2223.0649,2326.8020,7.5469,90.3958,27,100,31,100,4,100);
AddPlayerClass(49, -2261.1379,2290.6130,4.8202, 269.1424,27,100,31,100,4,100);
AddPlayerClass(50, -2261.1379,2290.6130,4.8202, 269.1424,27,100,31,100,4,100);
AddPlayerClass(51, -2261.1379,2290.6130,4.8202, 269.1424, 0, 0, 0, 0, 0, 0);
AddPlayerClass(52, -2261.1379,2290.6130,4.8202, 269.1424, 0, 0, 0, 0, 0, 0);
AddPlayerClass(53, -2261.1379,2290.6130,4.8202, 269.1424, 0, 0, 0, 0, 0, 0);
AddPlayerClass(54, -2261.1379,2290.6130,4.8202, 269.1424, 0, 0, 0, 0, 0, 0);
AddPlayerClass(55, -2261.1379,2290.6130,4.8202, 269.1424, 0, 0, 0, 0, 0, 0);
AddPlayerClass(56, -2261.1379,2290.6130,4.8202, 269.1424, 0, 0, 0, 0, 0, 0);
AddPlayerClass(57, -2261.1379,2290.6130,4.8202, 269.1424, 0, 0, 0, 0, 0, 0);
AddPlayerClass(58, -2261.1379,2290.6130,4.8202, 269.1424, 0, 0, 0, 0, 0, 0);
AddPlayerClass(59, -2261.1379,2290.6130,4.8202, 269.1424, 0, 0, 0, 0, 0, 0);
AddPlayerClass(60, -2223.0649,2326.8020,7.5469,90.3958,0,0,0,0,0,0);
AddPlayerClass(61, -2261.1379,2290.6130,4.8202, 269.1424, 0, 0, 0, 0, 0, 0);
AddPlayerClass(62, -2261.1379,2290.6130,4.8202, 269.1424, 0, 0, 0, 0, 0, 0);
AddPlayerClass(63, -2261.1379,2290.6130,4.8202, 269.1424, 0, 0, 0, 0, 0, 0);
AddPlayerClass(64, -2261.1379,2290.6130,4.8202, 269.1424, 0, 0, 0, 0, 0, 0);
AddPlayerClass(66, -2261.1379,2290.6130,4.8202, 269.1424, 0, 0, 0, 0, 0, 0);
AddPlayerClass(67, -2261.1379,2290.6130,4.8202, 269.1424, 0, 0, 0, 0, 0, 0);
AddPlayerClass(68, -2261.1379,2290.6130,4.8202, 269.1424, 0, 0, 0, 0, 0, 0);
AddPlayerClass(69, -2261.1379,2290.6130,4.8202, 269.1424, 0, 0, 0, 0, 0, 0);
AddPlayerClass(70, -2223.0649,2326.8020,7.5469,90.3958,0,0,0,0,0,0);
AddPlayerClass(71, -2261.1379,2290.6130,4.8202, 269.1424, 0, 0, 0, 0, 0, 0);
AddPlayerClass(72, -2261.1379,2290.6130,4.8202, 269.1424, 0, 0, 0, 0, 0, 0);
AddPlayerClass(73, -2261.1379,2290.6130,4.8202, 269.1424, 0, 0, 0, 0, 0, 0);
AddPlayerClass(75, -2261.1379,2290.6130,4.8202, 269.1424, 0, 0, 0, 0, 0, 0);
AddPlayerClass(76, -2223.0649,2326.8020,7.5469,90.3958,0,0,0,0,0,0);
AddPlayerClass(78, -2261.1379,2290.6130,4.8202, 269.1424, 0, 0, 0, 0, 0, 0);
AddPlayerClass(79, -2261.1379,2290.6130,4.8202, 269.1424, 0, 0, 0, 0, 0, 0);
AddPlayerClass(80, -2261.1379,2290.6130,4.8202, 269.1424, 0, 0, 0, 0, 0, 0);
AddPlayerClass(81, -2261.1379,2290.6130,4.8202, 269.1424, 0, 0, 0, 0, 0, 0);
AddPlayerClass(82, -2261.1379,2290.6130,4.8202, 269.1424, 0, 0, 0, 0, 0, 0);
AddPlayerClass(83, -2261.1379,2290.6130,4.8202, 269.1424, 0, 0, 0, 0, 0, 0);
AddPlayerClass(84, -2261.1379,2290.6130,4.8202, 269.1424, 0, 0, 0, 0, 0, 0);
AddPlayerClass(85, -2261.1379,2290.6130,4.8202, 269.1424, 0, 0, 0, 0, 0, 0);
AddPlayerClass(87, -2261.1379,2290.6130,4.8202, 269.1424, 0, 0, 0, 0, 0, 0);
AddPlayerClass(88, -2223.0649,2326.8020,7.5469,90.3958,0,0,0,0,0,0);
AddPlayerClass(89, -2223.0649,2326.8020,7.5469,90.3958,0,0,0,0,0,0);
AddPlayerClass(91, -2261.1379,2290.6130,4.8202, 269.1424, 0, 0, 0, 0, 0, 0);
AddPlayerClass(92, -2261.1379,2290.6130,4.8202, 269.1424, 0, 0, 0, 0, 0, 0);
AddPlayerClass(93, -2261.1379,2290.6130,4.8202, 269.1424, 0, 0, 0, 0, 0, 0);
AddPlayerClass(95, -2261.1379,2290.6130,4.8202, 269.1424, 0, 0, 0, 0, 0, 0);
AddPlayerClass(96, -2261.1379,2290.6130,4.8202, 269.1424, 0, 0, 0, 0, 0, 0);
AddPlayerClass(97, -2261.1379,2290.6130,4.8202, 269.1424, 0, 0, 0, 0, 0, 0);
AddPlayerClass(98, -2261.1379,2290.6130,4.8202, 269.1424, 0, 0, 0, 0, 0, 0);
AddPlayerClass(99, -2261.1379,2290.6130,4.8202, 269.1424, 0, 0, 0, 0, 0, 0);
AddPlayerClass(136, -2261.1379,2290.6130,4.8202, 269.1424, 0, 0, 0, 0, 0, 0);
AddPlayerClass(137, -2261.1379,2290.6130,4.8202, 269.1424, 0, 0, 0, 0, 0, 0);
AddPlayerClass(138, -2261.1379,2290.6130,4.8202, 269.1424, 0, 0, 0, 0, 0, 0);
AddPlayerClass(139, -2261.1379,2290.6130,4.8202, 269.1424, 0, 0, 0, 0, 0, 0);
AddPlayerClass(140, -2261.1379,2290.6130,4.8202, 269.1424, 0, 0, 0, 0, 0, 0);
AddPlayerClass(141, -2261.1379,2290.6130,4.8202, 269.1424, 0, 0, 0, 0, 0, 0);
AddPlayerClass(142, -2261.1379,2290.6130,4.8202, 269.1424, 0, 0, 0, 0, 0, 0);
AddPlayerClass(143, -2261.1379,2290.6130,4.8202, 269.1424, 0, 0, 0, 0, 0, 0);
AddPlayerClass(144, -2261.1379,2290.6130,4.8202, 269.1424, 0, 0, 0, 0, 0, 0);
AddPlayerClass(145, -2261.1379,2290.6130,4.8202, 269.1424, 0, 0, 0, 0, 0, 0);
AddPlayerClass(146, -2261.1379,2290.6130,4.8202, 269.1424, 0, 0, 0, 0, 0, 0);
AddPlayerClass(147, -2261.1379,2290.6130,4.8202, 269.1424, 0, 0, 0, 0, 0, 0);
AddPlayerClass(148, -2261.1379,2290.6130,4.8202, 269.1424, 0, 0, 0, 0, 0, 0);
AddPlayerClass(150, -2261.1379,2290.6130,4.8202, 269.1424, 0, 0, 0, 0, 0, 0);
AddPlayerClass(151, -2261.1379,2290.6130,4.8202, 269.1424, 0, 0, 0, 0, 0, 0);
AddPlayerClass(152, -2261.1379,2290.6130,4.8202, 269.1424, 0, 0, 0, 0, 0, 0);
AddPlayerClass(153, -2261.1379,2290.6130,4.8202, 269.1424, 0, 0, 0, 0, 0, 0);
AddPlayerClass(154, -2261.1379,2290.6130,4.8202, 269.1424, 0, 0, 0, 0, 0, 0);
AddPlayerClass(155, -2261.1379,2290.6130,4.8202, 269.1424, 0, 0, 0, 0, 0, 0);
AddPlayerClass(156, -2261.1379,2290.6130,4.8202, 269.1424, 0, 0, 0, 0, 0, 0);
AddPlayerClass(157, -2261.1379,2290.6130,4.8202, 269.1424, 0, 0, 0, 0, 0, 0);
AddPlayerClass(158, -2261.1379,2290.6130,4.8202, 269.1424, 0, 0, 0, 0, 0, 0);
AddPlayerClass(159, -2261.1379,2290.6130,4.8202, 269.1424, 0, 0, 0, 0, 0, 0);
AddPlayerClass(160, -2261.1379,2290.6130,4.8202, 269.1424, 0, 0, 0, 0, 0, 0);
AddPlayerClass(161, -2261.1379,2290.6130,4.8202, 269.1424, 0, 0, 0, 0, 0, 0);
AddPlayerClass(162, -2261.1379,2290.6130,4.8202, 269.1424, 0, 0, 0, 0, 0, 0);
AddPlayerClass(163, -2261.1379,2290.6130,4.8202, 269.1424, 0, 0, 0, 0, 0, 0);
AddPlayerClass(164, -2261.1379,2290.6130,4.8202, 269.1424, 0, 0, 0, 0, 0, 0);
AddPlayerClass(165, -2261.1379,2290.6130,4.8202, 269.1424, 0, 0, 0, 0, 0, 0);
AddPlayerClass(166, -2261.1379,2290.6130,4.8202, 269.1424, 0, 0, 0, 0, 0, 0);
AddPlayerClass(167, -2261.1379,2290.6130,4.8202, 269.1424, 0, 0, 0, 0, 0, 0);
AddPlayerClass(168, -2261.1379,2290.6130,4.8202, 269.1424, 0, 0, 0, 0, 0, 0);
AddPlayerClass(169, -2261.1379,2290.6130,4.8202, 269.1424, 0, 0, 0, 0, 0, 0);
AddPlayerClass(170, -2261.1379,2290.6130,4.8202, 269.1424, 0, 0, 0, 0, 0, 0);
AddPlayerClass(171, -2261.1379,2290.6130,4.8202, 269.1424, 0, 0, 0, 0, 0, 0);
AddPlayerClass(172, -2261.1379,2290.6130,4.8202, 269.1424, 0, 0, 0, 0, 0, 0);
AddPlayerClass(173, -2261.1379,2290.6130,4.8202, 269.1424, 0, 0, 0, 0, 0, 0);
AddPlayerClass(174, -2261.1379,2290.6130,4.8202, 269.1424, 0, 0, 0, 0, 0, 0);
AddPlayerClass(175, -2261.1379,2290.6130,4.8202, 269.1424, 0, 0, 0, 0, 0, 0);
AddPlayerClass(176, -2261.1379,2290.6130,4.8202, 269.1424, 0, 0, 0, 0, 0, 0);
AddPlayerClass(177, -2261.1379,2290.6130,4.8202, 269.1424, 0, 0, 0, 0, 0, 0);
AddPlayerClass(178, -2223.0649,2326.8020,7.5469,90.3958,0,0,0,0,0,0);
AddPlayerClass(179, -2223.0649,2326.8020,7.5469,90.3958,0,0,0,0,0,0);
AddPlayerClass(180, -2223.0649,2326.8020,7.5469,90.3958,0,0,0,0,0,0);
AddPlayerClass(181, -2223.0649,2326.8020,7.5469,90.3958,0,0,0,0,0,0);
AddPlayerClass(182, -2223.0649,2326.8020,7.5469,90.3958,0,0,0,0,0,0);
AddPlayerClass(183, -2223.0649,2326.8020,7.5469,90.3958,0,0,0,0,0,0);
AddPlayerClass(184, -2223.0649,2326.8020,7.5469,90.3958,0,0,0,0,0,0);
AddPlayerClass(185, -2223.0649,2326.8020,7.5469,90.3958,0,0,0,0,0,0);
AddPlayerClass(186, -2223.0649,2326.8020,7.5469,90.3958,0,0,0,0,0,0);
AddPlayerClass(187, -2223.0649,2326.8020,7.5469,90.3958,0,0,0,0,0,0);
AddPlayerClass(188, -2223.0649,2326.8020,7.5469,90.3958,0,0,0,0,0,0);
AddPlayerClass(189, -2223.0649,2326.8020,7.5469,90.3958,0,0,0,0,0,0);
AddPlayerClass(190, -2223.0649,2326.8020,7.5469,90.3958,0,0,0,0,0,0);
AddPlayerClass(191, -2223.0649,2326.8020,7.5469,90.3958,0,0,0,0,0,0);
AddPlayerClass(192, -2223.0649,2326.8020,7.5469,90.3958,0,0,0,0,0,0);
AddPlayerClass(193, -2223.0649,2326.8020,7.5469,90.3958,0,0,0,0,0,0);
AddPlayerClass(194, -2223.0649,2326.8020,7.5469,90.3958,0,0,0,0,0,0);
AddPlayerClass(195, -2223.0649,2326.8020,7.5469,90.3958,0,0,0,0,0,0);
AddPlayerClass(196, -2223.0649,2326.8020,7.5469,90.3958,0,0,0,0,0,0);
AddPlayerClass(197, -2223.0649,2326.8020,7.5469,90.3958,0,0,0,0,0,0);
AddPlayerClass(198, -2223.0649,2326.8020,7.5469,90.3958,0,0,0,0,0,0);
AddPlayerClass(199, -2223.0649,2326.8020,7.5469,90.3958,0,0,0,0,0,0);
AddPlayerClass(200, -2223.0649,2326.8020,7.5469,90.3958,0,0,0,0,0,0);
//////////////////Pickups///////////////////////////////////////////
Info[1] = CreatePickup(1239, 2, 1804.3870,863.0250,10.6607);//Lv Drag
Info[2] = CreatePickup(1239, 2, 1819.0735,835.9506,10.6196);// Lv Curcuit
Info[3] = CreatePickup(1239, 2, 1361.6726,-1919.7810,19.8223);//gate ticket
Info[4] = CreatePickup(3096, 2, 961.5721,2503.7424,420.3177);//info /hj
Info[5] = CreatePickup(1239, 23, 2459.4045,-1691.6614,13.5466);//Enter Ryder
Info[6] = CreatePickup(1239, 23, 295.2303,1474.2555,1080.2578);//Exit Ryder
Info[7] = CreatePickup(1289, 23, 294.5392,1487.0864,1080.2578);//News Stand
// Car Spawns
AddStaticVehicle(444,-2386.4238,2935.2659,362.3510,178.4902,32,53); // /monster
AddStaticVehicle(444,-2381.8120,2927.1687,362.3510,175.6328,32,66); // /monster
AddStaticVehicle(444,-2381.8713,2955.6912,362.3504,179.9287,32,66); // /monster
AddStaticVehicle(495,2567.1360,-1194.1241,211.2633,87.6466,118,117); // /loopls
AddStaticVehicle(495,2566.7146,-1200.4647,211.2767,89.5042,114,108); // /loopls
AddStaticVehicle(495,2580.6248,-1200.5059,210.8634,91.6811,39,82); // /loopls
AddStaticVehicle(495,2580.8540,-1194.9338,210.8521,90.7680,116,115); // /loopls
AddStaticVehicle(564, 420.149810, 2475.148193, 15.669364, 180.599365, -1, -1);
AddStaticVehicle(564, 421.356750, 2475.168457, 15.669376, 181.505264, -1, -1);
AddStaticVehicle(451, 418.300170, 2452.129150, 16.210147, 357.882751, -1, -1);
AddStaticVehicle(451, 414.933654, 2452.368408, 16.206541, 358.414520, -1, -1);
AddStaticVehicle(451, 411.743713, 2452.503662, 16.207063, 355.572204, -1, -1);
AddStaticVehicle(557, 398.852294, 2453.018798, 16.875005, 301.643890, -1, -1);
AddStaticVehicle(557, 396.303405, 2457.207031, 16.875015, 301.949401, -1, -1);
AddStaticVehicle(557, 393.865631, 2462.077148, 16.874980, 302.520355, -1, -1);
AddStaticVehicle(522, 406.747772, 2551.235351, 15.882759, 0.533275, 0,3);
AddStaticVehicle(522, 408.097961, 2551.025878, 15.881959, 180.126037, 0,3);
AddStaticVehicle(522, 409.315032, 2551.194580, 15.859077, 177.543716, 0,3);
AddStaticVehicle(522, 410.587799, 2551.239746, 15.850530, 178.361160, 0,3);
AddStaticVehicle(557, 419.352661, 2547.310546, 16.691345, 359.441528, -1, -1);
AddStaticVehicle(471, 414.581604, 2546.338134, 15.860092, 1.077967, -1, -1);
AddStaticVehicle(471, 413.178253, 2546.368652, 15.843948, 1.215922, -1, -1);
AddStaticVehicle(471, 411.745941, 2546.403076, 15.854510, 1.546798, -1, -1);
AddStaticVehicle(451, 408.414642, 2559.051757, 16.120565, 217.480102, -1, -1);
AddStaticVehicle(411, 410.791534, 2561.144531, 16.146558, 218.049377, -1, -1);
AddStaticVehicle(541, 413.786041, 2562.785156, 16.090642, 218.618087, -1, -1);
AddStaticVehicle(495, 182.958999, 2401.881591, 16.765716, 45.888301, -1, -1);
AddStaticVehicle(502, 179.952621, 2398.037597, 16.271949, 41.966564, -1, -1);
AddStaticVehicle(557, 176.996337, 2394.137207, 16.859422, 41.012168, -1, -1);
AddStaticVehicle(522, 183.239425, 2419.124755, 16.049060, 316.163574, 0,3);
AddStaticVehicle(522, 182.956359, 2419.573486, 16.058511, 318.319427, 0,3);
AddStaticVehicle(522, 182.109725, 2420.493164, 16.058782, 314.855743, 0,3);
AddStaticVehicle(522, 181.351654, 2421.569335, 16.058721, 313.779083, 0,3);
AddStaticVehicle(564, 175.960906, 2410.941650, 15.743356, 46.260929, -1, -1);
AddStaticVehicle(441, 174.681594, 2409.840820, 15.708362, 45.288944, -1, -1 );
AddStaticVehicle(564, 173.386734, 2408.729980, 15.777284, 46.688083, -1, -1 );
AddStaticVehicle(522, 283.544403, 2554.126953, 16.398200, 9.843097, 0,3 );
AddStaticVehicle(522, 284.630004, 2554.281494, 16.387697, 7.510004, 0,3 );
AddStaticVehicle(522, 281.372467, 2554.007324, 16.392944, 356.736633, 0,3 );
AddStaticVehicle(522, 282.592376, 2553.922363, 16.404617, 5.216521, 0,3 );
AddStaticVehicle(411, 296.911102, 2551.682861, 16.548748, 91.097900, -1, -1 );
AddStaticVehicle(411, 296.963012, 2548.411132, 16.548152, 91.177413, -1, -1 );
AddStaticVehicle(451, 296.620605, 2545.087402, 16.527286, 91.862335, -1,-1 );
AddStaticVehicle(451, 296.594757, 2541.895996, 16.527599, 91.893714, -1,-1);
AddStaticVehicle(471, 281.855194, 2551.081542, 16.299747, 269.025268, -1,-1);
AddStaticVehicle(471, 282.479644, 2549.580078, 16.300159, 265.854492, -1,-1);
AddStaticVehicle(471, 282.692382, 2547.919189, 16.299642, 269.337097, -1,-1);
AddStaticVehicle(541, 283.276123, 2545.000732, 16.443714, 271.423095, -1,-1);
AddStaticVehicle(541, 283.404571, 2541.884765, 16.443466, 269.585723, -1,-1);
AddStaticVehicle(522, -1646.340820, -195.826492, 13.715194, 131.813827, 0,3);
AddStaticVehicle(522, -1645.731567, -196.621597, 13.708865, 131.813842, 0,3 );
AddStaticVehicle(522, -1644.929931, -197.243911, 13.718981, 131.813903, 0,3 );
AddStaticVehicle(522, -1644.320434, -198.038833, 13.715817, 131.813949, 0,3 );
AddStaticVehicle(522, -1643.584960, -198.720886, 13.718503, 131.813766, 0,3 );
AddStaticVehicle(522, -1642.925659, -199.471694, 13.722271, 131.813537, 0,3 );
AddStaticVehicle(522, -1642.189697, -200.153320, 13.720980, 131.813720, 0,3 );
AddStaticVehicle(471, -1640.350097, -201.516967, 13.630461, 133.748031, -1, -1 );
AddStaticVehicle(471, -1639.288330, -202.652984, 13.658504, 133.781875, -1, -1 );
AddStaticVehicle(471, -1638.221923, -203.787048, 13.625817, 133.787231, -1, -1 );
AddStaticVehicle(471, -1637.160156, -204.923568, 13.664685, 133.803161, -1, -1 );
AddStaticVehicle(471, -1636.093139, -206.056213, 13.618412, 133.813079, -1, -1 );
AddStaticVehicle(411, -1653.207031, -192.019546, 13.873271, 224.992446, -1, -1 );
AddStaticVehicle(411, -1655.049560, -193.931869, 13.875518, 224.854080, -1, -1 );
AddStaticVehicle(411, -1657.044677, -195.849304, 13.875520, 224.552734, -1, -1 );
AddStaticVehicle(411, -1658.894531, -197.813674, 13.875518, 224.759216, -1, -1 );
AddStaticVehicle(451, -1659.970092, -204.745132, 13.855852, 314.250885, -1, -1 );
AddStaticVehicle(451, -1657.900512, -206.540237, 13.854521, 315.741546, -1, -1 );
AddStaticVehicle(451, -1656.080810, -208.617385, 13.853940, 315.383087, -1, -1 );
AddStaticVehicle(602, -1654.076416, -210.461349, 13.955578, 315.128173, -1, -1 );
AddStaticVehicle(602, -1651.912597, -212.546859, 13.954374, 314.215484, -1, -1 );
AddStaticVehicle(587, -1649.775512, -214.549438, 13.875042, 313.329254, -1, -1 );
AddStaticVehicle(587, -1647.486328, -216.728637, 13.875124, 311.816070, -1, -1 );
AddStaticVehicle(441, -1647.390502, -195.309036, 13.267193, 134.571090, -1, -1 );
AddStaticVehicle(444, 1499.730590, -2436.905517, 13.926278, 268.289947, -1, -1 );
AddStaticVehicle(602, 1499.933471, -2442.270996, 13.360519, 270.524627, -1, -1 );
AddStaticVehicle(602, 1500.053833, -2446.353027, 13.360099, 268.474395, -1, -1 );
AddStaticVehicle(602, 1500.014160, -2449.772949, 13.361506, 269.208190, -1, -1 );
AddStaticVehicle(587, 1500.369750, -2453.676025, 13.280761, 269.848175, -1, -1 );
AddStaticVehicle(587, 1499.848266, -2457.205566, 13.281805, 269.631469, -1, -1 );
AddStaticVehicle(541, 1499.722290, -2460.333740, 13.179406, 269.533599, -1, -1 );
AddStaticVehicle(541, 1499.605834, -2463.579101, 13.179770, 269.452423, -1, -1 );
AddStaticVehicle(541, 1499.421875, -2466.851074, 13.179726, 270.122161, -1, -1 );
AddStaticVehicle(548, 1494.713134, -2409.016845, 15.236344, 355.152069, -1, -1 );
AddStaticVehicle(488, 1462.493896, -2412.632080, 13.709598, 0.747715, -1, -1 );
AddStaticVehicle(488, 1454.483398, -2412.631835, 13.736532, 353.911315, -1, -1 );
AddStaticVehicle(447, 1444.119018, -2413.603515, 13.555548, 1.938611, -1, -1 );
AddStaticVehicle(519, 1417.872436, -2425.847167, 14.473983, 281.532623, -1, -1 );
AddStaticVehicle(519, 1422.452392, -2447.033691, 14.473749, 279.287719, -1, -1 );
AddStaticVehicle(593, 1425.575805, -2463.841308, 14.017692, 280.652435, -1, -1 );
AddStaticVehicle(548, 1431.593627, -2478.066894, 15.186732, 272.268890, -1, -1 );
AddStaticVehicle(422, 1499.427490, -2428.989257, 13.538400, 226.393737, -1, -1 );
AddStaticVehicle(422, 1502.551513, -2425.088623, 13.529573, 227.902481, -1, -1 );
AddStaticVehicle(437, 1543.177124, -2436.641113, 13.687969, 98.130546, -1, -1 );
AddStaticVehicle(437, 1543.718261, -2440.549316, 13.687988, 98.417594, -1, -1 );
AddStaticVehicle(437, 1544.277954, -2445.492919, 13.687995, 99.338981, -1, -1 );
AddStaticVehicle(412, 1540.237548, -2449.984130, 13.393102, 93.927871, -1, -1 );
AddStaticVehicle(412, 1540.529785, -2453.944824, 13.392025, 95.407051, -1, -1 );
AddStaticVehicle(443, 1486.799316, -2507.449951, 14.189010, 270.158142, -1, -1 );
AddStaticVehicle(443, 1486.808715, -2502.552490, 14.188776, 270.785552, -1, -1 );
AddStaticVehicle(443, 1486.991577, -2497.826904, 14.188369, 269.251068, -1, -1 );
AddStaticVehicle(573, 1484.840820, -2482.485595, 14.204795, 269.340301, -1, -1 );
AddStaticVehicle(573, 1484.570922, -2487.877685, 14.205197, 270.186920, -1, -1 );
AddStaticVehicle(573, 1484.610839, -2493.168945, 14.204580, 270.536102, -1, -1 );
AddStaticVehicle(406, 1488.251220, -2437.862792, 15.080053, 268.615997, -1, -1 );
AddStaticVehicle(406, 1488.125610, -2445.638183, 15.082463, 270.169342, -1, -1 );
AddStaticVehicle(522, 1505.395019, -2470.675048, 13.130869, 271.950317, 0,3 );
AddStaticVehicle(522, 1505.550170, -2469.593017, 13.119971, 271.375152, 0,3 );
AddStaticVehicle(483, 1499.725952, -2469.620849, 13.546833, 271.745117, -1, -1 );
AddStaticVehicle(483, 1499.802734, -2472.263427, 13.547099, 271.600250, -1, -1 );
AddStaticVehicle(483, 1499.893554, -2474.998535, 13.546923, 270.635375, -1, -1 );
AddStaticVehicle(557, 1490.441406, -2453.151611, 13.929977, 270.883850, -1, -1 );
AddStaticVehicle(557, 1490.735107, -2457.395507, 13.929966, 271.938659, -1, -1 );
AddStaticVehicle(557, 1490.619628, -2461.574462, 13.930000, 269.136779, -1, -1 );
AddStaticVehicle(572, 1529.922607, -2433.076660, 13.134535, 181.603210, -1, -1 );
AddStaticVehicle(572, 1520.089233, -2432.861816, 13.134520, 179.093154, -1, -1 );
AddStaticVehicle(572, 1521.876953, -2433.068359, 13.134581, 180.473846, -1, -1 );
AddStaticVehicle(572, 1523.675659, -2433.062011, 13.134582, 181.204498, -1, -1 );
AddStaticVehicle(572, 1525.517089, -2433.083007, 13.134587, 180.737930, -1, -1 );
AddStaticVehicle(572, 1527.140380, -2432.931884, 13.134519, 182.758789, -1, -1 );
AddStaticVehicle(572, 1535.152099, -2435.836914, 13.134469, 115.342033, -1, -1 );
AddStaticVehicle(495, 1490.727294, -2466.806152, 13.906464, 270.086425, -1, -1 );
AddStaticVehicle(495, 1490.659545, -2470.231689, 13.903389, 269.277282, -1, -1 );
AddStaticVehicle(495, 1490.560791, -2473.909912, 13.906432, 270.154846, -1, -1 );
AddStaticVehicle(502, 1540.897460, -2457.384277, 13.446578, 95.586669, -1, -1 );
AddStaticVehicle(502, 1542.936645, -2460.560791, 13.447231, 95.747062, -1, -1 );
AddStaticVehicle(502, 1543.284790, -2463.939941, 13.446534, 97.398406, -1, -1 );
AddStaticVehicle(468, 1521.612060, -2436.736083, 13.222593, 125.051719, -1, -1);
AddStaticVehicle(468, 1520.362548, -2436.442626, 13.223005, 124.265144, -1, -1);
AddStaticVehicle(468, 1519.276489, -2436.343261, 13.218864, 127.484428, -1, -1);
AddStaticVehicle(468, 1518.125854, -2436.080810, 13.223875, 133.221786, -1, -1);
AddStaticVehicle(522, 2064.470947, -2531.510742, 13.117551, 179.570297, 0,3);
AddStaticVehicle(522, 2065.747558, -2531.650634, 13.120230, 183.140151, 0,3);
AddStaticVehicle(522, 2067.062255, -2531.745849, 13.116312, 183.764633, 0,3);
AddStaticVehicle(522, 2068.542480, -2531.798828, 13.118249, 181.836212, 0,3);
AddStaticVehicle(522, 2069.944091, -2531.817626, 13.118000, 185.256530, 0,3);
AddStaticVehicle(559, 2072.637695, -2532.232177, 13.203246, 177.920410, -1, -1);
AddStaticVehicle(559, 2075.850341, -2532.209716, 13.203222, 178.774200, -1, -1);
AddStaticVehicle(560, 2078.115722, -2538.408935, 13.251789, 93.037719, -1, -1);
AddStaticVehicle(560, 2078.214355, -2541.828369, 13.251772, 92.377952, -1, -1);
AddStaticVehicle(411, 2078.416259, -2545.480957, 13.273958, 89.326278, -1, -1);
AddStaticVehicle(411, 2078.281738, -2548.733886, 13.273956, 89.175544, -1, -1);
AddStaticVehicle(433, 2075.348876, -2552.530273, 13.983068, 88.548118, -1, -1);
AddStaticVehicle(470, 2070.833007, -2556.896972, 13.541879, 78.434349, -1, -1);
AddStaticVehicle(522, 1864.230834, -1391.711547, 13.049771, 269.835601, -1, -1);
AddStaticVehicle(522, 1864.228637, -1392.663208, 13.058218, 270.380767, -1, -1);
AddStaticVehicle(522, 1864.256958, -1393.590454, 13.054364, 268.985229, -1, -1);
AddStaticVehicle(522, 1864.210815, -1394.575439, 13.054535, 267.327056, -1, -1);
AddStaticVehicle(522, 1864.209228, -1395.402221, 13.049014, 273.046173, -1, -1);
AddStaticVehicle(522, 1864.291870, -1396.307250, 13.047409, 276.273345, -1, -1);
AddStaticVehicle(468, 1864.365844, -1397.365966, 13.151989, 269.299804, -1, -1);
AddStaticVehicle(468, 1864.356079, -1398.291503, 13.151459, 271.162048, -1, -1);
AddStaticVehicle(468, 1864.357788, -1399.352416, 13.150812, 270.511444, -1, -1);
AddStaticVehicle(468, 1864.297607, -1400.277587, 13.149589, 271.875061, -1, -1);
AddStaticVehicle(471, 1869.346069, -1395.602050, 12.991743, 0.715854, -1, -1);
AddStaticVehicle(471, 1870.735229, -1395.575561, 13.003198, 0.815321, -1, -1);
AddStaticVehicle(471, 1872.142333, -1395.581909, 13.012006, 0.274178, -1, -1);
AddStaticVehicle(471, 1874.605468, -1397.260009, 13.027905, 270.350677, -1, -1);
AddStaticVehicle(471, 1874.599487, -1398.687988, 13.048207, 269.616119, -1, -1);
AddStaticVehicle(471, 1874.611938, -1400.204589, 13.025129, 269.596771, -1, -1);
AddStaticVehicle(411, 2956.557617, -1355.575073, 3398.308349, 176.862915, -1, -1);
AddStaticVehicle(411, 2953.387939, -1355.364501, 3398.308349, 176.171356, -1, -1);
AddStaticVehicle(411, 2950.186035, -1355.094604, 3398.308349, 177.715835, -1, -1);
AddStaticVehicle(451, 2959.823730, -1355.823608, 3398.291259, 176.505249, -1, -1);
AddStaticVehicle(451, 2962.941406, -1355.988403, 3398.295654, 176.563125, -1, -1);
AddStaticVehicle(541, 2975.136230, -1363.259887, 3398.206542, 86.329681, -1, -1);
AddStaticVehicle(541, 2974.884277, -1366.346435, 3398.205566, 86.296302, -1, -1);
AddStaticVehicle(541, 2974.660644, -1369.270019, 3398.205566, 86.199859, -1, -1);
AddStaticVehicle(437, 2975.257568, -1384.181274, 3398.715087, 356.671661, -1, -1);
AddStaticVehicle(437, 2970.785644, -1383.838012, 3398.714111, 356.079406, -1, -1);
AddStaticVehicle(437, 2965.641113, -1383.585815, 3398.716552, 355.151763, -1, -1);
AddStaticVehicle(573, 2961.028076, -1385.134155, 3399.231445, 355.597900, -1, -1);
AddStaticVehicle(573, 2957.182617, -1384.801269, 3399.239257, 354.998535, -1, -1);
AddStaticVehicle(573, 2953.260742, -1384.602783, 3399.231689, 355.740509, -1, -1);
AddStaticVehicle(411, 1426.185302, -1479.328491, 125.094284, 44.086048, -1, -1);
AddStaticVehicle(411, 1428.204223, -1477.046264, 125.094268, 46.199962, -1, -1);
AddStaticVehicle(451, 1408.204223, -1471.508056, 125.073104, 226.310287, -1, -1);
AddStaticVehicle(451, 1410.791503, -1469.080566, 125.074119, 225.844238, -1, -1);
AddStaticVehicle(522,2582.8042,664.6757,10.3091,260.1870,75,3); // nrg park
AddStaticVehicle(522,2576.3093,664.6965,10.3092,275.1035,75,3); // nrg park
AddStaticVehicle(522,2580.5217,661.9484,10.3018,273.6809,75,3); // nrg park
AddStaticVehicle(522,2576.2454,660.6604,10.3101,279.6108,75,3); // nrg park
AddStaticVehicle(522,2581.2874,655.0778,10.3049,257.9108,75,3); // nrg park
AddStaticVehicle(522,2576.0923,655.3790,10.3128,267.6046,75,3); // nrg park
AddStaticVehicle(522,2571.8442,656.4878,10.3109,211.5007,75,3); // nrg park
AddStaticVehicle(522,2570.2173,659.2488,10.3006,268.6016,75,3); // nrg park
AddStaticVehicle(522,2570.8049,663.1276,10.3070,261.3707,75,3); // nrg park
AddStaticVehicle(522,2574.2830,665.8401,10.3018,298.3684,75,3); // nrg park
AddStaticVehicle(522,1426.3601,-1337.1356,13.1534,7.5370,75,3); // nrg race
AddStaticVehicle(522,1425.7883,-1343.3053,13.1494,347.6379,75,3); // nrg race
AddStaticVehicle(522,1425.2146,-1350.0542,13.1457,358.8645,75,3); // nrg race
AddStaticVehicle(522,1425.1044,-1355.5773,13.1450,358.8745,75,3); // nrg race
AddStaticVehicle(522,1422.0748,-1356.0129,13.1376,346.5516,75,3); // nrg race
AddStaticVehicle(522,1422.1929,-1346.6115,13.1371,11.7318,75,3); // nrg race
AddStaticVehicle(522,1422.0460,-1337.4987,13.1387,355.7280,75,3); // nrg race
AddStaticVehicle(522,1422.2728,-1334.4486,13.1397,355.7515,75,3); // nrg race
AddStaticVehicle(522,1419.6459,-1336.2906,13.1335,182.4756,75,3); // nrg race
AddStaticVehicle(522,1419.9827,-1344.1892,13.1343,182.4291,75,3); // nrg race
AddStaticVehicle(522,1419.8752,-1355.3289,13.1344,179.0462,75,3); // nrg race
AddStaticVehicle(522,1423.5193,-1322.2716,13.1280,357.7047,75,3); // nrg race
AddStaticVehicle(522,1419.6422,-1318.6914,13.1230,339.8940,75,3); // nrg race
AddStaticVehicle(522,1421.6125,-1311.1735,13.1200,346.8080,75,3); // nrg race
AddStaticVehicle(522,1422.5382,-1307.2261,13.1201,346.8110,75,3); // nrg race
AddStaticVehicle(522,1422.6863,-1306.5931,13.1180,346.8109,75,3); // nrg race
AddStaticVehicle(522,1418.5784,-1305.7296,13.1219,185.5581,75,3); // nrg race
AddStaticVehicle(522,-1373.8726,-262.4546,13.7170,315.0000,13, 6); // NRG500
AddStaticVehicle(522,-1371.9263,-264.3422,13.7163,315.0000, 1, 3); // NRG500
AddStaticVehicle(522,-1369.9971,-266.2287,13.7170,315.0000, 1,79); // NRG500
AddStaticVehicle(522,-1368.1353,-267.9540,13.7269,315.0000,86, 0); // NRG500
AddStaticVehicle(522,-1366.1121,-269.9810,13.7188,315.0000,14,36); // NRG500
AddStaticVehicle(522,-1364.3026,-271.8025,13.7186,315.0000,13, 6); // NRG500
AddStaticVehicle(522,-1362.0038,-273.8415,13.7202,315.0000, 1, 3); // NRG500
AddStaticVehicle(522,-1377.4534,-259.0116,13.7122,315.0000,13,6); // NRG500
AddStaticVehicle(522,-1379.3185,-257.0810,13.7131,315.0000,14,36); // NRG500
AddStaticVehicle(522,-1381.5176,-254.9715,13.7222,315.0000, 1, 3); // NRG500
AddStaticVehicle(522,-1383.3665,-253.0600,13.7134,315.0000,86, 0); // NRG500
AddStaticVehicle(522,-1385.1018,-251.3301,13.7134,315.0000, 1, 3); // NRG500
AddStaticVehicle(522,-1386.8523,-249.5515,13.7118,315.0000,13, 6); // NRG500
AddStaticVehicle(444,-1392.4282,-243.9711,14.0000,225.0000, 1, 1); // MonsterA
AddStaticVehicle(444,-1389.3508,-240.9302,14.0000,225.0000, 1, 1); // MonsterA
AddStaticVehicle(471,-1351.8312,-273.2545,13.6289, 45.0000, 8, 8); // Quad
AddStaticVehicle(471,-1349.5969,-271.1838,13.6297, 45.0000, 8, 8); // Quad
AddStaticVehicle(471,-1351.8423,-268.9930,13.6299, 45.0000, 8, 8); // Quad
AddStaticVehicle(471,-1354.2938,-270.6590,13.6287, 45.0000, 8, 8); // Quad
AddStaticVehicle(481,-1348.1514,-269.1584,13.6641, 45.0000, 3, 3); // BMX
AddStaticVehicle(481,-1346.5349,-267.5531,13.6636, 45.0000, 3, 3); // BMX
AddStaticVehicle(481,-1344.8788,-265.9043,13.6638, 45.0000, 3, 3); // BMX
AddStaticVehicle(411,-1338.0559,-257.1164,13.8755, 45.0000, 8, 8); // Infernus
AddStaticVehicle(411,-1335.1530,-254.1786,13.7735, 45.0000, 8, 8); // Infernus
AddStaticVehicle(411,-1332.4734,-251.4005,13.7734, 45.0000, 8, 8); // Infernus
AddStaticVehicle(541,-1329.9636,-248.4910,13.7732, 45.0000, 1, 0); // Bullet
AddStaticVehicle(541,-1327.0488,-245.8576,13.7740, 45.0000, 1, 0); // Bullet
AddStaticVehicle(541,-1324.1519,-243.0222,13.7734, 45.0000, 1, 0); // Bullet
AddStaticVehicle(451,-1386.3595,-237.5734,13.8755,225.0000,99,99); // Turismo
AddStaticVehicle(451,-1383.9292,-234.7424,13.8542,225.0000,99,99); // Turismo
AddStaticVehicle(451,-1381.0438,-231.5789,13.8549,225.0000,99,99); // Turismo
AddStaticVehicle(451,-1378.6849,-228.1469,13.8549,225.0000,99,99); // Turismo
AddStaticVehicle(531,-1375.4926,-226.2805,14.1011,225.0000,25,25); // tractor
AddStaticVehicle(560,-1373.1289,-223.2703,13.8499,225.0000, 1, 1); // sultan
AddStaticVehicle(522,-1371.6478,-220.2627,13.7178,225.0000,86, 0); // NRG500
AddStaticVehicle(522,-1369.8684,-218.5093,13.7247,225.0000, 1, 3); // NRG500
AddStaticVehicle(522,-1368.0232,-216.6941,13.7162,225.0000,13, 6); // NRG500
AddStaticVehicle(522,-1366.4310,-215.0479,13.7184,225.0000,14,36); // NRG500
AddStaticVehicle(522,-1364.7598,-213.3435,13.7183,225.0000, 1, 3); // NRG500
AddStaticVehicle(411,2337.2683,-525.2702,849.2350,210.1113,15,122); // /wj
AddStaticVehicle(411,2340.1870,-548.9502,849.2667,184.8473,15,122); // /wj
AddStaticVehicle(411,2347.8816,-550.9654,849.2551,356.2671,15,122); // /wj
AddStaticVehicle(411,2347.4639,-542.6826,849.2550,359.2504,15,122); // /wj
AddStaticVehicle(411,2347.6384,-528.2308,849.2485,359.4300,15,122); // /wj
AddStaticVehicle(411,2347.7617,-516.2057,849.2814,359.4128,15,122); // /wj
AddStaticVehicle(411,2360.1033,-518.5410,849.2552,184.5679,15,122); // /wj
AddStaticVehicle(411,2360.0928,-535.7407,849.2563,180.0508,15,122); // /wj
AddStaticVehicle(411,2360.0864,-548.9233,849.2637,179.9683,15,122); // /wj
AddStaticVehicle(411,2360.0818,-559.1599,849.2717,179.9678,15,122); // /wj
AddStaticVehicle(411,2350.0029,-570.6080,849.2516,97.2452,15,122); // /wj
AddStaticVehicle(411,2336.6096,-571.6346,849.2676,94.0853,15,122); // /wj
AddStaticVehicle(411,2327.4329,-563.2797,849.2476,9.9320,15,122); // /wj
AddStaticVehicle(411,2327.2009,-553.7121,849.2641,0.2559,15,122); // /wj
AddStaticVehicle(411,2327.1584,-544.4821,849.2725,0.2518,15,122); // /wj
AddStaticVehicle(411,2327.1074,-533.0260,849.2519,0.2518,15,122); // /wj
AddStaticVehicle(411,2327.0474,-519.0929,849.2608,0.2491,15,122); // /wj
AddStaticVehicle(411,2326.9961,-507.5931,849.2515,0.2489,15,122); // /wj
AddStaticVehicle(411,2326.9590,-499.0272,849.2563,0.2489,15,122); // /wj
//Airport
AddStaticVehicle(447,-1423.7057,-266.4802,29.0000,225.2355,1,1); // Seaspar
AddStaticVehicle(460,-1549.0000,-263.5101, 14.5000,27.5000,1,1); // Skimmer
AddStaticVehicle(487,-1494.8989,-248.8462, 14.5000,35.2000,1,1); // Maverick
AddStaticVehicle(487,-1443.1107,-520.0154,14.5000,209.3651,1,1); // Maverick
AddStaticVehicle(513,-1383.7621,-483.0692,14.5000,207.5057,1,1); // Stuntplane
AddStaticVehicle(513,-1361.0543,-467.7611,14.5000,198.3902,1,1); // Stuntplane
AddStaticVehicle(513,-1586.2341,-568.6579,14.5000,209.0987,1,1); // Stuntplane
AddStaticVehicle(513,-1203.8029, 178.8728,14.5000, 93.4516,1,1); // Stuntplane
AddStaticVehicle(519,-1579.9270,-678.8997,14.5000, 3.3460,1,1); // Shamal
AddStaticVehicle(519,-1656.5577,-400.4685,14.5000, 24.1464,1,1); // Shamal
AddStaticVehicle(593,-1318.2959,-352.8320,14.5000,237.5523,1,1); // Dodo
AddStaticVehicle(593,-1508.1389,-536.6498,14.5000,200.8066,1,1); // Dodo
AddStaticVehicle(593,-1290.4484,-344.9474,14.5000,254.1266,1,1); // Dodo
AddStaticVehicle(577,-1295.3870,-575.2518,15.0000,133.8013,1,1); // AT400
AddStaticVehicle(485,-1374.8671,-524.8354,13.8336,296.5283,1,1); // baggage
AddStaticVehicle(485,-1376.2766,-521.7865,13.8328,296.2556,1,1); // baggage
AddStaticVehicle(485,-1378.0043,-518.6993,13.8298,296.1978,1,1); // baggage
AddStaticVehicle(485,-1379.6494,-515.2647,13.8292,297.3530,1,1); // baggage
AddStaticVehicle(608,-1329.5027,-502.5110,13.8328,116.9943,1,1); // TugStair
AddStaticVehicle(608,-1331.3389,-499.1902,13.8296,116.0873,1,1); // TugStair
AddStaticVehicle(608,-1332.7628,-496.3539,13.8303,116.3358,1,1); // TugStair
AddStaticVehicle(608,-1334.5317,-492.3205,13.8328,116.6575,1,1); // TugStair
AddStaticVehicle(606,-1386.4440,-500.6428,13.8356,294.6635,1,1); // BagBoxA
AddStaticVehicle(606,-1384.0209,-505.0760,13.8300,297.4223,1,1); // BagBoxA
//AA
AddStaticVehicle(577, 363.1010,2497.9917, 16.2000,100.0000,1,1); // AT400
AddStaticVehicle(447, 325.3195,2546.4934, 16.8000,180.0000,1,1); // Seasparrow
AddStaticVehicle(520, 290.7801,2543.5718, 16.5000,180.0000,1,1); // Hydra
AddStaticVehicle(608, 386.5729,2471.7349, 16.0711,270.0000,1,1); // TugStair
AddStaticVehicle(608, 385.8385,2467.1509, 16.0714,270.0000,1,1); // TugStair
AddStaticVehicle(485, 422.8667,2473.0918, 16.0636, 90.0000,1,1); // baggage
AddStaticVehicle(513, 404.4107,2438.3262, 16.5000, 0.0000,1,1); // Stuntplane
AddStaticVehicle(487, 365.4413,2537.5747, 16.2348, 0.0000,1,1); // Maverick
//Ramp Jump
AddStaticVehicle(451,2717.8242,-1683.0448,744.3694,272.8435,0,7); // rampjump
AddStaticVehicle(451,2717.5610,-1686.1118,744.3678,268.8651,0,7); // rampjump
AddStaticVehicle(451,2716.9189,-1705.7203,744.3686,176.7142,0,7); // rampjump
AddStaticVehicle(451,2716.1245,-1717.5083,744.3746,173.4592,0,7); // rampjump
AddStaticVehicle(451,2715.7354,-1730.5774,744.3728,179.8388,0,7); // rampjump
AddStaticVehicle(451,2726.0945,-1740.4929,744.3784,260.5851,0,7); // rampjump
AddStaticVehicle(451,2738.8943,-1741.5667,744.3845,266.6924,0,7); // rampjump
AddStaticVehicle(451,2748.4077,-1734.1871,744.3969,337.4872,0,7); // rampjump
AddStaticVehicle(451,2749.2915,-1722.9313,744.3798,359.3228,0,7); // rampjump
AddStaticVehicle(451,2749.2576,-1706.8931,744.3763,0.1686,0,7); // rampjump
AddStaticVehicle(451,2749.1448,-1684.9579,744.3814,0.3364,0,7); // rampjump
AddStaticVehicle(451,2749.0671,-1671.9333,744.3885,0.3486,0,7); // rampjump
AddStaticVehicle(444,2736.4231,-1686.1744,744.9160,2.4734,0,7); // rampjump
AddStaticVehicle(444,2736.5144,-1699.2000,744.9297,2.0477,0,7); // rampjump
//Stadium
new StadiumNRG500_1 = AddStaticVehicle(522,-1496.0048,1625.4183,1052.0997,268.6247,13,6); // NRG 500
new StadiumNRG500_2 = AddStaticVehicle(522,-1495.7233,1622.6516,1052.1017,267.5627,13,6); // NRG 500
new StadiumNRG500_3 = AddStaticVehicle(522,-1495.4155,1619.7268,1052.1012,270.7532,13,6); // NRG 500
new StadiumNRG500_4 = AddStaticVehicle(522,-1495.6400,1616.9315,1052.0990,268.9297,13,6); // NRG 500
new StadiumNRG500_5 = AddStaticVehicle(522,-1495.6876,1614.1799,1052.1058,269.9096,13,6); // NRG 500
new StadiumNRG500_6 = AddStaticVehicle(522,-1495.4916,1611.3296,1052.1057,271.6064,13,6); // NRG 500
LinkVehicleToInterior(StadiumNRG500_1,14);
LinkVehicleToInterior(StadiumNRG500_2,14);
LinkVehicleToInterior(StadiumNRG500_3,14);
LinkVehicleToInterior(StadiumNRG500_4,14);
LinkVehicleToInterior(StadiumNRG500_5,14);
LinkVehicleToInterior(StadiumNRG500_6,14);
AddStaticVehicle(411,1014.0234,2495.9260,419.8740,272.0977,0,1); // /hj
AddStaticVehicle(411,1014.0457,2504.7964,419.8719,91.0503,0,1); // /hj
AddStaticVehicle(411,1013.6475,2510.9966,419.8688,272.1955,0,1); // /hj
AddStaticVehicle(411,1000.9928,2519.7761,419.8805,1.2380,0,1); // /hj
AddStaticVehicle(411,984.8433,2519.2583,419.8727,179.9000,0,1); // /hj
AddStaticVehicle(506,978.4536,2519.4272,419.8491,2.2029,0,1); // /hj
AddStaticVehicle(411,968.5220,2518.9211,419.8633,3.1199,0,1); // /hj
AddStaticVehicle(411,952.8918,2518.1418,419.8757,0.9124,0,1); // /hj
AddStaticVehicle(411,953.8187,2488.8491,419.8729,180.4177,0,1); // /hj
AddStaticVehicle(411,988.7657,2489.8650,419.8715,183.3156,0,1); // /hj
AddStaticVehicle(411,988.7653,2489.8650,419.8715,183.3155,0,1); // /hj
AddStaticVehicle(411,994.8170,2500.2305,419.8737,178.2808,0,1); // /hj
AddStaticVehicle(411,975.9162,2499.3784,419.8622,179.1564,0,1); // /hj
AddStaticVehicle(411,969.2159,2499.0354,419.8701,1.8857,0,1); // /hj
AddStaticVehicle(411,962.9695,2498.8560,419.8656,1.0403,0,1); // /hj
AddStaticVehicle(411,978.8847,2508.5132,419.8672,3.0569,0,1); // /hj
AddStaticVehicle(411,994.9991,2509.1646,419.8607,0.7477,0,1); // /hj
AddStaticVehicle(557,959.4510,2518.9521,420.5789,9.3125,1,1); // /hj
AddStaticVehicle(411,2330.4163,42.0541,209.6414,271.3032,0,1); // /wj
AddStaticVehicle(451,2360.0894,58.1181,209.6226,267.9426,0,7); // /wj
AddStaticVehicle(411,2359.4656,42.1532,209.6411,92.2173,0,1); // /wj
AddStaticVehicle(411,2349.2788,55.0992,209.6316,90.7585,0,1); // /wj
AddStaticVehicle(411,2341.3525,58.2162,209.6424,266.9088,0,1); // /wj
AddStaticVehicle(411,2341.0225,51.8438,209.6288,266.9736,0,1); // /wj
AddStaticVehicle(411,816.5153,-2502.8564,455.1706,271.8463,0,1); // /bj
AddStaticVehicle(411,2340.5110,45.2892,209.6295,92.3428,0,1); // /wj
AddStaticVehicle(411,2340.8411,39.1084,209.6349,88.4242,0,1); // /wj
AddStaticVehicle(411,816.4825,-2506.2544,455.1679,90.2446,0,1); // /bj
AddStaticVehicle(411,816.5678,-2509.3018,455.1746,91.3181,0,1); // /bj
AddStaticVehicle(411,827.7114,-2512.3232,455.1752,87.3643,0,1); // /bj
AddStaticVehicle(411,827.2331,-2502.5959,455.1713,92.8335,0,1); // /bj
AddStaticVehicle(411,826.8424,-2499.0012,455.1708,273.5380,0,1); // /bj
AddStaticVehicle(411,846.4037,-2501.7500,455.1718,92.3136,0,1); // /bj
AddStaticVehicle(411,846.2562,-2505.0322,455.1703,91.7008,0,1); // /bj
AddStaticVehicle(411,846.4751,-2508.1365,455.1649,92.0153,0,1); // /bj
AddStaticVehicle(411,846.4503,-2511.4905,455.1653,93.3589,0,1); // /bj
AddStaticVehicle(411,846.5873,-2514.7505,455.1737,91.9618,0,1); // /bj
AddStaticVehicle(411,840.9713,-2530.0657,455.1708,179.8004,0,1); // /bj
AddStaticVehicle(411,837.6013,-2529.8884,455.1659,184.1806,0,1); // /bj
AddStaticVehicle(411,834.2076,-2530.1072,455.1717,359.8853,0,1); // /bj
AddStaticVehicle(411,829.0101,-2531.3711,455.1661,5.0933,0,1); // /bj
//Chilliad
AddStaticVehicle(411,-2354.0881,-1637.2566,483.4302,297.4919,75,1); // Infernus
AddStaticVehicle(411,-2355.4951,-1633.8690,483.4252,282.5932,123,1); // Infernus
AddStaticVehicle(411,-2354.8496,-1630.1470,483.4121,263.5838,64,1); // Infernus
AddStaticVehicle(411,-2354.0413,-1626.8356,483.4024,255.6960,12,1); // Infernus
AddStaticVehicle(406,-2348.9104,-1614.6838,485.1739,253.9140,1,1); // Dumper
AddStaticVehicle(444,-2348.2520,-1607.7555,484.0088,254.5864,32,66); // Monster
AddStaticVehicle(522,-2349.6660,-1602.6708,483.1994,244.9188,6,25); // NRG500
AddStaticVehicle(522,-2348.7610,-1600.9652,483.1856,242.9171,3,3); // NRG500
AddStaticVehicle(522,-2348.0237,-1599.0815,483.1781,246.8820,3,8); // NRG500
AddStaticVehicle(522,-2347.2673,-1597.3503,483.1740,246.3695,7,79); // NRG500
AddStaticVehicle(487,-2337.0449,-1585.2484,483.7675,201.4765,26,57); // Maverick
///////////////////////////////Races//////////////////////////////////////
AddStaticVehicle(451,1805.5664,860.8297,10.5115,357.9862,0,7); // lvdrag cars
AddStaticVehicle(451,1809.1814,859.2795,10.5156,2.2187,0,7); // lvdrag cars
AddStaticVehicle(451,1813.7501,860.5101,10.5209,358.8737,0,7); // lvdrag cars
AddStaticVehicle(451,1796.0927,828.6845,10.5006,273.3008,0,7); // lvcurcuit car
AddStaticVehicle(451,1796.4913,834.8134,10.5228,269.9361,0,7); // lvcurcuit car
AddStaticVehicle(451,1797.1428,838.6053,10.5171,271.7476,0,7); // lvcurcuit car
//SkatePark
AddStaticVehicle(522,1926.0486,-1413.5530,13.1452,184.4530,51,118); // NRG500
AddStaticVehicle(481,1918.6749,-1415.5945,13.0830,94.9541,14,1); // BMX
AddStaticVehicle(522,1909.8756,-1414.8008,13.1451,182.6122,3,3); // NRG500
AddStaticVehicle(481,1864.4189,-1404.8215,12.9928,94.9615,1,1); // BMX
AddStaticVehicle(481,1864.2238,-1403.3655,12.9949,89.4963,6,6); // BMX
AddStaticVehicle(481,1864.6633,-1401.9049,12.9937,87.5654,3,3); // BMX
AddStaticVehicle(411,1866.3643,-1394.3004,13.2242,91.8053,106,1); // Infernus
AddStaticVehicle(522,1923.1249,-1438.8029,13.1157,1.1435,6,25); // NRG500
AddStaticVehicle(522,1920.9752,-1438.9794,13.1088,2.0674,7,79); // NRG500
AddStaticVehicle(522,1919.0409,-1439.2275,13.1141,1.8678,8,82); // NRG500
AddStaticVehicle(522,1917.2894,-1438.8982,13.1094,4.0703,36,105); // NRG500
AddStaticVehicle(522,1915.3318,-1439.0115,13.1157,357.8111,39,106); // NRG500
//LV Airport
AddStaticVehicle(577,1584.8319,1192.0465,10.7274,181.7719,8,7); // AT400
AddStaticVehicle(411,1319.1796,1278.6826,10.5474,0.2341,80,1); // Infernus
AddStaticVehicle(513,1285.7657,1394.3384,11.3844,276.2746,21,36); // StuntPlane
AddStaticVehicle(513,1284.2158,1409.6293,11.3650,270.3876,21,34); // StuntPlane
AddStaticVehicle(487,1352.4438,1385.4857,10.9925,353.5326,29,42); // Maverick
AddStaticVehicle(487,1432.8450,1382.2856,10.9990,205.8128,54,29); // Maverick
AddStaticVehicle(487,1628.5409,1555.4915,10.9854,324.6620,54,29); // Maverick
AddStaticVehicle(519,1337.0020,1498.3242,11.7387,237.3420,1,1); // Shamal
//Trains
AddStaticVehicle(537,1695.2631,-1953.6426,14.8756,89.9202,1,1); // LSTrain
AddStaticVehicle(537, 1466.8977, 2632.2500,12.1256,270.0000,1,1); // LVTrain1
AddStaticVehicle(537, 2864.7500, 1254.7863,12.1256,180.0000,1,1); // LVTrain2
AddStaticVehicle(537,-1942.9858, 165.1703,27.0006,356.8288,1,1); // SFSTrain
//Derby
new DerbyBloodringBanger_1 = AddStaticVehicle(504,-1355.5416,936.6710,1036.1837,11.4329,1,1); // BloodringBanger
new DerbyBloodringBanger_2 = AddStaticVehicle(504,-1350.6061,937.5493,1036.1947,12.4710,1,1); // BloodringBanger
new DerbyBloodringBanger_3 = AddStaticVehicle(504,-1345.6512,938.5836,1036.2046,13.2675,1,1); // BloodringBanger
new DerbyBloodringBanger_4 = AddStaticVehicle(504,-1340.6078,939.9857,1036.2150,17.2391,1,1); // BloodringBanger
new DerbyBloodringBanger_5 = AddStaticVehicle(504,-1336.7312,941.1116,1036.2316,17.4418,1,1); // BloodringBanger
new DerbyBloodringBanger_6 = AddStaticVehicle(504,-1331.5814,942.9241,1036.2539,20.6521,1,1); // BloodringBanger
LinkVehicleToInterior(DerbyBloodringBanger_1,15);
LinkVehicleToInterior(DerbyBloodringBanger_2,15);
LinkVehicleToInterior(DerbyBloodringBanger_3,15);
LinkVehicleToInterior(DerbyBloodringBanger_4,15);
LinkVehicleToInterior(DerbyBloodringBanger_5,15);
LinkVehicleToInterior(DerbyBloodringBanger_6,15);
//Dirt
new DirtBandito_1 = AddStaticVehicle(568,-1293.6066,-699.9584,1056.1979,32.9697,13,6); // Bandito
new DirtBandito_2 = AddStaticVehicle(568,-1290.6547,-705.1854,1055.9683,25.9573,13,6); // Bandito
new DirtBandito_3 = AddStaticVehicle(568,-1288.5525,-710.9236,1055.3217,13.2351,13,6); // Bandito
new DirtBandito_4 = AddStaticVehicle(568,-1288.0195,-716.4835,1054.2349,1.8518,13,6); // Bandito
new DirtBandito_5 = AddStaticVehicle(568,-1288.5397,-722.2761,1052.8531,350.2811,13,6); // Bandito
new DirtBandito_6 = AddStaticVehicle(568,-1290.4360,-727.0573,1051.5167,336.0467,13,6); // Bandito
LinkVehicleToInterior(DirtBandito_1,4);
LinkVehicleToInterior(DirtBandito_2,4);
LinkVehicleToInterior(DirtBandito_3,4);
LinkVehicleToInterior(DirtBandito_4,4);
LinkVehicleToInterior(DirtBandito_5,4);
LinkVehicleToInterior(DirtBandito_6,4);
//UpsideDown
godcar[0] = AddStaticVehicle(411,361.7381,-80.0696,558.1525,269.7961,8,8); // Infernus
godcar[1] = AddStaticVehicle(411,372.4498,-80.1074,558.1525,269.7960,3,8); // Infernus
godcar[2] = AddStaticVehicle(411,383.7889,-80.1475,558.1524,269.7958,25,8); // Infernus
godcar[3] = AddStaticVehicle(411,361.0311,-85.0374,558.1525,269.1889,3,8); // Infernus
godcar[4] = AddStaticVehicle(411,373.0689,-85.2083,558.1524,269.1889,6,8); // Infernus
godcar[5] = AddStaticVehicle(411,384.1176,-85.3655,558.1525,269.1888,0,8); // Infernus
//AquaPark
AddStaticVehicle(493,253.6098,-1917.8197,-0.1049,180.9621,36,13); // Jetmax
AddStaticVehicle(493,264.7177,-1917.2307,-0.1223,181.6459,36,13); // Jetmax
AddStaticVehicle(493,275.6197,-1917.8173,-0.0792,180.5575,36,13); // Jetmax
AddStaticVehicle(493,286.7505,-1917.6251,-0.1524,180.8557,36,13); // Jetmax
AddStaticVehicle(487,783.7361,-2770.7788,4.8392,0.0095,0,0); //
//Home
AddStaticVehicle(451,1312.8817,1279.0571,10.6729,2.2045,0,7); // home
AddStaticVehicle(451,1315.8687,1278.2118,10.6696,1.3279,0,7); // home
AddStaticVehicle(568,1306.2701,1279.1356,10.6853,9.2515,0,7); // home
AddStaticVehicle(568,1281.8689,1287.8005,10.6870,274.1414,0,7); // home
AddStaticVehicle(539,1282.6917,1290.8094,10.1796,91.0285,0,7); // home
AddStaticVehicle(601,1281.7629,1294.1239,10.5791,84.9995,0,7); // home
AddStaticVehicle(444,1282.1941,1299.0156,11.1916,90.0381,0,7); // home
AddStaticVehicle(406,1282.7418,1306.3467,12.3589,271.0302,0,7); // home
AddStaticVehicle(520,1279.5978,1329.8539,11.4768,274.9064,81,82); // home
AddStaticVehicle(520,1284.8981,1319.4436,11.4741,267.5309,95,103); // home
AddStaticVehicle(520,1280.8159,1355.3214,11.4728,265.8821,24,32); // home
AddStaticVehicle(520,1281.6180,1366.6979,11.4711,270.0271,8,43); // home
//LOCO
AddStaticVehicle(536,2657.1470,-1996.6016,13.4263,268.4754,88,64); //
AddStaticVehicle(536,2651.8745,-2011.7032,13.2929,271.7134,32,1); //
AddStaticVehicle(536,2649.6208,-1997.3774,13.3919,89.1916,10,8); //
AddStaticVehicle(560,-1659.6647,1213.7341,13.3962,247.0367,1,103); // /ottos
AddStaticVehicle(411,-1661.6212,1206.0229,20.8818,357.6327,80,1); // /ottos
AddStaticVehicle(541,-1654.4594,1206.0122,20.8097,0.2429,58,8); // /ottos
AddStaticVehicle(522,-1669.1658,1206.7979,6.8225,302.8075,39,106); // /ottos
AddStaticVehicle(565,-1661.5074,1213.8861,6.8928,272.3399,62,62); // /ottos
//ARCH
AddStaticVehicle(560,-2708.9094,232.6029,3.8995,178.0430,3,6); // /arch
AddStaticVehicle(565,-2703.7358,234.0724,3.8278,178.7201,2,79); // /arch
AddStaticVehicle(411,-2691.1746,220.3039,3.9021,89.5966,0,10); // /arch
AddStaticVehicle(559,-2703.7295,200.9692,3.8284,359.6771,101,6); // /arch
AddStaticVehicle(562,-2709.4353,206.8056,3.8382,178.8777,0,79); // /arch
AddStaticVehicle(522,-659.3141,2321.9236,138.2066,78.5260,8,82); // jump
AddStaticVehicle(522,-658.7019,2324.4880,138.1515,75.5829,36,105); // jump
AddStaticVehicle(522,-657.8578,2328.6467,138.0974,82.1578,3,3); // jump
AddStaticVehicle(522,-658.2217,2326.7329,138.1198,80.5493,3,8); // jump
AddStaticVehicle(429,-639.8393,2320.9602,134.1626,90.1781,2,1); // jump
AddStaticVehicle(429,-639.7183,2326.2781,134.3601,88.4818,1,2); // jump
AddStaticVehicle(429,-639.2462,2331.2996,134.7150,87.8269,14,14); // jump
AddStaticVehicle(429,-638.9659,2336.1677,135.0621,90.5389,13,13); // jump
AddStaticVehicle(571,2949.2559,-1570.5994,2.5415,351.9724,36,2); // VKart
AddStaticVehicle(571,2950.7302,-1563.2994,2.5379,345.1108,36,2); // VKart
AddStaticVehicle(571,2956.4055,-1558.9786,2.5300,236.3201,36,2); // VKart
AddStaticVehicle(571,2957.1533,-1565.2164,2.5301,169.3183,36,2); // VKart
AddStaticVehicle(571,2960.8206,-1571.1971,2.5646,228.2553,36,2); // VKart
AddStaticVehicle(571,2960.7031,-1577.7333,2.6636,126.8082,36,2); // VKart
AddStaticVehicle(571,2949.7163,-1580.4073,2.4090,103.9799,36,2); // VKart
AddStaticVehicle(430,2956.2437,-1634.7837,0.0128,247.4243,46,26); // boatDM
AddStaticVehicle(430,2968.9956,-1628.6586,-0.4432,12.9400,46,26); // boatDM
AddStaticVehicle(430,2955.6550,-1609.1661,-0.3198,61.4797,46,26); // boatDM
AddStaticVehicle(430,2936.1160,-1622.7919,-0.3553,178.3187,46,26); // boatDM
AddStaticVehicle(432,1265.2534,-2019.1312,59.2749,50.8005,43,0); // rhino
AddStaticVehicle(432,1253.6125,-2012.5835,59.6158,84.3062,43,0); // rhino
AddStaticVehicle(432,1250.3611,-2034.6945,59.7109,171.1986,43,0); // rhino
AddStaticVehicle(432,1268.3273,-2030.2533,59.1892,238.1996,43,0); // rhino
AddStaticVehicle(432,1263.7827,-2037.8463,59.3189,89.4856,43,0); // rhino
AddStaticVehicle(534,2645.0161,-1990.4507,13.2789,180.9674,42,42); //
AddStaticVehicle(567,2636.2319,-2001.4719,13.4205,269.6246,88,64); //
AddStaticVehicle(567,2636.4453,-2005.3247,13.4268,272.2252,90,96); //
AddStaticVehicle(534,2644.9954,-1983.0259,13.2759,178.4302,53,53); //
AddStaticVehicle(535,2657.5601,-1998.5138,13.2296,90.5352,31,1); //
AddStaticVehicle(535,2657.6609,-2009.5535,13.2317,91.8892,28,1); //
AddStaticVehicle(549,2395.6509,1040.0244,10.5176,181.8852,75,39); //
AddStaticVehicle(496,2400.3557,1040.5125,10.5445,181.1935,66,72); //
AddStaticVehicle(429,2407.3540,1021.2560,10.5026,90.0793,1,3); //
AddStaticVehicle(541,2394.1348,1015.7099,10.4482,90.2018,58,8); //
AddStaticVehicle(429,2394.0378,1012.0408,10.5014,88.2903,3,1); //
AddStaticVehicle(496,2394.0583,1007.9249,10.5393,88.7509,53,56); //
AddStaticVehicle(549,2379.0830,1010.2419,10.5202,0.1422,72,39); //
AddStaticVehicle(541,2379.6204,1040.4528,10.4485,179.4767,60,1); //
AddStaticVehicle(561,-2680.4995,223.2173,4.0650,91.2347,43,21); //
AddStaticVehicle(562,-2686.4939,223.0991,3.9119,90.8612,17,1); //
AddStaticVehicle(559,-2692.1426,223.0109,3.9116,91.7756,60,1); //
AddStaticVehicle(565,-2692.0063,204.6646,3.9633,0.3968,53,53); //
AddStaticVehicle(561,-2683.8806,207.4667,4.1482,89.8737,8,17); //
AddStaticVehicle(560,-2675.9341,204.8036,4.0430,359.0733,17,1); //
AddStaticVehicle(559,-2701.8318,201.5778,3.9108,357.7781,58,8); //
AddStaticVehicle(560,-2711.4099,202.4772,3.9578,358.4762,9,39); //
AddStaticVehicle(565,-2711.5002,233.0337,3.8812,179.0709,42,42); //
AddStaticVehicle(562,-2701.2612,233.1263,3.9123,180.5550,35,1); //
AddStaticVehicle(504,-1133.7411,-1058.5880,129.0111,358.3974,86,86); // Derbycar
AddStaticVehicle(504,-1138.5369,-1058.1327,129.0110,356.9914,7,7); // derbycar
AddStaticVehicle(504,-1142.7703,-1057.9033,129.0111,357.3135,42,42); // Derbycar
AddStaticVehicle(504,-1147.1832,-1057.9855,129.0111,358.1117,51,51); // Derbycar
AddStaticVehicle(504,-1151.6085,-1057.7751,129.0112,356.3275,118,118); // Derbycar
AddStaticVehicle(504,-1155.5637,-1057.9521,129.0112,359.9536,79,79); // Derbycar
AddStaticVehicle(451,-2411.5598,-585.6307,132.3086,215.6878,11,1); // drift1
AddStaticVehicle(451,-2414.1277,-587.6025,132.3079,216.2504,116,1); // drift1
AddStaticVehicle(562,-2416.4407,-589.3303,132.3071,215.8436,113,1); // drift1
AddStaticVehicle(562,-2408.9907,-583.7567,132.3065,216.1684,101,1); // drift1
AddStaticVehicle(541,-318.0000,1515.9618,74.9823,359.7057,68,8); // drift2
AddStaticVehicle(541,-324.0556,1515.7854,74.9845,0.5455,2,1); // drift2
AddStaticVehicle(562,-321.0821,1515.7133,75.0186,0.4362,92,1); // drift2
AddStaticVehicle(562,-314.7585,1515.8209,75.0156,1.2582,36,1); // drift2
AddStaticVehicle(451,2312.4407,1387.3271,42.4799,359.1716,35,1); // drift3
AddStaticVehicle(562,2309.1775,1387.3855,42.4786,359.5522,17,1); // drift3
AddStaticVehicle(451,2305.5750,1387.3441,42.4799,359.3799,11,1); // drift3
AddStaticVehicle(562,2302.3088,1387.4829,42.4798,358.7405,113,1); // drift3
AddStaticVehicle(519,1284.5516,1473.8401,11.7409,271.1546,1,1); // lotnisko
AddStaticVehicle(519,1285.3225,1452.7368,11.7359,271.7581,1,1); // lotnisko
AddStaticVehicle(476,1282.9326,1435.0739,11.5353,267.4384,1,6); // lotnisko
AddStaticVehicle(476,1283.2781,1423.0254,11.5216,272.4874,7,6); // lotnisko
AddStaticVehicle(593,1283.7325,1410.5983,11.2687,267.2320,68,8); // lotnisko
AddStaticVehicle(593,1283.8346,1397.3442,11.2777,269.8309,60,1); // lotnisko
AddStaticVehicle(593,1284.4512,1382.6407,11.2763,271.2416,58,8); // lotnisko
AddStaticVehicle(493,226.9013,-1919.5658,-0.0732,182.2593,36,13); // jetmax
AddStaticVehicle(493,221.1933,-1918.1852,-0.1058,179.2598,36,13); // jetmax
AddStaticVehicle(493,233.1561,-1918.7250,-0.0702,179.9443,36,13); // jetmax
//------stunt park-------------------------------------------------------
AddStaticVehicle(522,2129.2837,-2609.2485,13.1170,90.4466,8,82); //
AddStaticVehicle(522,2128.9736,-2611.4607,13.1072,98.8816,3,3); //
AddStaticVehicle(522,2129.1648,-2610.1831,13.1168,91.9737,3,8); //
AddStaticVehicle(522,2128.2871,-2613.4036,13.1004,94.4225,51,118); //
AddStaticVehicle(522,2127.8540,-2614.4099,13.1005,90.4727,39,106); //
AddStaticVehicle(522,2126.7937,-2616.9375,13.1072,98.8815,36,105); //
AddStaticVehicle(522,2127.4319,-2615.3887,13.1048,95.5269,7,79); //
AddStaticVehicle(522,2126.1541,-2618.6692,13.0982,98.7364,6,25); //
AddStaticVehicle(522,2125.8093,-2619.4751,13.1079,99.1264,3,8); //
AddStaticVehicle(522,2124.8811,-2621.5583,13.1238,97.4333,3,3); //
AddStaticVehicle(522,2124.6812,-2622.2625,13.1035,95.9889,51,118); //
AddStaticVehicle(522,2123.7986,-2624.2378,13.0959,94.8977,39,106); //
AddStaticVehicle(522,2123.5178,-2625.2456,13.1167,79.1051,7,79); //
AddStaticVehicle(522,2123.1616,-2626.3792,13.0977,97.5864,36,105); //
AddStaticVehicle(444,1229.6320,-2492.0571,172.2451,269.8000,32,42); //
AddStaticVehicle(444,1229.6320,-2497.9236,172.2430,270.3023,32,53); //
AddStaticVehicle(444,1842.4915,-2637.5122,13.9200,1.7663,32,66); //
AddStaticVehicle(444,1838.1868,-2637.7029,13.9182,0.7508,32,32); //
AddStaticVehicle(444,1834.0966,-2637.7520,13.9180,0.3828,32,36); //
AddStaticVehicle(411,1794.9098,-2407.0430,13.3001,189.4724,106,1); //
AddStaticVehicle(411,1798.1608,-2406.5073,13.3000,188.1078,80,1); //
AddStaticVehicle(411,1801.6112,-2406.0759,13.3000,186.7275,75,1); //
AddStaticVehicle(411,2082.6201,-2381.2100,13.2922,87.6234,75,1); //
AddStaticVehicle(411,2082.4829,-2384.7632,13.2922,89.3373,12,1); //
AddStaticVehicle(411,2082.5515,-2388.0691,13.2922,88.3276,64,1); //
AddStaticVehicle(468,1775.7487,-2296.9207,61.9279,23.5962,46,46); //
AddStaticVehicle(468,1773.2402,-2297.7742,61.9198,21.6913,53,53); //
AddStaticVehicle(468,1771.0897,-2298.9905,61.9276,19.1318,6,6); //
AddStaticVehicle(468,1767.5759,-2299.1799,61.9279,20.7889,46,46); //
AddStaticVehicle(468,1764.5636,-2300.7705,61.9278,18.9654,53,53); //
AddStaticVehicle(468,1761.7115,-2301.9268,61.9278,22.2543,3,3); //
AddStaticVehicle(468,1778.7299,-2295.3347,61.9278,13.7246,3,3); //
AddStaticVehicle(471,1805.1260,-2563.1985,13.0525,359.5184,74,83); //
AddStaticVehicle(471,1802.6161,-2563.2493,13.0510,3.4557,120,113); //
AddStaticVehicle(471,1799.9739,-2563.1711,13.0511,4.1197,66,71); //
AddStaticVehicle(471,1797.5403,-2563.1541,13.0523,1.8008,120,117); //
AddStaticVehicle(471,1807.9215,-2563.2029,13.0518,0.6808,103,111); //
AddStaticVehicle(417,1524.2375,-2644.7686,71.9280,359.2267,0,0); //
AddStaticVehicle(522,2129.9526,-2598.1008,13.1072,188.4773,51,118); //
AddStaticVehicle(522,2130.4954,-2601.3311,13.1072,188.4773,39,106); //
AddStaticVehicle(522,2130.9102,-2603.8005,13.1072,188.4774,36,105); //
AddStaticVehicle(522,2134.4346,-2602.7407,13.1424,188.2812,6,25); //
AddStaticVehicle(522,2135.4414,-2603.9639,13.1074,185.0344,3,8); //
AddStaticVehicle(522,2133.7092,-2599.5386,13.1072,188.4417,7,79); //
AddStaticVehicle(522,2132.8879,-2597.6074,13.1158,188.0616,8,82); //
AddStaticVehicle(522,2112.3416,-2600.9219,13.1048,188.3479,8,82); //
AddStaticVehicle(522,2108.1899,-2624.0979,13.1081,188.4773,6,25); //
AddStaticVehicle(522,2108.7615,-2620.4797,13.1480,190.9277,8,82); //
AddStaticVehicle(522,2109.2480,-2618.3115,13.1391,191.9287,7,79); //
AddStaticVehicle(522,2109.5229,-2616.1399,13.1070,190.1755,36,105); //
AddStaticVehicle(522,2110.2192,-2613.1194,13.1456,188.1147,39,106); //
AddStaticVehicle(522,2110.4512,-2610.4099,13.1092,188.7314,51,118); //
AddStaticVehicle(522,2110.9509,-2607.3611,13.1094,188.4763,3,8); //
AddStaticVehicle(522,2111.4871,-2604.9639,13.1457,188.4775,6,25); //
AddStaticVehicle(522,2111.7251,-2602.4758,13.1339,189.2637,7,79); //
AddStaticVehicle(411,2144.2290,-2572.1475,13.2922,78.9948,116,1); //
AddStaticVehicle(411,2143.6365,-2576.6340,13.2922,82.3457,112,1); //
AddStaticVehicle(411,2143.0637,-2581.5723,13.2922,82.0861,106,1); //
AddStaticVehicle(411,2142.8767,-2586.6541,13.2921,81.1088,80,1); //
AddStaticVehicle(417,1463.5343,-2395.0068,52.2650,271.9891,0,0); //
AddStaticVehicle(522,-2032.9840,176.3355,28.4052,278.4746,36,105); //
AddStaticVehicle(522,-2032.8501,175.1526,28.3965,281.5421,7,79); //
AddStaticVehicle(522,-2032.5503,173.4749,28.3947,278.7239,6,25); //
AddStaticVehicle(522,-2032.2255,170.9243,28.3941,296.0592,3,8); //
AddStaticVehicle(522,-2031.6625,169.1264,28.4116,282.1407,3,3); //
AddStaticVehicle(522,-2031.6976,167.5826,28.3942,280.0745,51,118); //
AddStaticVehicle(509,2141.9673,-2591.8179,13.0701,76.2968,74,1); //
AddStaticVehicle(510,2140.8357,-2597.3958,13.1633,75.7728,46,46); //
AddStaticVehicle(510,2141.6216,-2593.6633,13.1664,78.7079,39,39); //
AddStaticVehicle(510,2141.1768,-2595.2698,13.1658,73.7039,28,28); //
AddStaticVehicle(481,2140.2561,-2598.8169,13.0737,89.3359,3,3); //
AddStaticVehicle(481,2139.8003,-2600.9312,13.0742,83.8094,6,6); //
AddStaticVehicle(444,2143.9629,-2562.9480,13.9338,138.0730,32,66); //
AddStaticVehicle(444,2138.6096,-2558.9087,13.9338,140.3046,32,14); //
AddStaticVehicle(444,2134.3513,-2553.6357,13.9338,140.8867,32,32); //
AddStaticVehicle(411,2120.1626,-2629.6116,13.2832,45.1216,64,1); //
AddStaticVehicle(411,2117.1101,-2632.5483,13.2861,43.8429,12,1); //
AddStaticVehicle(451,2113.6355,-2635.0789,13.2661,41.1492,61,61); //
AddStaticVehicle(451,2110.4248,-2637.5999,13.2661,42.3460,46,46); //
AddStaticVehicle(429,2106.6897,-2640.1506,13.2383,34.2380,12,12); //
AddStaticVehicle(429,2103.3286,-2641.9563,13.2383,23.5330,10,10); //
AddStaticVehicle(556,2088.1628,-2640.4526,13.9375,7.9430,1,1); //
AddStaticVehicle(403,1865.4496,-2349.4822,14.1680,259.2186,30,1); //
AddStaticVehicle(591,1852.3140,-2365.8792,14.1725,262.0656,40,1); //
AddStaticVehicle(403,1864.1525,-2355.2620,14.1874,259.6646,28,1); //
AddStaticVehicle(591,1853.5797,-2359.5974,14.1633,260.5608,25,1); //
AddStaticVehicle(403,1862.6393,-2361.0120,14.1744,260.1177,25,1); //
AddStaticVehicle(591,1855.0759,-2353.6763,14.1737,260.0085,40,1); //
AddStaticVehicle(403,1861.3846,-2367.0610,14.1839,260.5859,40,1); //
AddStaticVehicle(591,1856.3413,-2348.1633,14.1743,261.8797,25,1); //
//------- skroad -------------------------------------------
AddStaticVehicle(470,3914.2676,-1594.0166,1441.6450,178.7790,43,0); //
AddStaticVehicle(411,3907.1563,-1594.0342,1441.3846,178.7204,75,1); //
AddStaticVehicle(403,3937.7273,-1607.8701,1442.2546,90.4939,37,1); //
AddStaticVehicle(556,3936.5105,-1618.1447,1442.0275,90.2668,1,1); //
AddStaticVehicle(434,3899.8887,-1593.5781,1441.6248,177.7024,12,12); //
AddStaticVehicle(549,3893.3613,-1593.8932,1441.3549,180.0436,79,39); //
AddStaticVehicle(560,3885.9973,-1593.6990,1441.3546,180.7896,21,1); //
AddStaticVehicle(437,3937.1111,-1597.5286,1441.7886,90.3214,79,7); //
AddStaticVehicle(522,3906.6328,-1623.8096,1441.2152,1.5018,8,82); //
AddStaticVehicle(522,3910.0125,-1623.8680,1441.2085,0.0848,36,105); //
AddStaticVehicle(522,3903.1624,-1623.7916,1441.2240,359.0955,51,118); //
AddStaticVehicle(522,3900.0425,-1623.8105,1441.2184,358.9261,39,106); //
// big ramp
AddStaticVehicle(451,-1507.2697,-95.8448,13.8679,315.1670,125,125); //
AddStaticVehicle(451,-1510.8481,-92.2626,13.8677,314.8214,123,123); //
AddStaticVehicle(451,-1514.2601,-88.8630,13.8673,314.1568,75,75); //
AddStaticVehicle(411,-1518.2294,-84.7243,13.8876,313.2082,116,1); //
AddStaticVehicle(411,-1521.6333,-81.0892,13.8876,314.0365,123,1); //
AddStaticVehicle(411,-1525.8114,-76.6237,13.8876,312.5574,112,1); //
AddStaticVehicle(444,-1515.4773,-66.6259,14.5721,227.0735,32,53); //
AddStaticVehicle(444,-1510.1294,-61.3833,14.9054,231.0577,32,42); //
AddStaticVehicle(444,-1505.0365,-56.6277,14.9054,224.2681,32,36); //
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
//Hideout
AddStaticPickup(1240,2,-1431.1019,-960.7460,204.1925); //Health
AddStaticPickup(1242,2,-1425.2542,-966.5264,200.8284); //Armour
AddStaticPickup(350 ,2,-1429.6626,-966.2491,200.9092); //Sawnoff
AddStaticPickup(353 ,2,-1431.9618,-966.3460,200.9513); //SMG
AddStaticPickup(358 ,2,-1433.2585,-960.4415,204.1713); //Sniper
AddStaticPickup(365 ,2,-1435.0411,-961.2493,201.0102); //Spraycan
AddStaticPickup(361 ,2,-1430.6377,-958.7066,200.9308); //Flamethrower
AddStaticPickup(359 ,2,-1434.3942,-963.4763,205.5079); //Rocketlauncher
AddStaticPickup(348 ,2,-1429.1188,-961.2695,200.9017); //Desert eagle
// -------------------------------------------------------------
// Your Objects here
CreateObject(8040, 2732.5229, -1704.0598, 744.2955, 0.0000, 0.0000, 90.0000);//rampjump
CreateObject(8040, 831.0663, -2494.7395, 455.2103, 0.0000, 0.0000, 91.9597);//Bj
CreateObject(8040, 977.567749, 2504.309570, 419.911407, 0.0000, 0.0000, 181.3412);//hj
CreateObject(8040, 2344.988281, 40.223427, 209.679977, 0.0000, 0.0000, 90.2409);//wj
CreateObject(8040, 2343.6814, -534.7174, 849.2936, 0.0000, 0.0000, 90.0000);//wj
CreateObject(17559, 250.7292, -2226.6428, 12.3890, 0.0000, 0.0000, 180.0000);//waterpark
CreateObject(1391, 235.4838, -2211.9097, 1.3534, 0.0000, 0.0000, 0.0000);//waterpark
CreateObject(1391, 265.2446, -2210.8306, 1.3536, 0.0000, 0.0000, 0.0000);//waterpark
CreateObject(1391, 265.8133, -2251.9192, 1.3731, 0.0000, 0.0000, 0.0000);//waterpark
CreateObject(1391, 235.7225, -2251.1267, 1.3858, 0.0000, 0.0000, 0.0000);//waterpark
CreateObject(1632, 243.7627, -2214.3352, 15.2061, 0.0000, 0.0000, 360.0000);
CreateObject(18450, 355.043100, -82.583000, 557.081600,0.0000, 0.0000, 0.0000); //UpsideDown
CreateObject(8040, -3043.9668, 157.4549, 550.2222, 0.0000, 0.0000, 0.0000);
CreateObject(8040, 1414.4208, -825.9706, 77.2467, 0.0000, 0.0000, 0.0000);
CreateObject(17310, -2847.246338, 2185.518311, 798.000000,0.0000,180.3777, 0.0000); //FreeWay
CreateObject(17310, -2847.329590, 2197.264404, 798.000000,0.0000,180.3777, 0.0000); //FreeWay
CreateObject(17310, -2847.347656, 2201.005859, 799.250977,13.7510,180.3777, 0.0000); //FreeWay
CreateObject(17310, -2847.3096, 2174.8848, 796.0748, 18.9076, 180.3777, 0.0000);
CreateObject(18450, 1029.493530, 2787.852295,1066.784424, 0.0000, 0.0000, 0.0000); //WayToDeath
CreateObject( 4585,-2882.761475,-3096.203369,-21.231087, 0.0000, 0.0000, 0.0000); //BuildingJump spawnpoint
CreateObject(18450,-2383.949463, 2945.699219, 360.635925, 0.0000, 0.0000, 269.7591); //MonsterCrash
CreateObject(18450, -673.209045,-3053.225342, 704.263550,0.0000, 0.0000, 90.2409); //DeadJump
// -------------------------------------------------------------
return 1;
}
public OnGameModeExit()
{
return 1;
}
public OnPlayerRequestClass(playerid, classid)
{
GameTextForPlayer(playerid, "~r~Please ~h~Choose ~h~Your ~h~Player", 999999999, 5);
PlayerPlaySound(playerid,SOUND_MUSIC1,2050.1995, 1344.5500, 13.2378);
SetPlayerPos(playerid,2494.3813,-1666.6300,13.3438);
SetPlayerFacingAngle(playerid, 90.1217);
SetPlayerInterior(playerid,0);
SetPlayerCameraPos(playerid,2485.8796,-1666.2290,13.3438);
SetPlayerCameraLookAt(playerid,2496.2637,-1662.7610,13.3359);
ApplyAnimation(playerid,"DANCING","DNCE_M_A",4.0,1,0,0,0,-1);
if(playerid == 0)
{
SetPlayerColor(playerid,0xFF0000AA);
}
if(playerid == 1)
{
SetPlayerColor(playerid,0xFF2F00AA);
}
if(playerid == 2)
{
SetPlayerColor(playerid,0xFF5100AA);
}
if(playerid == 3)
{
SetPlayerColor(playerid,0xFF8400AA);
}
if(playerid == 4)
{
SetPlayerColor(playerid,0xFFA600AA);
}
if(playerid == 5)
{
SetPlayerColor(playerid,0xFFD900AA);
}
if(playerid == 6)
{
SetPlayerColor(playerid,0xFFFB00AA);
}
if(playerid == 7)
{
SetPlayerColor(playerid,0xD5FF00AA);
}
if(playerid == 8)
{
SetPlayerColor(playerid,0xAAFF00AA);
}
if(playerid == 9)
{
SetPlayerColor(playerid,0x7BFF00AA);
}
if(playerid == 10)
{
SetPlayerColor(playerid,0x2BFF00AA);
}
if(playerid == 11)
{
SetPlayerColor(playerid,0x00FF55AA);
}
if(playerid == 12)
{
SetPlayerColor(playerid,0x00FF84AA);
}
if(playerid == 13)
{
SetPlayerColor(playerid,0x00FFAAAA);
}
if(playerid == 14)
{
SetPlayerColor(playerid,0x00FFD5AA);
}
if(playerid == 15)
{
SetPlayerColor(playerid,0x00FFFFAA);
}
if(playerid == 16)
{
SetPlayerColor(playerid,0x00D5FFAA);
}
if(playerid == 17)
{
SetPlayerColor(playerid,0x00AAFFAA);
}
if(playerid == 18)
{
SetPlayerColor(playerid,0x0080FFAA);
}
if(playerid == 19)
{
SetPlayerColor(playerid,0x0055FFAA);
}
if(playerid == 20)
{
SetPlayerColor(playerid,0x002BFFAA);
}
if(playerid == 21)
{
SetPlayerColor(playerid,0x2A00FFAA);
}
if(playerid == 22)
{
SetPlayerColor(playerid,0x5500FFAA);
}
if(playerid == 23)
{
SetPlayerColor(playerid,0x8000FFAA);
}
if(playerid == 24)
{
SetPlayerColor(playerid,0xAE00FFAA);
}
if(playerid == 25)
{
SetPlayerColor(playerid,0xD500FFAA);
}
if(playerid == 26)
{
SetPlayerColor(playerid,0xFF0044AA);
}
return 1;
}
public OnPlayerRequestSpawn(playerid)
{
return 1;
}
public TipMessages()
{
SendClientMessageToAll(0x00BFFFAA, TipRandMessages[random(sizeof(TipRandMessages))]);
return 1;
}
//================================================================================
public SyncVirtualTime() {
new h,m;
CalculateVirtualTime(h,m);
for(new i = 0; i < MAX_PLAYERS; i++) {
if(IsPlayerConnected(i)) {
SetPlayerTime(i,h,m);
}
}
}
public OnPlayerConnect(playerid)
{
GameTextForPlayer(playerid, "~r~Utopia ~g~City ~h~FreeRoam", 4000, 0);
PlayerPlaySound(playerid,SOUND_MUSIC1,2050.1995, 1344.5500, 13.2378);
SetTimerEx("AutoRepair",500,1,"i",playerid);
TextDrawShowForPlayer(playerid, Textdraw0);
TextDrawShowForPlayer(playerid, Textdraw1);
TextDrawShowForPlayer(playerid, Textdraw3);
TextDrawShowForPlayer(playerid, TextdrawName);
SetPlayerMapIcon(playerid, 1, 2631.31, 1824.54, 11.02, 32, 0);
SetPlayerMapIcon(playerid, 2, 413.73, 2533.77, 19.14, 31, 0);
SetPlayerMapIcon(playerid, 3, 2309.09, 1445.20, 10.38, 31, 0);
SetPlayerMapIcon(playerid, 4, 2087.79, 1448.58, 10.38, 31, 0);
SetPlayerMapIcon(playerid, 5, 2494.1169,-1666.8970,13.3438, 62, 0);
SetPlayerMapIcon(playerid, 6, -2404.6809, -580.1221, 132.7315, 53, 0);
return 1;
}
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
public OnPlayerDisconnect(playerid, reason)
{
return 1;
}
public OnPlayerSpawn(playerid)
{
new h,m;
TogglePlayerClock(playerid, 1);
CalculateVirtualTime(h,m);
SetPlayerTime(playerid, h, m);
new r = random(sizeof(spawns));
SetPlayerPos(playerid, spawns[r][ex], spawns[r][ey], spawns[r][ez]);
SetPlayerInterior(playerid, spawns[r][interior]);
SendClientMessage(playerid, COLOR_WHITE, spawns[r][emsg]);
SetPlayerWorldBounds(playerid, 99999.0, -99999.0, 99999.0, -99999.0);
PlayerPlaySound(playerid,SOUND_OFF,2050.1995, 1344.5500, 13.2378);//Music Off
SendClientMessage(playerid, COLOR_ORANGE," | [Utopia City FreeRoam] Stunt/Race/Drift/Fly/DM |");
SendClientMessage(playerid, COLOR_RED, "*******************************************");
SendClientMessage(playerid, COLOR_ORANGE, "Type /help to get started !");
SendClientMessage(playerid, COLOR_RED, "Type /cmds * /teles, /tele * /home * /credits * /rules for Hints & Help");
SendClientMessage(playerid, COLOR_ORANGE, "*******************************************");
SendClientMessage(playerid, COLOR_YELLOW, "* Do Not Ask For Admin or else you will get Kicked!!!");
SendClientMessage(playerid, COLOR_YELLOW, "* Want to Save your Stats?? /register [password]!");
GameTextForPlayer(playerid, "Welcome, To Leave Head out throught the Door", 7500, 5);
return 1;
}
public OnPlayerDeath(playerid, killerid, reason)
{
GameTextForPlayer(playerid, "~r~Wasted", 1000, 2);
SendDeathMessage(killerid, playerid, reason);
GameTextForPlayer(killerid,"~r~Target Assisanated",5800,3);
SetPlayerWorldBounds(playerid, 9999.0, -9999.0, 9999.0, -9999.0);
if( DMZone[killerid] >= 1)
{
GivePlayerMoney(killerid, 1000);
SetPlayerScore(killerid,GetPlayerScore(killerid)+2);
}
if( DMZone[killerid] == 0)
{
SendClientMessage(killerid, COLOR_RED,"Dont Kill People Out Of DeathMatching Areas! You Are Fined 50 and 2 Points!");
GivePlayerMoney(playerid,-50);
}
return 1;
}
public OnVehicleSpawn(vehicleid)
{
return 1;
}
public OnVehicleDeath(vehicleid, killerid)
{
return 1;
}
SetPlayerPosEx(playerid, Float:X, Float:Y, Float:Z)
{
SetPlayerPos(playerid,X,Y,Z);
SetPlayerInterior(playerid,0);
ResetPlayerWeapons(playerid);
SetPlayerWorldBounds(playerid, 99999.0, -99999.0, 99999.0, -99999.0);
DMZone[playerid] = 0;
}
SetPlayerPosWV(playerid, Float:X, Float:Y, Float:Z)
{
SetPlayerPosEx(playerid,X,Y,Z);
if(GetPlayerState(playerid) == PLAYER_STATE_DRIVER)
{
SetVehiclePos(GetPlayerVehicleID(playerid),X,Y,Z);
LinkVehicleToInterior(GetPlayerVehicleID(playerid),0);
PutPlayerInVehicle(playerid,GetPlayerVehicleID(playerid),0);
SetVehicleZAngle(GetPlayerVehicleID(playerid),0.0);
}
}
public OnPlayerCommandText(playerid, cmdtext[])
{
{
if (!strcmp(cmdtext, "/me", true, 3))
{
if(cmdtext[3] == 0) {
SendClientMessage(playerid, 0xFF0000FF, "USAGE: /me [action]");
return 1;
}
new str[128];
GetPlayerName(playerid, str, sizeof(str));
format(str, sizeof(str), " **%s %s** ", str, cmdtext[4]);
SendClientMessageToAll(COLOR_GOLD, str);
return 1;
}
if (strcmp("/sfairtower", cmdtext, true, 10) == 0)
{
if(DMZone[playerid] == 1) return SendClientMessage(playerid,COLOR_RED, "ERROR: You can't use this command in DM!");
SetPlayerPos(playerid, -1248.9604,-10.1199,14.1484);
GameTextForPlayer(playerid, "Spawned At Airport Tower (SF)",5000,5);
return 1;
}
if (strcmp("/sfrunway", cmdtext, true, 10) == 0)
{
if(DMZone[playerid] == 1) return SendClientMessage(playerid,COLOR_RED, "ERROR: You can't use this command in DM!");
SetPlayerPos(playerid, -1669.7856,-154.6121,14.1484);
GameTextForPlayer(playerid, "Spawned At The San Fiero Runway!",5000,5);
return 1;
}
if (strcmp("/bchilliad", cmdtext, true, 10) == 0)
{
if(DMZone[playerid] == 1) return SendClientMessage(playerid,COLOR_RED, "ERROR: You can't use this command in DM!");
SetPlayerPos(playerid, -2409.4915,-2190.1704,34.0391);
GameTextForPlayer(playerid, "Spawned At Mt Chilliad (Base)!",5000,5);
return 1;
}
if (strcmp("/truckstop", cmdtext, true, 10) == 0)
{
if(DMZone[playerid] == 1) return SendClientMessage(playerid,COLOR_RED, "ERROR: You can't use this command in DM!");
SetPlayerPosWV(playerid, -96.8143,-1197.3097,2.5853);
GameTextForPlayer(playerid, "Spawned At Truck Stop",5000,5);
return 1;
}
//----------------------------Los Santos-------------------------------//
if (strcmp("/mansion", cmdtext, true, 10) == 0)
{
if(DMZone[playerid] == 1) return SendClientMessage(playerid,COLOR_RED, "ERROR: You can't use this command in DM!");
SetPlayerPos(playerid, 1260.4321,-816.2070,84.1406);
GameTextForPlayer(playerid, "Spawned At Mad Dogs Mansion",5000,5);
return 1;
}
//----------------------------Las Venturas-------------------------------//
if (strcmp("/bigear", cmdtext, true, 10) == 0)
{
if(DMZone[playerid] == 1) return SendClientMessage(playerid,COLOR_RED, "ERROR: You can't use this command in DM!");
SetPlayerPosWV(playerid, -299.9834,1537.3654,75.5625);
GameTextForPlayer(playerid, "Spawned At The Big Ear!",5000,5);
return 1;
}
if (strcmp("/airfield", cmdtext, true, 10) == 0)
{
if(DMZone[playerid] == 1) return SendClientMessage(playerid,COLOR_RED, "ERROR: You can't use this command in DM!");
SetPlayerPosWV(playerid, 414.8570,2533.6309,19.1484);
GameTextForPlayer(playerid, "Spawned At The Abandoned Airfield!",5000,5);
return 1;
}
if (strcmp("/strip", cmdtext, true, 10) == 0)
{
if(DMZone[playerid] == 1) return SendClientMessage(playerid,COLOR_RED, "ERROR: You can't use this command in DM!");
SetPlayerPosWV(playerid, 2031.9087,1020.2673,10.8203);
GameTextForPlayer(playerid, "Spawned At The Abandoned Airfield!",5000,5);
return 1;
}
if (strcmp("/lvrunway", cmdtext, true, 10) == 0)
{
if(DMZone[playerid] == 1) return SendClientMessage(playerid,COLOR_RED, "ERROR: You can't use this command in DM!");
SetPlayerPos(playerid, 1613.7803,1586.1547,10.8203);
GameTextForPlayer(playerid, "Spawned At Las Venturas Runway!",5000,5);
return 1;
}
if (strcmp("/chicken", cmdtext, true, 10) == 0)
{
if(DMZone[playerid] == 1) return SendClientMessage(playerid,COLOR_RED, "ERROR: You can't use this command in DM!");
SetPlayerPosWV(playerid, -247.4829,2610.8093,62.8582);
GameTextForPlayer(playerid, "Spawned At 'The Big Cock' Town!",5000,5);
return 1;
}
if (strcmp("/ghost", cmdtext, true, 10) == 0)
{
if(DMZone[playerid] == 1) return SendClientMessage(playerid,COLOR_RED, "ERROR: You can't use this command in DM!");
SetPlayerPosWV(playerid, -374.7072,2222.4751,42.4555);
GameTextForPlayer(playerid, "Spawned At Ghost Town!",5000,5);
return 1;
}
if (strcmp("/dam", cmdtext, true, 10) == 0)
{
if(DMZone[playerid] == 1) return SendClientMessage(playerid,COLOR_RED, "ERROR: You can't use this command in DM!");
SetPlayerPosWV(playerid, -893.0620,1992.7214,60.6597);
GameTextForPlayer(playerid, "Spawned At Sherman Dam!",5000,5);
return 1;
}
if (strcmp("/bcgas", cmdtext, true, 10) == 0)
{
if(DMZone[playerid] == 1) return SendClientMessage(playerid,COLOR_RED, "ERROR: You can't use this command in DM!");
SetPlayerPosWV(playerid, -1456.2137,1858.1157,32.6328);
GameTextForPlayer(playerid, "Spawned At Bone County Gas!",5000,5);
return 1;
}
if (strcmp("/quarry", cmdtext, true, 10) == 0)
{
if(DMZone[playerid] == 1) return SendClientMessage(playerid,COLOR_RED, "ERROR: You can't use this command in DM!");
SetPlayerPosWV(playerid, 817.0088,856.4256,12.7891);
GameTextForPlayer(playerid, "Spawned At The Quarry!",5000,5);
return 1;
}
if (strcmp("/bctown", cmdtext, true, 10) == 0)
{
if(DMZone[playerid] == 1) return SendClientMessage(playerid,COLOR_RED, "ERROR: You can't use this command in DM!");
SetPlayerPosWV(playerid, 697.8233,1802.2297,5.6875);
GameTextForPlayer(playerid, "Spawned At Bone County Town/Gas!",5000,5);
return 1;
}
//----------------------------Player Commands-------------------------------//
//---Suicide---//
if(strcmp("/suicide",cmdtext, true) == 0)
{
SetPlayerHealth(playerid,0.0);
GameTextForPlayer(playerid, "Suicide!",5000,5);
return 1;
}
//----------------------------Fly To Commands-------------------------------//
if (strcmp("/flyls", cmdtext, true, 10) == 0)
{
if(DMZone[playerid] == 1) return SendClientMessage(playerid,COLOR_RED, "ERROR: You can't use this command in DM!");
if(GetPlayerMoney(playerid) >= 2500)
{
SetPlayerPos(playerid, 1641.9736,-2240.1130,13.4960);
GameTextForPlayer(playerid, "Arrived At Los Santos! (-$2500)",5000,5);
GivePlayerMoney(playerid, -2500);
}
else
{
GameTextForPlayer(playerid, "You don't have enough money! ($2500)",5000,5);
}
return 1;
}
if (strcmp("/flylv", cmdtext, true, 10) == 0)
{
if(DMZone[playerid] == 1) return SendClientMessage(playerid,COLOR_RED, "ERROR: You can't use this command in DM!");
if(GetPlayerMoney(playerid) >= 2500)
{
SetPlayerPos(playerid, 1704.6575,1472.1036,10.7851);
GameTextForPlayer(playerid, "Arrived At Las Venturas! (-$2500)",5000,5);
GivePlayerMoney(playerid, -2500);
}
else
{
GameTextForPlayer(playerid, "You don't have enough money! ($2500)",5000,5);
}
return 1;
}
if (strcmp("/flysf", cmdtext, true, 10) == 0)
{
if(DMZone[playerid] == 1) return SendClientMessage(playerid,COLOR_RED, "ERROR: You can't use this command in DM!");
if(GetPlayerMoney(playerid) >= 2500)
{
SetPlayerPos(playerid, -96.8143,-1197.3097,2.5853);
GameTextForPlayer(playerid, "Arrived At San Fiero! (-$2500)",5000,5);
GivePlayerMoney(playerid, -2500);
}
else
{
GameTextForPlayer(playerid, "You don't have enough money! ($2500)",5000,5);
}
return 1;
}
//----------------------------Help/Cmd Commands-------------------------------//
if (strcmp("/teles2", cmdtext, true, 10) == 0)
{
SendClientMessage(playerid, COLOR_LIGHTBLUE, "Spawns: Gas Station: Truck Stop: /truckstop, Mt Chilliad: /chilliad,");
SendClientMessage(playerid, COLOR_LIGHTBLUE, "Mad Dogs Mansion: /mansion, Big Ear: /bigear, Abandoned Airfield: /airfield,");
SendClientMessage(playerid, COLOR_LIGHTBLUE, "SF Airport Tower: /sfairtower, SF Airport Runway: /sfrunway, The Strip: /strip,");
SendClientMessage(playerid, COLOR_LIGHTBLUE, "LV Chicken Town: /chicken, LV Airport Runway:/lvrunway, Sherman Dam: /dam");
SendClientMessage(playerid, COLOR_LIGHTBLUE, "Bone County Gas:/ bcgas, Ghost Town: /ghost, Mt Chilliad Base: /bchilliad");
SendClientMessage(playerid, COLOR_LIGHTBLUE, "Bone County Town & Gas: /bctown, Quarry: /quarry");
return 1;
}
if(!strcmp(cmdtext, "/solo", true))
{
if(DMZone[playerid] == 1) return SendClientMessage(playerid,COLOR_RED, "ERROR: You can't use this command in DM!");
DMZone[playerid] = 1;
SetPlayerPos(playerid, 2298.1558, 599.8334, 14.8225);
SetPlayerWorldBounds(playerid, 2405.3762, 2234.6714, 626.6244, 530.4633);
GivePlayerWeapon(playerid, 26, 8000);
GivePlayerWeapon(playerid, 29, 8000);
return 1;
}
if (!strcmp("/drag", cmdtext, true) || !strcmp("/wyscig", cmdtext, true))
{
if(DMZone[playerid] == 1) return SendClientMessage(playerid,COLOR_RED, "ERROR: You can't use this command in DM!");
SetPlayerPosWV(playerid, -2681.8916, 1296.6348, 57.6908);
SendClientMessage(playerid, COLOR_ORANGE,"Start counting: /count");
return 1;
}
if (!strcmp("/skatepark", cmdtext, true) || !strcmp("/skate", cmdtext, true))
{
if(DMZone[playerid] == 1) return SendClientMessage(playerid,COLOR_RED, "ERROR: You can't use this command in DM!");
SetPlayerPosWV(playerid, 1929.8359, -1445.0492, 17.4979);
return 1;
}
if (!strcmp("/bigjump", cmdtext, true))
{
if(DMZone[playerid] == 1) return SendClientMessage(playerid,COLOR_RED, "ERROR: You can't use this command in DM!");
SetPlayerPosWV(playerid, -645.1850, 2311.9236, 138.0301);
return 1;
}
if (!strcmp("/jump", cmdtext, true))
{
if(DMZone[playerid] == 1) return SendClientMessage(playerid,COLOR_RED, "ERROR: You can't use this command in DM!");
SetPlayerPosWV(playerid, 2488.5618, -1045.9331, 207.7728);
return 1;
}
if (!strcmp("/cr", cmdtext, true))
{
if(DMZone[playerid] == 1) return SendClientMessage(playerid,COLOR_RED, "ERROR: You can't use this command in DM!");
SetPlayerPosWV(playerid, 2876.5110,-1941.6298,10.6712);
return 1;
}
if (!strcmp("/chill", cmdtext, true))
{
if(DMZone[playerid] == 1) return SendClientMessage(playerid,COLOR_RED, "ERROR: You can't use this command in DM!");
SetPlayerPos(playerid, -2349.7456, -1648.2880, 483.7031);
return 1;
}
//==============================================================================
//==============================================================================
if(!strcmp(cmdtext, "/dm", true))
{
if(DMZone[playerid] == 1) return SendClientMessage(playerid,COLOR_RED, "ERROR: You can't use this command in DM!");
DMZone[playerid] = 1;
SetPlayerPos(playerid, -1485.2217,307.2930,56.4609);
SetPlayerWorldBounds(playerid, -1469.4668, -1573.2063, 360.0035, 281.4446);
GivePlayerWeapon(playerid, 30, 8000);
GivePlayerWeapon(playerid, 27, 8000);
return 1;
}
if(!strcmp(cmdtext, "/armydm", true) || !strcmp(cmdtext, "/armia", true))
{
if(DMZone[playerid] == 1) return SendClientMessage(playerid,COLOR_RED, "ERROR: You can't use this command in DM!");
DMZone[playerid] = 1;
SetPlayerPos(playerid, -467.6955,-524.7691,28.5178);
SetPlayerWorldBounds(playerid, -459.0665, -628.7813, -464.1276, -567.4709);
GivePlayerWeapon(playerid, 31, 8000);
GivePlayerWeapon(playerid, 25, 8000);
GivePlayerWeapon(playerid, 23, 8000);
return 1;
}
if(!strcmp(cmdtext, "/tuning", true))
{
if(DMZone[playerid] == 1) return SendClientMessage(playerid,COLOR_RED, "ERROR: You can't use this command in DM!");
SetPlayerPosWV(playerid, 2644.3606, -2004.1403, 13.3828);
return 1;
}
if(!strcmp(cmdtext, "/drift", true))
{
if(DMZone[playerid] == 1) return SendClientMessage(playerid,COLOR_RED, "ERROR: You can't use this command in DM!");
SetPlayerPosWV(playerid, -2404.6809, -580.1221, 132.7315);
return 1;
}
if (!strcmp("/lotnisko", cmdtext, true) || !strcmp("/lv", cmdtext, true) || !strcmp("/airport", cmdtext, true))
{
if(DMZone[playerid] == 1) return SendClientMessage(playerid,COLOR_RED, "ERROR: You can't use this command in DM!");
SetPlayerPos(playerid, 1300.0525, 1374.1996, 10.8203);
return 1;
}
if (!strcmp("/skroad", cmdtext, true))
{
if(DMZone[playerid] == 1) return SendClientMessage(playerid,COLOR_RED, "ERROR: You can't use this command in DM!");
SetPlayerPos(playerid, 3893.8152, -1623.4252, 1445.5);
return 1;
}
if (!strcmp("/bigramp", cmdtext, true))
{
if(DMZone[playerid] == 1) return SendClientMessage(playerid,COLOR_RED, "ERROR: You can't use this command in DM!");
SetPlayerPos(playerid, -1495.8571,-105.8566,17.1484);
return 1;
}
if (!strcmp("/tube", cmdtext, true) || !strcmp("/rura", cmdtext, true))
{
if(DMZone[playerid] == 1) return SendClientMessage(playerid,COLOR_RED, "ERROR: You can't use this command in DM!");
SetPlayerPos(playerid, 788.4612, -2054.967, 62.3314);
return 1;
}
if (strcmp("/home", cmdtext, true, 10) == 0)
{
GameTextForPlayer(playerid,"/teles, /teles2 /tele, /cmds, /credits, /rules , /iceCupa", 7500, 5);
return 1;
}
if(strcmp("/tele", cmdtext, true, 10) == 0)
{
ShowMenuForPlayer(Teleports, playerid);
return 1;
}
if(strcmp("/teles", cmdtext, true, 10) == 0)
{
PlayerPlaySound(playerid, 1056, 0.0, 0.0, 0.0);
SendClientMessage(playerid, COLOR_ORANGE, "Stunt Areas: /loop, /stunt[1-20], /aquapark, /bj, /wj, /hj, /rampjump, /verticaljump, /va, /nrgpark, /derby, /tube");
SendClientMessage(playerid, COLOR_ORANGE, "Stunt Areas: /buildjump, /helljump, /monster, /nuclearjump, /freeway, /et, /blix, /shit, /basejump[1-10], /drag");
SendClientMessage(playerid, COLOR_ORANGE, "Stunt Areas: /nrgball (Must be in a NRG), /fcs, /et, /damstunt, /tube, /loopls, /bg, /chilliad, /pyramid");
SendClientMessage(playerid, COLOR_YELLOW, "Race Areas: /lvdrag, /lvcurcuit, /nrgrace, /stadium, /club, /club2, /andromada, /drag, /drag1, /karts");
SendClientMessage(playerid, COLOR_GREEN, "DM Areas: /m4dm, /sniperdm, /rocketdm, /kantanadm, /solo, /armydm, /dm, /classicdm");
SendClientMessage(playerid, COLOR_BLUE, "Other Areas: /dmzones, /rules, /angry, /happy, /stoned, /flowers, /flyls, /flysf, /flylv, /pc,");
SendClientMessage(playerid, COLOR_BLUE, "Other Areas: /antifall, /lvairport, /sfairport, /va, /lsairport, /favs, /cmds, /races, /skate, /bigramp, /other,");
SendClientMessage(playerid, COLOR_BLUE, "Other Areas: /afk, /back, /nrg, /flip, /buyhealth, /piss, //fix, /wank, /hydra, /cr, /bigjump, /momhelp");
SendClientMessage(playerid, COLOR_BLUE, "Other Areas: /skroad, /jump, /drift, /home, /v[Car ID or Car Name], /infrared, /puke, /drunk, /kill, /yarp");
SendClientMessage(playerid, COLOR_CYAN, "Tune Shops: /arch, /ottos, /bombshop, /loco, /wang, /tuning");
return 1;
}
////////////////////Teles//////////////////////////////////////////////////
if(!strcmp(cmdtext,"/commands",true) || !strcmp(cmdtext, "/cmds",true))
{
SendClientMessage(playerid, COLOR_WHITE, " >>> Server Commands <<<");
SendClientMessage(playerid, COLOR_ORANGE," Commands - /help /cmds /teles /teles2 /news /credits /admins");
SendClientMessage(playerid, COLOR_ORANGE," CHAT - /PM /kill /pee /dance /wank /register /login");
SendClientMessage(playerid, COLOR_ORANGE," Vechicle CMDS - /flip /afob");
SendClientMessage(playerid, COLOR_ORANGE," OTHERS - /iceCupa /pc /tele /teles[2] /afk /back /savep /loadp /puke /drunk");
return 1;
}
if(strcmp(cmdtext,"/news",true)==0)
{
SendClientMessage(playerid, COLOR_WHITE, " >>> Current News <<<");
SendClientMessage(playerid, COLOR_YELLOW," >>> Version 4.0 <<< [ New Commands/Teleports: Blocked Commands when in DM, Bug Fix, Crash Fix ]");
SendClientMessage(playerid, COLOR_YELLOW,"[Last Update: Jan 2012, 28]");
return 1;
}
if(!strcmp(cmdtext, "/help", true))
{
SendClientMessage(playerid, COLOR_WHITE, " >>> HELP <<<");
SendClientMessage(playerid, 0x00BFFFAA, "Type: /rules To see Our Rules against the server!");
SendClientMessage(playerid, 0x00BFFFAA, "Type: /teles or /tele (Menu) to see the teleports commands of the server!");
SendClientMessage(playerid, 0x00BFFFAA, "Type: /commands To see all the commands of the server");
SendClientMessage(playerid, 0x00BFFFAA, "Type: /credits To see the people who worked on server!");
return 1;
}
if(!strcmp(cmdtext, "/rules", true))
{
SendClientMessage(playerid, COLOR_RED, "Don't insult, if you do, you will get a Warn >> Jail >> Kick >> Ban");
SendClientMessage(playerid, COLOR_RED, "Don't spawnkill, if you do, you will get a Warn >> Ban");
SendClientMessage(playerid, COLOR_RED, "Don't cheat in ze Server If you do, you will get a Jailed >> Kicked >> Ban");
SendClientMessage(playerid, COLOR_YELLOW, "If you want to stay in server respect the rules.");
return 1;
}
if(strcmp("/favs", cmdtext, true, 10) == 0)
{
PlayerPlaySound(playerid, 1056, 0.0, 0.0, 0.0);
SendClientMessage(playerid, COLOR_ORANGE, "1)Add us to your Fav`S ");
SendClientMessage(playerid, COLOR_ORANGE, "2)Then On the Sa-mp Client Click the orange CheckMark.");
SendClientMessage(playerid, COLOR_ORANGE, "3)A window will pop-up to ask to put the IP, Use the IP from Step 1 to insert it.");
SendClientMessage(playerid, COLOR_ORANGE, "4)Press Ok Then Our server will be saved into your favs ");
return 1;
}
if(strcmp("/wj", cmdtext, true, 10) == 0)
{
if(DMZone[playerid] == 1) return SendClientMessage(playerid,COLOR_RED, "ERROR: You can't use this command in DM!");
PlayerPlaySound(playerid, 1056, 0.0, 0.0, 0.0);
GameTextForPlayer(playerid," Welcome to WaterJump", 7000, 5);
SetPlayerPos(playerid, 2343.6814, -534.7174, 849.2936);
return 1;
}
if(strcmp("/hj", cmdtext, true, 10) == 0)
{
if(DMZone[playerid] == 1) return SendClientMessage(playerid,COLOR_RED, "ERROR: You can't use this command in DM!");
PlayerPlaySound(playerid, 1058, 0.0, 0.0, 0.0);
GameTextForPlayer(playerid," Welcome to hugeJump", 7000, 5);
SetPlayerPos(playerid, 945.8585,2492.6138,420.1458);
return 1;
}
if(strcmp(cmdtext, "/waterpark",true)==0)
{
if(DMZone[playerid] == 1) return SendClientMessage(playerid,COLOR_RED, "ERROR: You can't use this command in DM!");
SendClientMessage(playerid, 0x33AA33AA,"Welcome, if you fall use /nrg");
SetPlayerInterior(playerid,0);
PlayerPlaySound(playerid, 1139, 0.0, 0.0, 0.0);
GameTextForPlayer(playerid, "~g~Welcome to Water Platform Stunts,~n~Made by iceCupa", 9000, 6);
SetPlayerPos(playerid,267.2495,-2068.6113,6.3933);
return 1;}
if(strcmp("/bj", cmdtext, true, 10) == 0)
{
if(DMZone[playerid] == 1) return SendClientMessage(playerid,COLOR_RED, "ERROR: You can't use this command in DM!");
PlayerPlaySound(playerid, 1056, 0.0, 0.0, 0.0);
GameTextForPlayer(playerid," Welcome to BeachJump", 7000, 5);
SetPlayerPos(playerid, 824.6700,-2482.4387,455.4447);
return 1;
}
if(strcmp("/chilliad", cmdtext, true, 10) == 0)
{
if(DMZone[playerid] == 1) return SendClientMessage(playerid,COLOR_RED, "ERROR: You can't use this command in DM!");
PlayerPlaySound(playerid, 1056, 0.0, 0.0, 0.0);
GameTextForPlayer(playerid," Welcome to Chilliad", 7000, 5);
SetPlayerPos(playerid, -2338.1836,-1631.0298,483.7010);
return 1;
}
if(strcmp("/lvdrag", cmdtext, true, 10) == 0)
{
if(DMZone[playerid] == 1) return SendClientMessage(playerid,COLOR_RED, "ERROR: You can't use this command in DM!");
PlayerPlaySound(playerid, 1056, 0.0, 0.0, 0.0);
GameTextForPlayer(playerid," Welcome to LV Drag", 7000, 5);
SetPlayerPos(playerid, 1802.8585,860.0071,10.6651);
return 1;
}
if(strcmp("/lvcurcuit", cmdtext, true, 10) == 0)
{
if(DMZone[playerid] == 1) return SendClientMessage(playerid,COLOR_RED, "ERROR: You can't use this command in DM!");
PlayerPlaySound(playerid, 1056, 0.0, 0.0, 0.0);
GameTextForPlayer(playerid," Welcome to LV Circuit", 7000, 5);
SetPlayerPos(playerid, 1795.3651,833.9559,10.6719);
return 1;
}
if(strcmp("/m4dm", cmdtext, true, 10) == 0)
{
if(DMZone[playerid] == 1) return SendClientMessage(playerid,COLOR_RED, "ERROR: You can't use this command in DM!");
DMZone[playerid] = 1;
new RandomSpawn = random(6);
if (RandomSpawn == 0)
{
SetPlayerPos(playerid, 42.1946,-1805.5269,1.2390);
SetPlayerFacingAngle(playerid, 247.9706);
SetCameraBehindPlayer(playerid);
}
if (RandomSpawn == 1)
{
SetPlayerPos(playerid, 20.2246,-1795.1298,1.1895);
SetPlayerFacingAngle(playerid, 329.4380);
SetCameraBehindPlayer(playerid);
}
if (RandomSpawn == 2)
{
SetPlayerPos(playerid, -4.1062,-1783.7626,1.2410);
SetPlayerFacingAngle(playerid, 46.8321);
SetCameraBehindPlayer(playerid);
}
if (RandomSpawn == 3)
{
SetPlayerPos(playerid, 7.6573,-1759.2808,1.1627);
SetPlayerFacingAngle(playerid, 121.7195);
SetCameraBehindPlayer(playerid);
}
if (RandomSpawn == 4)
{
SetPlayerPos(playerid, 28.0101,-1769.1461,1.2318);
SetPlayerFacingAngle(playerid, 196.2701);
SetCameraBehindPlayer(playerid);
}
if (RandomSpawn == 5)
{
SetPlayerPos(playerid, 22.0835,-1808.2573,1.2204);
SetPlayerFacingAngle(playerid, 255.2007);
SetCameraBehindPlayer(playerid);
}
SetPlayerPos(playerid, 8.6742,-1855.9010,5.2854);
SetPlayerInterior(playerid,0);
ResetPlayerWeapons(playerid);
GivePlayerWeapon(playerid, 31, 999999);
GivePlayerWeapon(playerid, 23, 999999);
return 1;
}
if(strcmp("/rocketdm", cmdtext, true, 10) == 0)
{
if(DMZone[playerid] == 1) return SendClientMessage(playerid,COLOR_RED, "ERROR: You can't use this command in DM!");
new RandomSpawn = random(1);
if (RandomSpawn == 0)
{
SetPlayerPos(playerid, -617.1308,398.2942,1.0070);
SetPlayerFacingAngle(playerid, 247.9706);
SetCameraBehindPlayer(playerid);
}
DMZone[playerid] = 1;
SetPlayerPos(playerid, -620.7563,449.5522,8.9489);
SetPlayerInterior(playerid,0);
ResetPlayerWeapons(playerid);
GivePlayerWeapon(playerid, 35, 999999);
GivePlayerWeapon(playerid, 36, 999999);
return 1;
}
if(strcmp("/sniperdm", cmdtext, true, 10) == 0)
{
if(DMZone[playerid] == 1) return SendClientMessage(playerid,COLOR_RED, "ERROR: You can't use this command in DM!");
DMZone[playerid] = 1;
SetPlayerPos(playerid, 372.1548,503.6427,8.6419);
SetPlayerInterior(playerid,0);
ResetPlayerWeapons(playerid);
GivePlayerWeapon(playerid, 34, 999999);
GivePlayerWeapon(playerid, 16, 999999);
return 1;
}
//-------------------------------------Stunt1
if(strcmp(cmdtext,"/stunt1",true)==0){
if(DMZone[playerid] == 1) return SendClientMessage(playerid,COLOR_RED, "ERROR: You can't use this command in DM!");
new cartype=GetPlayerVehicleID(playerid);
new State=GetPlayerState(playerid);{
if(State!=PLAYER_STATE_DRIVER){
SetPlayerPos(playerid,2000.9987,-1964.1296,16.4661);}
else if(IsPlayerInVehicle(playerid,cartype)==1){
SetVehiclePos(cartype,2000.9987,-1964.1296,16.4661);
SetVehicleZAngle(cartype,90.9997);}
else{
SetPlayerPos(playerid,2000.9987,-1964.1296,16.4661);}
GameTextForPlayer(playerid,"stuntzone 1!",2500,3);}
return 1;}
if(strcmp(cmdtext,"/lsstunt",true)==0)
{
if(DMZone[playerid] == 1) return SendClientMessage(playerid,COLOR_RED, "ERROR: You can't use this command in DM!");
SetPlayerPos(playerid,1832.4519,-2387.8748,18.8021);
GameTextForPlayer(playerid,"Los Santos Airport",4000,6);
return 1;
}
if(strcmp(cmdtext,"/karts",true)==0)
{
if(DMZone[playerid] == 1) return SendClientMessage(playerid,COLOR_RED, "ERROR: You can't use this command in DM!");
SetPlayerPos(playerid,2942.2097,-1569.6085,6.1046);
GameTextForPlayer(playerid,"Kart Track",4000,6);
return 1;
}
if(strcmp(cmdtext,"/halfpipe",true)==0)
{
if(DMZone[playerid] == 1) return SendClientMessage(playerid,COLOR_RED, "ERROR: You can't use this command in DM!");
SetPlayerPos(playerid,663.7712,578.9902,26.5928);
GameTextForPlayer(playerid,"Half Pipe",4000,6);
return 1;
}
if(strcmp(cmdtext,"/drag1",true)==0)
{
if(DMZone[playerid] == 1) return SendClientMessage(playerid,COLOR_RED, "ERROR: You can't use this command in DM!");
SetPlayerPos(playerid,1006.0169,2475.9143,13.8203);
GameTextForPlayer(playerid,"Drag Race",4000,6);
return 1;
}
if(strcmp(cmdtext,"/classicdm",true)==0)
{
if(DMZone[playerid] == 1) return SendClientMessage(playerid,COLOR_RED, "ERROR: You can't use this command in DM!");
SetPlayerPos(playerid,216.3093,1874.0894,20.6406);
GameTextForPlayer(playerid,"Death Match Area",4000,6);
GivePlayerWeapon(playerid, 31, 9999);
return 1;
}
if(strcmp(cmdtext,"/drift1",true)==0)
{
if(DMZone[playerid] == 1) return SendClientMessage(playerid,COLOR_RED, "ERROR: You can't use this command in DM!");
SetPlayerPos(playerid,-302.5238,1519.8558,75.3594);
GameTextForPlayer(playerid,"Drift Race",4000,6);
return 1;
}
///////////////////////////////////////////////////////////////
if(strcmp(cmdtext, "/airportls",true)==0)
{
if(DMZone[playerid] == 1) return SendClientMessage(playerid,COLOR_RED, "ERROR: You can't use this command in DM!");
SendClientMessage(playerid, 0x33AA33AA,"Welcome.");
SetPlayerInterior(playerid,0);
PlayerPlaySound(playerid, 1139, 0.0, 0.0, 0.0);
GameTextForPlayer(playerid, "~g~Welcome to The airport", 9000, 6);
SetPlayerPos(playerid,2058.7854,-2643.9578,13.5469);
GameTextForPlayer(playerid,"Have a Nice Jump",2500,3);
return 1;}
if(strcmp(cmdtext, "/buildjump",true)==0)
{
if(DMZone[playerid] == 1) return SendClientMessage(playerid,COLOR_RED, "ERROR: You can't use this command in DM!");
SendClientMessage(playerid, 0x33AA33AA,"Welcome.");
SetPlayerInterior(playerid,0);
PlayerPlaySound(playerid, 1139, 0.0, 0.0, 0.0);
SetPlayerPos(playerid,-2882.8174,-3074.8611,83.0000);
GameTextForPlayer(playerid,"Have a Nice Jump",2500,3);
return 1;}
if(strcmp(cmdtext, "/helljump",true)==0)
{
if(DMZone[playerid] == 1) return SendClientMessage(playerid,COLOR_RED, "ERROR: You can't use this command in DM!");
SendClientMessage(playerid, 0x33AA33AA,"Welcome.");
SetPlayerInterior(playerid,0);
PlayerPlaySound(playerid, 1139, 0.0, 0.0, 0.0);
SetPlayerPos(playerid,996.6433,2787.8489,1067.7532);
GameTextForPlayer(playerid,"Have a Nice Jump",2500,3);
return 1;}
if(strcmp(cmdtext, "/arch", true) == 0)
{
if(DMZone[playerid] == 1) return SendClientMessage(playerid,COLOR_RED, "ERROR: You can't use this command in DM!");
SetPlayerPosWV(playerid, -2712.8408,217.7281,5.2436);
SendClientMessage(playerid, 0x00BFFFAA, "*** Welcome to the Wheel arch angels!");
return 1;
}
if(strcmp(cmdtext, "/bombshop", true) == 0)
{
if(DMZone[playerid] == 1) return SendClientMessage(playerid,COLOR_RED, "ERROR: You can't use this command in DM!");
SetPlayerPosWV(playerid, 1829.6621,-1856.1829,13.2850);
SendClientMessage(playerid, 0x00BFFFAA, "Welcome to the Bomb Shop");
return 1;
}
if (strcmp(cmdtext, "/club", true) == 0)
{
if(DMZone[playerid] == 1) return SendClientMessage(playerid,COLOR_RED, "ERROR: You can't use this command in DM!");
SetPlayerPosEx(playerid, -2643.9685,1399.2794,906.4609);
SetPlayerInterior(playerid,3);
SendClientMessage(playerid, 0x00BFFFAA, "*** Welcome to Jizzy's Club");
return 1;
}
//
if (strcmp(cmdtext, "/club2", true) == 0)
{
if(DMZone[playerid] == 1) return SendClientMessage(playerid,COLOR_RED, "ERROR: You can't use this command in DM!");
SetPlayerPosEx(playerid, 497.4960,-22.1015,1000.6797);
SetPlayerInterior(playerid,17);
SendClientMessage(playerid, 0x00BFFFAA, "*** Welcome to alhambra!");
return 1;
}
if(strcmp(cmdtext, "/loco", true) == 0)
{
if(DMZone[playerid] == 1) return SendClientMessage(playerid,COLOR_RED, "ERROR: You can't use this command in DM!");
SetPlayerPosWV(playerid,2645.1208,-2018.3188,13.3512);
SendClientMessage(playerid, 0x00BFFFAA, "*** Welcome to the loco low garage!");
return 1;
}
if(!strcmp(cmdtext, "/wang", true))
{
if(DMZone[playerid] == 1) return SendClientMessage(playerid,COLOR_RED, "ERROR: You can't use this command in DM!");
SetPlayerPosWV(playerid, -1955.2073,282.5723,41.0471);
SendClientMessage(playerid, 0x00BFFFAA, "*** Welcome to Wang Cars");
return 1;
}
//
if(!strcmp(cmdtext, "/ottos", true))
{
if(DMZone[playerid] == 1) return SendClientMessage(playerid,COLOR_RED, "ERROR: You can't use this command in DM!");
SetPlayerPosWV(playerid,-1662.3562,1211.7994,13.6719);
SendClientMessage(playerid, 0x00BFFFAA, "*** Welcome to Otto's Garage");
return 1;
}
//
if(!strcmp(cmdtext, "/andromada", true))
{
if(DMZone[playerid] == 1) return SendClientMessage(playerid,COLOR_RED, "ERROR: You can't use this command in DM!");
SetPlayerPosEx(playerid, 315.9222,973.6248,1961.5189);
SetPlayerInterior(playerid,9);
SendClientMessage(playerid, 0x00BFFFAA, "*** Welcome to Andromada");
return 1;
}
if(strcmp(cmdtext, "/dragrace",true)==0)
{
if(DMZone[playerid] == 1) return SendClientMessage(playerid,COLOR_RED, "ERROR: You can't use this command in DM!");
SendClientMessage(playerid, 0x33AA33AA,"Welcome.");
SetPlayerInterior(playerid,0);
PlayerPlaySound(playerid, 1139, 0.0, 0.0, 0.0);
SetPlayerPosWV(playerid,1031.1125,-2297.4236,12.8004);
GameTextForPlayer(playerid,"Have a Nice Jump",2500,3);
return 1;}
if(strcmp(cmdtext, "/monster",true)==0)
{
if(DMZone[playerid] == 1) return SendClientMessage(playerid,COLOR_RED, "ERROR: You can't use this command in DM!");
SendClientMessage(playerid, 0x33AA33AA,"Welcome.");
SetPlayerInterior(playerid,0);
PlayerPlaySound(playerid, 1139, 0.0, 0.0, 0.0);
SetPlayerPos(playerid,-2383.9839,2909.5325,362.3510);
GameTextForPlayer(playerid,"Have a Nice Jump",2500,3);
return 1;}
if(strcmp(cmdtext, "/nuclearjump",true)==0)
{
if(DMZone[playerid] == 1) return SendClientMessage(playerid,COLOR_RED, "ERROR: You can't use this command in DM!");
SendClientMessage(playerid, 0x33AA33AA,"Welcome.");
SetPlayerInterior(playerid,0);
PlayerPlaySound(playerid, 1139, 0.0, 0.0, 0.0);
SetPlayerPos(playerid,-673.3708,-3024.7944,705.3344);
GameTextForPlayer(playerid,"Have a Nice Jump",2500,3);
return 1;}
if(strcmp(cmdtext, "/freeway",true)==0)
{
if(DMZone[playerid] == 1) return SendClientMessage(playerid,COLOR_RED, "ERROR: You can't use this command in DM!");
SendClientMessage(playerid, 0x33AA33AA,"Welcome.");
SetPlayerInterior(playerid,0);
PlayerPlaySound(playerid, 1139, 0.0, 0.0, 0.0);
SetPlayerPos(playerid,-2847.1392,2185.9849,799.5908);
GameTextForPlayer(playerid,"Have a Nice Jump",2500,3);
return 1;}
if(strcmp(cmdtext, "/lvairport",true)==0)
{
if(DMZone[playerid] == 1) return SendClientMessage(playerid,COLOR_RED, "ERROR: You can't use this command in DM!");
SendClientMessage(playerid, 0x33AA33AA,"Welcome.");
SetPlayerInterior(playerid,0);
PlayerPlaySound(playerid, 1139, 0.0, 0.0, 0.0);
GameTextForPlayer(playerid, "~g~Welcome to The airport", 9000, 6);
SetPlayerPosWV(playerid,1300.2476,1276.4691,10.8203);
GameTextForPlayer(playerid,"Have a Nice Jump",2500,3);
return 1;}
if(strcmp(cmdtext, "/sfairport",true)==0)
{
if(DMZone[playerid] == 1) return SendClientMessage(playerid,COLOR_RED, "ERROR: You can't use this command in DM!");
SendClientMessage(playerid, 0x33AA33AA,"Welcome.");
SetPlayerInterior(playerid,0);
PlayerPlaySound(playerid, 1139, 0.0, 0.0, 0.0);
GameTextForPlayer(playerid, "~g~Welcome to The airport", 9000, 6);
SetPlayerPosWV(playerid,-1373.3844,-258.4916,14.0000);
GameTextForPlayer(playerid,"Have a Nice Jump",2500,3);
return 1;}
if(strcmp(cmdtext, "/va",true)==0)
{
if(DMZone[playerid] == 1) return SendClientMessage(playerid,COLOR_RED, "ERROR: You can't use this command in DM!");
SendClientMessage(playerid, 0x33AA33AA,"Welcome.");
SetPlayerInterior(playerid,0);
PlayerPlaySound(playerid, 1139, 0.0, 0.0, 0.0);
GameTextForPlayer(playerid, "~g~Welcome to The airport", 9000, 6);
SetPlayerPosWV(playerid,405.3273,2454.2197,16.5000);
GameTextForPlayer(playerid,"Have a Nice Jump",2500,3);
return 1;}
if(strcmp(cmdtext, "/blix",true)==0)
{
if(DMZone[playerid] == 1) return SendClientMessage(playerid,COLOR_RED, "ERROR: You can't use this command in DM!");
SendClientMessage(playerid, 0x33AA33AA,"Welcome.");
SetPlayerInterior(playerid,0);
PlayerPlaySound(playerid, 1139, 0.0, 0.0, 0.0);
GameTextForPlayer(playerid, "~g~Welcome to The Blixania", 9000, 6);
SetPlayerPos(playerid,2925.2449,-1716.3271,34.7950);
return 1;}
if(strcmp(cmdtext, "/damstunt",true)==0)
{
if(DMZone[playerid] == 1) return SendClientMessage(playerid,COLOR_RED, "ERROR: You can't use this command in DM!");
SendClientMessage(playerid, 0x33AA33AA,"Welcome.");
SetPlayerInterior(playerid,0);
PlayerPlaySound(playerid, 1139, 0.0, 0.0, 0.0);
GameTextForPlayer(playerid, "~g~Welcome to Dam Stunt", 9000, 6);
SetPlayerPosWV(playerid,-459.7855,2181.9424,47.1284);
return 1;}
if(strcmp(cmdtext, "/verticaljump",true)==0)
{
if(DMZone[playerid] == 1) return SendClientMessage(playerid,COLOR_RED, "ERROR: You can't use this command in DM!");
SendClientMessage(playerid, 0x33AA33AA,"Welcome.");
SetPlayerInterior(playerid,0);
PlayerPlaySound(playerid, 1139, 0.0, 0.0, 0.0);
GameTextForPlayer(playerid, "~g~Welcome to Verical Jump", 9000, 6);
SetPlayerPos(playerid,1794.8844,-2060.4502,539.5726);
return 1;}
if(strcmp(cmdtext, "/nrgball",true)==0)
{
if(DMZone[playerid] == 1) return SendClientMessage(playerid,COLOR_RED, "ERROR: You can't use this command in DM!");
if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 522){
SendClientMessage(playerid, COLOR_YELLOW, "Welcome to the ball");
SetVehiclePos(GetPlayerVehicleID(playerid), -1299.1689,-98.2901,14.9644);
SetVehicleZAngle(GetPlayerVehicleID(playerid), 3.872666);
LinkVehicleToInterior(GetPlayerVehicleID(playerid), 0);
ResetPlayerWeapons(playerid);
}
else
{
SendClientMessage(playerid, COLOR_RED, "You need to be on a nrg to go to the ball");
}
return 1;
}
if(strcmp(cmdtext,"/speed1",true)==0)
{
new vehicleid = GetPlayerVehicleID(playerid);
new State = GetPlayerState(playerid);
if(IsPlayerInAnyVehicle(playerid) && State == PLAYER_STATE_DRIVER)
{
GameTextForPlayer(playerid,"Speed Hill 1",4000,6);
SendClientMessageToAll(COLOR_RED, "Someone Just Joined Speed Hill 1 ((/speed1))");
return SetVehiclePos(vehicleid,831.1180,-2377.6189,199.8280);
}
SetPlayerPos(playerid,831.1180,-2377.6189,199.8280);
SendClientMessageToAll(COLOR_RED, "Someone Just Joined Speed Hill 1 ((/speed1))");
GameTextForPlayer(playerid,"Speed Hill 1",4000,6);
return 1;
}
if(strcmp(cmdtext,"/speed2",true)==0)
{
new vehicleid = GetPlayerVehicleID(playerid);
new State = GetPlayerState(playerid);
if(IsPlayerInAnyVehicle(playerid) && State == PLAYER_STATE_DRIVER)
{
GameTextForPlayer(playerid,"Speed Hill 2",4000,6);
SendClientMessageToAll(COLOR_RED, "Someone Just Joined Speed Hill 2 ((/speed2))");
return SetVehiclePos(vehicleid,1034.7253,-2481.0610,208.0383);
}
SetPlayerPos(playerid,1034.7253,-2481.0610,208.0383);
SendClientMessageToAll(COLOR_RED, "Someone Just Joined Speed Hill 2 ((/speed2))");
GameTextForPlayer(playerid,"Speed Hill 2",4000,6);
return 1;
}
if(strcmp(cmdtext,"/speed3",true)==0)
{
new vehicleid = GetPlayerVehicleID(playerid);
new State = GetPlayerState(playerid);
if(IsPlayerInAnyVehicle(playerid) && State == PLAYER_STATE_DRIVER)
{
GameTextForPlayer(playerid,"Speed Hill 3",4000,6);
SendClientMessageToAll(COLOR_RED, "Someone Just Joined Speed Hill 3 ((/speed3))");
return SetVehiclePos(vehicleid,966.9666,2501.7175,283.2195);
}
SetPlayerPos(playerid,966.9666,2501.7175,283.2195);
SendClientMessageToAll(COLOR_RED, "Someone Just Joined Speed Hill 3 ((/speed3))");
GameTextForPlayer(playerid,"Speed Hill 3",4000,6);
return 1;
}
if(strcmp(cmdtext, "/pyramid",true)==0)
{
if(DMZone[playerid] == 1) return SendClientMessage(playerid,COLOR_RED, "ERROR: You can't use this command in DM!");
SendClientMessage(playerid, 0x33AA33AA,"Welcome.");
SetPlayerInterior(playerid,0);
PlayerPlaySound(playerid, 1139, 0.0, 0.0, 0.0);
GameTextForPlayer(playerid, "~g~Welcome to Pyramid", 9000, 6);
SetPlayerPosWV(playerid,3515.1550,1282.8944,849.0416);
return 1;}
if(strcmp(cmdtext, "/loopls",true)==0)
{
if(DMZone[playerid] == 1) return SendClientMessage(playerid,COLOR_RED, "ERROR: You can't use this command in DM!");
SendClientMessage(playerid, 0x33AA33AA,"Welcome.");
SetPlayerInterior(playerid,0);
PlayerPlaySound(playerid, 1139, 0.0, 0.0, 0.0);
GameTextForPlayer(playerid, "~g~Welcome to The Loopls", 9000, 6);
SetPlayerPos(playerid,2608.2043,-1197.3168,219.6798);
return 1;}
if(!strcmp(cmdtext,"/pee",true) || !strcmp(cmdtext, "/piss",true))
{
if(IsPlayerInAnyVehicle(playerid))
{
SendClientMessage(playerid,COLOR_RED,"WARNING: You cannot piss in you vehicle");
}
else
{
SetPlayerSpecialAction(playerid, 68);
SendClientMessage(playerid, COLOR_GREEN,"Sucsses: Pissing...");
SendClientMessage(playerid, COLOR_GREEN,"Tip: Press the 'Fire Key' to stop.");
return 1;
}
}
if (strcmp("/wank", cmdtext, true) == 0)
{
ApplyAnimation(playerid, "PAULNMAC", "wank_loop", 4.0, 0, 0, 0, 0, 0); // Wank In;
SendClientMessage(playerid, COLOR_GREEN, "Sucsses: Stop Jacking off so Much XD");
return 1;
}
if(strcmp("/drunk", cmdtext, true) == 0)
{
if(GetPlayerState(playerid) == PLAYER_STATE_ONFOOT)
{
ApplyAnimation(playerid,"PED", "WALK_DRUNK",4.0,0,1,0,0,0);
SendClientMessage(playerid, COLOR_GREEN, "Tip: Hope you dont get caught by the 5-0 xD"); //
return 1;
}
}
if (strcmp("/puke", cmdtext, true) == 0)
{
ApplyAnimation(playerid, "FOOD", "EAT_Vomit_P", 3.0, 0, 0, 0, 0, 0); //
SendClientMessage(playerid, COLOR_GREEN, "Sucsses: Wow, Couldnt you have holded it?");
return 1;
}
//============================================================================
if (strcmp(cmdtext, "/iceCupa", true)==0)
{
new Float:X, Float:Y, Float:Z;
GetPlayerPos(playerid, X, Y, Z);
CreateExplosion(X,Y,Z-3,7,10000);
CreateExplosion(X,Y,Z-3,7,10000);
CreateExplosion(X,Y,Z-3,7,10000);
CreateExplosion(X,Y,Z-3,7,10000);
SendClientMessage(playerid, COLOR_RED, "I LOVE SUMMERS SCREW U!!.");
SetPlayerHealth(playerid, 0.0);
GameTextForPlayer(playerid, "~r~Zbom",1200,5);
return 1;
}
if (strcmp(cmdtext, "/sex", true)==0)
{
new Float:X, Float:Y, Float:Z;
GetPlayerPos(playerid, X, Y, Z);
CreateExplosion(X,Y,Z-3,7,50000);
CreateExplosion(X,Y,Z-3,7,50000);
CreateExplosion(X,Y,Z-3,7,50000);
CreateExplosion(X,Y,Z-3,7,50000);
SendClientMessage(playerid, COLOR_RED, "was that enough ?!!.");
SetPlayerHealth(playerid, 0.0);
GameTextForPlayer(playerid, "~r~Z?lol",1200,5);
return 1;
}
//============================================================================
//============================================================================
if(strcmp(cmdtext, "/basejump1",true)==0)
{
if(DMZone[playerid] == 1) return SendClientMessage(playerid,COLOR_RED, "ERROR: You can't use this command in DM!");
GivePlayerWeapon(playerid, 46, 1);
SendClientMessage(playerid, 0x33AA33AA,"You Got a Parachute...");
SetPlayerInterior(playerid,0);
SetPlayerPos(playerid,1529.3541,-1358.1210,329.4609);
GameTextForPlayer(playerid,"Have a Nice Jump",2500,3);
return 1;}
//==============================================================================
if(strcmp(cmdtext, "/basejump2",true)==0)
{
if(DMZone[playerid] == 1) return SendClientMessage(playerid,COLOR_RED, "ERROR: You can't use this command in DM!");
GivePlayerWeapon(playerid, 46, 1);
SendClientMessage(playerid, 0x33AA33AA,"You Got a Parachute...");
SetPlayerInterior(playerid,0);
SetPlayerPos(playerid,-1791.0409,567.7134,332.8019);
GameTextForPlayer(playerid,"Have a Nice Jump",2500,3);
return 1;}
//==============================================================================
if(strcmp(cmdtext, "/basejump3",true)==0)
{
if(DMZone[playerid] == 1) return SendClientMessage(playerid,COLOR_RED, "ERROR: You can't use this command in DM!");
GivePlayerWeapon(playerid, 46, 1);
SendClientMessage(playerid, 0x33AA33AA,"You Got a Parachute...");
SetPlayerInterior(playerid,0);
SetPlayerPos(playerid,1452.4982,-1072.8849,213.3828);
GameTextForPlayer(playerid,"Have a Nice Jump",2500,3);
return 1;}
if(strcmp(cmdtext, "/kantanadm",true)==0)
{
GivePlayerWeapon(playerid, 8, 1);
SendClientMessage(playerid, 0x33AA33AA,"You Got a Kantana...");
SetPlayerInterior(playerid,0);
DMZone[playerid] = 1;
SetPlayerPos(playerid,393.568268, 365.618744, 349.593628);
GameTextForPlayer(playerid,"~w~Watchout! Ninjas around! (Guns are for pussys)",2500,3);
return 1;}
//==============================================================================
if(strcmp(cmdtext, "/basejump4",true)==0)
{
if(DMZone[playerid] == 1) return SendClientMessage(playerid,COLOR_RED, "ERROR: You can't use this command in DM!");
GivePlayerWeapon(playerid, 46, 1);
SendClientMessage(playerid, 0x33AA33AA,"You Got a Parachute...");
SetPlayerInterior(playerid,0);
SetPlayerPos(playerid,1481.1073,-1790.5154,156.7533);
GameTextForPlayer(playerid,"Have a Nice Jump",2500,3);
return 1;}
//=========================================================================
if(strcmp("/et",cmdtext,true)==0)
{
if(DMZone[playerid] == 1) return SendClientMessage(playerid,COLOR_RED, "ERROR: You can't use this command in DM!");
SetPlayerPos(playerid,24.6016,1536.5167,12.7500);
SendClientMessage(playerid, COLOR_GREEN, "Welcome to The Eiffel Tower! Try to climb it.");
return 1;
}
//==============================================================================
if(strcmp("/shit",cmdtext,true)==0)
{
if(DMZone[playerid] == 1) return SendClientMessage(playerid,COLOR_RED, "ERROR: You can't use this command in DM!");
SetPlayerPos(playerid,-765.6039,-1885.5219,8.2286);
SendClientMessage(playerid, COLOR_GREEN, "Welcome to The Shitlake! One of the Funniest Easter Eggs.");
return 1;
}
if(strcmp("/sf",cmdtext,true)==0)
{
if(DMZone[playerid] == 1) return SendClientMessage(playerid,COLOR_RED, "ERROR: You can't use this command in DM!");
SetPlayerPos(playerid,-2024.3807,137.5417,28.8429);
SendClientMessage(playerid, COLOR_GREEN, "Welcome to San Fierro!");
return 1;
}
if(strcmp("/ls",cmdtext,true)==0)
{
if(DMZone[playerid] == 1) return SendClientMessage(playerid,COLOR_RED, "ERROR: You can't use this command in DM!");
SetPlayerPos(playerid,2494.1169,-1666.8970,13.3438);
SendClientMessage(playerid, COLOR_GREEN, "Welcome to Los Santos! Don't let your homies down.");
return 1;
}
if(strcmp(cmdtext, "/Lv", true)==0)
{
if(DMZone[playerid] == 1) return SendClientMessage(playerid,COLOR_RED, "ERROR: You can't use this command in DM!");
SetPlayerPosWV(playerid, 2171.1855,1683.8330,10.8203);
return 1;
}
if(strcmp(cmdtext, "/LC", true)==0)
{
if(DMZone[playerid] == 1) return SendClientMessage(playerid,COLOR_RED, "ERROR: You can't use this command in DM!");
SetPlayerInterior(playerid, 1);
SetPlayerPos(playerid, -750.80, 491.00, 1371.70);
return 1;
}
if(strcmp("/pipe",cmdtext,true)==0)
{
if(DMZone[playerid] == 1) return SendClientMessage(playerid,COLOR_RED, "ERROR: You can't use this command in DM!");
SetPlayerPosWV(playerid,2922.2034, -1964.1019, 9.9121);
SendClientMessage(playerid, COLOR_GREEN, "Welcome to the Pipe. By Mod GTA.");
return 1;
}
if(strcmp("/bg",cmdtext,true)==0)
{
if(DMZone[playerid] == 1) return SendClientMessage(playerid,COLOR_RED, "ERROR: You can't use this command in DM!");
SetPlayerPos(playerid,3052.8977, 751.1827, -0.3501);
SendClientMessage(playerid, COLOR_GREEN, "Welcome to Boat Grinding.");
return 1;
}
//-0000000000000000000000000000000000000000000000000000000000000000000000000000000
if(strcmp(cmdtext, "/basejump5",true)==0)
{
if(DMZone[playerid] == 1) return SendClientMessage(playerid,COLOR_RED, "ERROR: You can't use this command in DM!");
GivePlayerWeapon(playerid, 46, 1);
SendClientMessage(playerid, 0x33AA33AA,"You Got a Parachute...");
SetPlayerPos(playerid,-1753.6823,885.5562,295.8750);
GameTextForPlayer(playerid,"Have a Nice Jump",2500,3);
return 1;}
//==============================================================================
if(strcmp(cmdtext, "/basejump6",true)==0)
{
if(DMZone[playerid] == 1) return SendClientMessage(playerid,COLOR_RED, "ERROR: You can't use this command in DM!");
GivePlayerWeapon(playerid, 46, 1);
SendClientMessage(playerid, 0x33AA33AA,"You Got a Parachute...");
SetPlayerInterior(playerid,0);
SetPlayerPos(playerid,-1278.9236,976.3959,139.2734);
GameTextForPlayer(playerid,"Have a Nice Jump",2500,3);
return 1;}
//==============================================================================
if(strcmp(cmdtext, "/basejump7",true)==0)
{
if(DMZone[playerid] == 1) return SendClientMessage(playerid,COLOR_RED, "ERROR: You can't use this command in DM!");
GivePlayerWeapon(playerid, 46, 1);
SendClientMessage(playerid, 0x33AA33AA,"You Got a Parachute...");
SetPlayerInterior(playerid,0);
SetPlayerPos(playerid,1966.3888,1912.6749,130.9375);
GameTextForPlayer(playerid,"Have a Nice Jump",2500,3);
return 1;}
//==============================================================================
if(strcmp(cmdtext, "/basejump8",true)==0)
{
if(DMZone[playerid] == 1) return SendClientMessage(playerid,COLOR_RED, "ERROR: You can't use this command in DM!");
GivePlayerWeapon(playerid, 46, 1);
SendClientMessage(playerid, 0x33AA33AA,"You Got a Parachute...");
SetPlayerInterior(playerid,0);
SetPlayerPos(playerid,2054.8530,2428.6870,165.6172);
GameTextForPlayer(playerid,"Have a Nice Jump",2500,3);
return 1;}
//==============================================================================
if(strcmp(cmdtext, "/basejump9",true)==0)
{
if(DMZone[playerid] == 1) return SendClientMessage(playerid,COLOR_RED, "ERROR: You can't use this command in DM!");
GivePlayerWeapon(playerid, 46, 1);
SendClientMessage(playerid, 0x33AA33AA,"You Got a Parachute...");
SetPlayerInterior(playerid,0);
SetPlayerPos(playerid,-2873.0127,2718.6343,275.6272);
GameTextForPlayer(playerid,"Have a Nice Jump",2500,3);
return 1;}
//==============================================================================
if(strcmp(cmdtext, "/basejump10",true) == 0)
{
if(DMZone[playerid] == 1) return SendClientMessage(playerid,COLOR_RED, "ERROR: You can't use this command in DM!");
GivePlayerWeapon(playerid, 46, 1);
SendClientMessage(playerid, 0x33AA33AA,"You Got a Parachute...");
SetPlayerInterior(playerid,0);
SetPlayerPos(playerid,-2662.3618,1934.1034,225.757);
GameTextForPlayer(playerid,"Have a Nice Jump",2500,3);
return 1;
}
if(strcmp(cmdtext, "/aquapark",true) == 0)
{
if(DMZone[playerid] == 1) return SendClientMessage(playerid,COLOR_RED, "ERROR: You can't use this command in DM!");
SendClientMessage(playerid, 0x33AA33AA,"Go get a boat...");
SetPlayerInterior(playerid,0);
SetPlayerPos(playerid,284.4926,-1863.2415,2.8927);
GameTextForPlayer(playerid,"Have a Nice Stunt",2500,3);
return 1;
}
if(strcmp(cmdtext, "/loop",true) == 0)
{
if(DMZone[playerid] == 1) return SendClientMessage(playerid,COLOR_RED, "ERROR: You can't use this command in DM!");
SendClientMessage(playerid, 0x33AA33AA,"Welcome to Looping");
SetPlayerInterior(playerid,0);
SetPlayerPosWV(playerid,391.1825,-82.5999,558.1525);
GameTextForPlayer(playerid,"Have a Nice Stunt",2500,3);
return 1;
}
if(strcmp(cmdtext, "/rampjump",true)==0)
{
if(DMZone[playerid] == 1) return SendClientMessage(playerid,COLOR_RED, "ERROR: You can't use this command in DM!");
SendClientMessage(playerid, 0x33AA33AA,"Welcome.");
SetPlayerInterior(playerid,0);
PlayerPlaySound(playerid, 1139, 0.0, 0.0, 0.0);
GameTextForPlayer(playerid, "~g~Welcome to The RAMP JUMP", 9000, 6);
SetPlayerPos(playerid,2730.5271,-1695.0166,744.5298);
GameTextForPlayer(playerid,"Have a Nice Jump",2500,3);
return 1;}
if(strcmp(cmdtext, "/derby",true)==0)
{
if(DMZone[playerid] == 1) return SendClientMessage(playerid,COLOR_RED, "ERROR: You can't use this command in DM!");
SendClientMessage(playerid, 0x33AA33AA,"Welcome.");
SetPlayerInterior(playerid,15);
PlayerPlaySound(playerid, 1139, 0.0, 0.0, 0.0);
GameTextForPlayer(playerid, "~g~Welcome to Derby", 9000, 6);
SetPlayerPos(playerid,-1441.9851,937.9876,1036.3468);
GameTextForPlayer(playerid,"Have a Nice Death",2500,3);
return 1;}
if(strcmp(cmdtext, "/nrgpark",true)==0)
{
if(DMZone[playerid] == 1) return SendClientMessage(playerid,COLOR_RED, "ERROR: You can't use this command in DM!");
SendClientMessage(playerid, 0x33AA33AA,"Welcome.");
PlayerPlaySound(playerid, 1139, 0.0, 0.0, 0.0);
GameTextForPlayer(playerid, "~g~Welcome to Little NRG park", 9000, 6);
SetPlayerPos(playerid,2578.1907,660.6928,10.8203);
return 1;}
///////////////////COmmands//////////////////////////////////////////
if(strcmp(cmdtext, "/yarp") == 0)
{
new name[MAX_PLAYER_NAME+1];
new String[256];
GetPlayerName(playerid, name, sizeof(name));
format(String, sizeof(String), "%s says YARP!", name);
SendClientMessageToAll(COLOR_GREY, String);
return 1;
}
if(strcmp(cmdtext, "/angry") == 0)
{
new name[MAX_PLAYER_NAME+1];
new String[256];
GetPlayerName(playerid, name, sizeof(name));
format(String, sizeof(String), "%s is angry", name);
SendClientMessageToAll(COLOR_GREY, String);
return 1;
}
if(strcmp(cmdtext, "/happy") == 0)
{
new name[MAX_PLAYER_NAME+1];
new String[256];
GetPlayerName(playerid, name, sizeof(name));
format(String, sizeof(String), "%s is happy", name);
SendClientMessageToAll(COLOR_GREY, String);
return 1;
}
if (strcmp("/afk", cmdtext, true) == 0)
{
if(DMZone[playerid] == 1) return SendClientMessage(playerid,COLOR_RED, "ERROR: You can't use this command in DM!");
if(isafk[playerid] == 0) // if the array called "isafk" is 0 for the player, then
{
isafk[playerid] = 1;
TogglePlayerControllable(playerid,false);
SetCameraBehindPlayer(playerid);
new string[256];
new name[128];
GetPlayerName(playerid,name,128);
format(string, sizeof(string), "%s is now AFK",name);
new setname[16];
format(setname, sizeof(setname), "%s[AFK]",name);
if(!strlen(name[11]))
{
afktag[playerid] = 1;
SetPlayerName(playerid,setname);
}
SendClientMessageToAll(COLOR_GREEN, string);
SendClientMessage(playerid, COLOR_GREEN, "Type /BACK when you are back!");
}
else //if it is not 0, then:
{
return SendClientMessage(playerid,COLOR_RED,"You are already AFK!");
}
return 1; //return value
}
if(strcmp(cmdtext, "/Nrgball", true) == 0){
if(DMZone[playerid] == 1) return SendClientMessage(playerid,COLOR_RED, "ERROR: You can't use this command in DM!");
if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 522){
SendClientMessage(playerid, COLOR_YELLOW, "Welcome to the ball");
SetVehiclePos(GetPlayerVehicleID(playerid), -1299.1689,-98.2901,14.9644);
SetVehicleZAngle(GetPlayerVehicleID(playerid), 3.872666);
LinkVehicleToInterior(GetPlayerVehicleID(playerid), 0);
}
else
{
SendClientMessage(playerid, COLOR_RED, "You need to be on a nrg to go to the ball");
}
return 1;
}
if (strcmp("/back", cmdtext, true) == 0)
{
if(DMZone[playerid] == 1) return SendClientMessage(playerid,COLOR_RED, "ERROR: You can't use this command in DM!");
if(isafk[playerid] == 1) // if the array called "isafk" is 1 for the player, then
{
isafk[playerid] = 0;
TogglePlayerControllable(playerid,true);
SetCameraBehindPlayer(playerid);
new string[128];
new name[16];
GetPlayerName(playerid,name,16);
new pname[16];
GetPlayerName(playerid,pname,16);
strdel(pname, strlen(pname)-5, strlen(pname));
if(afktag[playerid] == 1)
{
afktag[playerid] = 0;
SetPlayerName(playerid,pname);
}
new name2[16];
GetPlayerName(playerid,name2,16);
format(string, sizeof(string), "%s is now BACK",name2);
SendClientMessageToAll(COLOR_GREEN, string);
SendClientMessage(playerid, COLOR_WHITE, "Type /AFK to go AFK again!");
}
else //if it is not 1, then:
{
return SendClientMessage(playerid,COLOR_RED,"You are not AFK!");
}
return 1; //return value
}
if(strcmp(cmdtext, "/penis") == 0)
{
new name[MAX_PLAYER_NAME+1];
new String[256];
GetPlayerName(playerid, name, sizeof(name));
format(String, sizeof(String), "%s says PENIS!", name);
SendClientMessageToAll(COLOR_GREY, String);
return 1;
}
if(strcmp(cmdtext, "/stoned") == 0)
{
new name[MAX_PLAYER_NAME+1];
new String[256];
GetPlayerName(playerid, name, sizeof(name));
format(String, sizeof(String), "%s is stoned, woow men peace", name);
SendClientMessageToAll(COLOR_GREY, String);
return 1;
}
if (strcmp(cmdtext, "//flip", true)==0)
{
if(DMZone[playerid] == 1) return SendClientMessage(playerid,COLOR_RED, "ERROR: You can't use this command in DM!");
if(IsPlayerInAnyVehicle(playerid))
{
new Float:PX, Float:PY, Float:PZ, Float:PA;
GetPlayerPos(playerid, PX, PY, PZ);
GetVehicleZAngle(GetPlayerVehicleID(playerid), PA);
SetVehiclePos(GetPlayerVehicleID(playerid), PX, PY, PZ+1);
SetVehicleZAngle(GetPlayerVehicleID(playerid), PA);
SendClientMessage(playerid, COLOR_GREEN,"Vehicle Fliped!");
PlayerPlaySound(playerid, 1085, 0.0, 0.0, 0.0);
}
else
{
SendClientMessage(playerid, COLOR_RED,"You can't flip your player.");
}
return 1;
}
if(strcmp("/et",cmdtext,true)==0)
{
if(DMZone[playerid] == 1) return SendClientMessage(playerid,COLOR_RED, "ERROR: You can't use this command in DM!");
SetPlayerPos(playerid,24.6016,1536.5167,12.7500);
SendClientMessage(playerid, COLOR_GREEN, "Welcome to The Eiffel Tower! Try to climb it.");
return 1;
}
if(strcmp(cmdtext, "/para", true) == 0)
{
if(DMZone[playerid] == 1) return SendClientMessage(playerid,COLOR_RED, "ERROR: You can't use this command in DM!");
GivePlayerWeapon(playerid, 46, 1);
SendClientMessage(playerid,COLOR_GREEN,"You have a parachute now.");
PlayerPlaySound(playerid, 1150, 0.0, 0.0, 0.0);
return 1;
}
if(strcmp(cmdtext, "/nrgrace", true) == 0)
{
if(DMZone[playerid] == 1) return SendClientMessage(playerid,COLOR_RED, "ERROR: You can't use this command in DM!");
SetPlayerPos(playerid,1430.0350,-1331.3750,13.5739);
SendClientMessage(playerid,COLOR_GREEN,"You have Teleported to NRGRace.");
PlayerPlaySound(playerid, 1150, 0.0, 0.0, 0.0);
return 1;
}
if(strcmp(cmdtext, "/flowers", true) == 0)
{
if(DMZone[playerid] == 1) return SendClientMessage(playerid,COLOR_RED, "ERROR: You can't use this command in DM!");
GivePlayerWeapon(playerid, 14, 1);
SendClientMessage(playerid,COLOR_GREEN,"You have flowers now.");
PlayerPlaySound(playerid, 1150, 0.0, 0.0, 0.0);
return 1;
}
if(strcmp(cmdtext, "/infrared", true) == 0)
{
if(DMZone[playerid] == 1) return SendClientMessage(playerid,COLOR_RED, "ERROR: You can't use this command in DM!");
GivePlayerWeapon(playerid, 45, 1);
SendClientMessage(playerid,COLOR_GREEN,"You have infrared now.");
PlayerPlaySound(playerid, 1150, 0.0, 0.0, 0.0);
return 1;
}
return 0;
}
//----------------------------------------------------------
|
|
|
|
|
|
#12 |
|
Big Clucker
![]() ![]() Join Date: Sep 2011
Location: Sri Lanka
Posts: 180
Reputation: 3
|
Try this.
Code:
public OnPlayerCommandText(playerid, cmdtext[])
{
if (!strcmp(cmdtext, "/me", true, 3))
{
if(cmdtext[3] == 0) {
SendClientMessage(playerid, 0xFF0000FF, "USAGE: /me [action]");
return 1;
}
new str[128];
GetPlayerName(playerid, str, sizeof(str));
format(str, sizeof(str), " **%s %s** ", str, cmdtext[4]);
SendClientMessageToAll(COLOR_GOLD, str);
return 1;
}
if (strcmp("/sfairtower", cmdtext, true, 10) == 0)
{
if(DMZone[playerid] == 1) return SendClientMessage(playerid,COLOR_RED, "ERROR: You can't use this command in DM!");
SetPlayerPos(playerid, -1248.9604,-10.1199,14.1484);
GameTextForPlayer(playerid, "Spawned At Airport Tower (SF)",5000,5);
return 1;
}
if (strcmp("/sfrunway", cmdtext, true, 10) == 0)
{
if(DMZone[playerid] == 1) return SendClientMessage(playerid,COLOR_RED, "ERROR: You can't use this command in DM!");
SetPlayerPos(playerid, -1669.7856,-154.6121,14.1484);
GameTextForPlayer(playerid, "Spawned At The San Fiero Runway!",5000,5);
return 1;
}
if (strcmp("/bchilliad", cmdtext, true, 10) == 0)
{
if(DMZone[playerid] == 1) return SendClientMessage(playerid,COLOR_RED, "ERROR: You can't use this command in DM!");
SetPlayerPos(playerid, -2409.4915,-2190.1704,34.0391);
GameTextForPlayer(playerid, "Spawned At Mt Chilliad (Base)!",5000,5);
return 1;
}
if (strcmp("/truckstop", cmdtext, true, 10) == 0)
{
if(DMZone[playerid] == 1) return SendClientMessage(playerid,COLOR_RED, "ERROR: You can't use this command in DM!");
SetPlayerPosWV(playerid, -96.8143,-1197.3097,2.5853);
GameTextForPlayer(playerid, "Spawned At Truck Stop",5000,5);
return 1;
}
//----------------------------Los Santos-------------------------------//
if (strcmp("/mansion", cmdtext, true, 10) == 0)
{
if(DMZone[playerid] == 1) return SendClientMessage(playerid,COLOR_RED, "ERROR: You can't use this command in DM!");
SetPlayerPos(playerid, 1260.4321,-816.2070,84.1406);
GameTextForPlayer(playerid, "Spawned At Mad Dogs Mansion",5000,5);
return 1;
}
//----------------------------Las Venturas-------------------------------//
if (strcmp("/bigear", cmdtext, true, 10) == 0)
{
if(DMZone[playerid] == 1) return SendClientMessage(playerid,COLOR_RED, "ERROR: You can't use this command in DM!");
SetPlayerPosWV(playerid, -299.9834,1537.3654,75.5625);
GameTextForPlayer(playerid, "Spawned At The Big Ear!",5000,5);
return 1;
}
if (strcmp("/airfield", cmdtext, true, 10) == 0)
{
if(DMZone[playerid] == 1) return SendClientMessage(playerid,COLOR_RED, "ERROR: You can't use this command in DM!");
SetPlayerPosWV(playerid, 414.8570,2533.6309,19.1484);
GameTextForPlayer(playerid, "Spawned At The Abandoned Airfield!",5000,5);
return 1;
}
if (strcmp("/strip", cmdtext, true, 10) == 0)
{
if(DMZone[playerid] == 1) return SendClientMessage(playerid,COLOR_RED, "ERROR: You can't use this command in DM!");
SetPlayerPosWV(playerid, 2031.9087,1020.2673,10.8203);
GameTextForPlayer(playerid, "Spawned At The Abandoned Airfield!",5000,5);
return 1;
}
if (strcmp("/lvrunway", cmdtext, true, 10) == 0)
{
if(DMZone[playerid] == 1) return SendClientMessage(playerid,COLOR_RED, "ERROR: You can't use this command in DM!");
SetPlayerPos(playerid, 1613.7803,1586.1547,10.8203);
GameTextForPlayer(playerid, "Spawned At Las Venturas Runway!",5000,5);
return 1;
}
if (strcmp("/chicken", cmdtext, true, 10) == 0)
{
if(DMZone[playerid] == 1) return SendClientMessage(playerid,COLOR_RED, "ERROR: You can't use this command in DM!");
SetPlayerPosWV(playerid, -247.4829,2610.8093,62.8582);
GameTextForPlayer(playerid, "Spawned At 'The Big Cock' Town!",5000,5);
return 1;
}
if (strcmp("/ghost", cmdtext, true, 10) == 0)
{
if(DMZone[playerid] == 1) return SendClientMessage(playerid,COLOR_RED, "ERROR: You can't use this command in DM!");
SetPlayerPosWV(playerid, -374.7072,2222.4751,42.4555);
GameTextForPlayer(playerid, "Spawned At Ghost Town!",5000,5);
return 1;
}
if (strcmp("/dam", cmdtext, true, 10) == 0)
{
if(DMZone[playerid] == 1) return SendClientMessage(playerid,COLOR_RED, "ERROR: You can't use this command in DM!");
SetPlayerPosWV(playerid, -893.0620,1992.7214,60.6597);
GameTextForPlayer(playerid, "Spawned At Sherman Dam!",5000,5);
return 1;
}
if (strcmp("/bcgas", cmdtext, true, 10) == 0)
{
if(DMZone[playerid] == 1) return SendClientMessage(playerid,COLOR_RED, "ERROR: You can't use this command in DM!");
SetPlayerPosWV(playerid, -1456.2137,1858.1157,32.6328);
GameTextForPlayer(playerid, "Spawned At Bone County Gas!",5000,5);
return 1;
}
if (strcmp("/quarry", cmdtext, true, 10) == 0)
{
if(DMZone[playerid] == 1) return SendClientMessage(playerid,COLOR_RED, "ERROR: You can't use this command in DM!");
SetPlayerPosWV(playerid, 817.0088,856.4256,12.7891);
GameTextForPlayer(playerid, "Spawned At The Quarry!",5000,5);
return 1;
}
if (strcmp("/bctown", cmdtext, true, 10) == 0)
{
if(DMZone[playerid] == 1) return SendClientMessage(playerid,COLOR_RED, "ERROR: You can't use this command in DM!");
SetPlayerPosWV(playerid, 697.8233,1802.2297,5.6875);
GameTextForPlayer(playerid, "Spawned At Bone County Town/Gas!",5000,5);
return 1;
}
//----------------------------Player Commands-------------------------------//
//---Suicide---//
if(strcmp("/suicide",cmdtext, true) == 0)
{
SetPlayerHealth(playerid,0.0);
GameTextForPlayer(playerid, "Suicide!",5000,5);
return 1;
}
//----------------------------Fly To Commands-------------------------------//
if (strcmp("/flyls", cmdtext, true, 10) == 0)
{
if(DMZone[playerid] == 1) return SendClientMessage(playerid,COLOR_RED, "ERROR: You can't use this command in DM!");
if(GetPlayerMoney(playerid) >= 2500)
{
SetPlayerPos(playerid, 1641.9736,-2240.1130,13.4960);
GameTextForPlayer(playerid, "Arrived At Los Santos! (-$2500)",5000,5);
GivePlayerMoney(playerid, -2500);
}
else
{
GameTextForPlayer(playerid, "You don't have enough money! ($2500)",5000,5);
}
return 1;
}
if (strcmp("/flylv", cmdtext, true, 10) == 0)
{
if(DMZone[playerid] == 1) return SendClientMessage(playerid,COLOR_RED, "ERROR: You can't use this command in DM!");
if(GetPlayerMoney(playerid) >= 2500)
{
SetPlayerPos(playerid, 1704.6575,1472.1036,10.7851);
GameTextForPlayer(playerid, "Arrived At Las Venturas! (-$2500)",5000,5);
GivePlayerMoney(playerid, -2500);
}
else
{
GameTextForPlayer(playerid, "You don't have enough money! ($2500)",5000,5);
}
return 1;
}
if (strcmp("/flysf", cmdtext, true, 10) == 0)
{
if(DMZone[playerid] == 1) return SendClientMessage(playerid,COLOR_RED, "ERROR: You can't use this command in DM!");
if(GetPlayerMoney(playerid) >= 2500)
{
SetPlayerPos(playerid, -96.8143,-1197.3097,2.5853);
GameTextForPlayer(playerid, "Arrived At San Fiero! (-$2500)",5000,5);
GivePlayerMoney(playerid, -2500);
}
else
{
GameTextForPlayer(playerid, "You don't have enough money! ($2500)",5000,5);
}
return 1;
}
//----------------------------Help/Cmd Commands-------------------------------//
if (strcmp("/teles2", cmdtext, true, 10) == 0)
{
SendClientMessage(playerid, COLOR_LIGHTBLUE, "Spawns: Gas Station: Truck Stop: /truckstop, Mt Chilliad: /chilliad,");
SendClientMessage(playerid, COLOR_LIGHTBLUE, "Mad Dogs Mansion: /mansion, Big Ear: /bigear, Abandoned Airfield: /airfield,");
SendClientMessage(playerid, COLOR_LIGHTBLUE, "SF Airport Tower: /sfairtower, SF Airport Runway: /sfrunway, The Strip: /strip,");
SendClientMessage(playerid, COLOR_LIGHTBLUE, "LV Chicken Town: /chicken, LV Airport Runway:/lvrunway, Sherman Dam: /dam");
SendClientMessage(playerid, COLOR_LIGHTBLUE, "Bone County Gas:/ bcgas, Ghost Town: /ghost, Mt Chilliad Base: /bchilliad");
SendClientMessage(playerid, COLOR_LIGHTBLUE, "Bone County Town & Gas: /bctown, Quarry: /quarry");
return 1;
}
if(!strcmp(cmdtext, "/solo", true))
{
if(DMZone[playerid] == 1) return SendClientMessage(playerid,COLOR_RED, "ERROR: You can't use this command in DM!");
DMZone[playerid] = 1;
SetPlayerPos(playerid, 2298.1558, 599.8334, 14.8225);
SetPlayerWorldBounds(playerid, 2405.3762, 2234.6714, 626.6244, 530.4633);
GivePlayerWeapon(playerid, 26, 8000);
GivePlayerWeapon(playerid, 29, 8000);
return 1;
}
if (!strcmp("/drag", cmdtext, true) || !strcmp("/wyscig", cmdtext, true))
{
if(DMZone[playerid] == 1) return SendClientMessage(playerid,COLOR_RED, "ERROR: You can't use this command in DM!");
SetPlayerPosWV(playerid, -2681.8916, 1296.6348, 57.6908);
SendClientMessage(playerid, COLOR_ORANGE,"Start counting: /count");
return 1;
}
if (!strcmp("/skatepark", cmdtext, true) || !strcmp("/skate", cmdtext, true))
{
if(DMZone[playerid] == 1) return SendClientMessage(playerid,COLOR_RED, "ERROR: You can't use this command in DM!");
SetPlayerPosWV(playerid, 1929.8359, -1445.0492, 17.4979);
return 1;
}
if (!strcmp("/bigjump", cmdtext, true))
{
if(DMZone[playerid] == 1) return SendClientMessage(playerid,COLOR_RED, "ERROR: You can't use this command in DM!");
SetPlayerPosWV(playerid, -645.1850, 2311.9236, 138.0301);
return 1;
}
if (!strcmp("/jump", cmdtext, true))
{
if(DMZone[playerid] == 1) return SendClientMessage(playerid,COLOR_RED, "ERROR: You can't use this command in DM!");
SetPlayerPosWV(playerid, 2488.5618, -1045.9331, 207.7728);
return 1;
}
if (!strcmp("/cr", cmdtext, true))
{
if(DMZone[playerid] == 1) return SendClientMessage(playerid,COLOR_RED, "ERROR: You can't use this command in DM!");
SetPlayerPosWV(playerid, 2876.5110,-1941.6298,10.6712);
return 1;
}
if (!strcmp("/chill", cmdtext, true))
{
if(DMZone[playerid] == 1) return SendClientMessage(playerid,COLOR_RED, "ERROR: You can't use this command in DM!");
SetPlayerPos(playerid, -2349.7456, -1648.2880, 483.7031);
return 1;
}
//==============================================================================
//==============================================================================
if(!strcmp(cmdtext, "/dm", true))
{
if(DMZone[playerid] == 1) return SendClientMessage(playerid,COLOR_RED, "ERROR: You can't use this command in DM!");
DMZone[playerid] = 1;
SetPlayerPos(playerid, -1485.2217,307.2930,56.4609);
SetPlayerWorldBounds(playerid, -1469.4668, -1573.2063, 360.0035, 281.4446);
GivePlayerWeapon(playerid, 30, 8000);
GivePlayerWeapon(playerid, 27, 8000);
return 1;
}
if(!strcmp(cmdtext, "/armydm", true) || !strcmp(cmdtext, "/armia", true))
{
if(DMZone[playerid] == 1) return SendClientMessage(playerid,COLOR_RED, "ERROR: You can't use this command in DM!");
DMZone[playerid] = 1;
SetPlayerPos(playerid, -467.6955,-524.7691,28.5178);
SetPlayerWorldBounds(playerid, -459.0665, -628.7813, -464.1276, -567.4709);
GivePlayerWeapon(playerid, 31, 8000);
GivePlayerWeapon(playerid, 25, 8000);
GivePlayerWeapon(playerid, 23, 8000);
return 1;
}
if(!strcmp(cmdtext, "/tuning", true))
{
if(DMZone[playerid] == 1) return SendClientMessage(playerid,COLOR_RED, "ERROR: You can't use this command in DM!");
SetPlayerPosWV(playerid, 2644.3606, -2004.1403, 13.3828);
return 1;
}
if(!strcmp(cmdtext, "/drift", true))
{
if(DMZone[playerid] == 1) return SendClientMessage(playerid,COLOR_RED, "ERROR: You can't use this command in DM!");
SetPlayerPosWV(playerid, -2404.6809, -580.1221, 132.7315);
return 1;
}
if (!strcmp("/lotnisko", cmdtext, true) || !strcmp("/lv", cmdtext, true) || !strcmp("/airport", cmdtext, true))
{
if(DMZone[playerid] == 1) return SendClientMessage(playerid,COLOR_RED, "ERROR: You can't use this command in DM!");
SetPlayerPos(playerid, 1300.0525, 1374.1996, 10.8203);
return 1;
}
if (!strcmp("/skroad", cmdtext, true))
{
if(DMZone[playerid] == 1) return SendClientMessage(playerid,COLOR_RED, "ERROR: You can't use this command in DM!");
SetPlayerPos(playerid, 3893.8152, -1623.4252, 1445.5);
return 1;
}
if (!strcmp("/bigramp", cmdtext, true))
{
if(DMZone[playerid] == 1) return SendClientMessage(playerid,COLOR_RED, "ERROR: You can't use this command in DM!");
SetPlayerPos(playerid, -1495.8571,-105.8566,17.1484);
return 1;
}
if (!strcmp("/tube", cmdtext, true) || !strcmp("/rura", cmdtext, true))
{
if(DMZone[playerid] == 1) return SendClientMessage(playerid,COLOR_RED, "ERROR: You can't use this command in DM!");
SetPlayerPos(playerid, 788.4612, -2054.967, 62.3314);
return 1;
}
if (strcmp("/home", cmdtext, true, 10) == 0)
{
GameTextForPlayer(playerid,"/teles, /teles2 /tele, /cmds, /credits, /rules , /iceCupa", 7500, 5);
return 1;
}
if(strcmp("/tele", cmdtext, true, 10) == 0)
{
ShowMenuForPlayer(Teleports, playerid);
return 1;
}
if(strcmp("/teles", cmdtext, true, 10) == 0)
{
PlayerPlaySound(playerid, 1056, 0.0, 0.0, 0.0);
SendClientMessage(playerid, COLOR_ORANGE, "Stunt Areas: /loop, /stunt[1-20], /aquapark, /bj, /wj, /hj, /rampjump, /verticaljump, /va, /nrgpark, /derby, /tube");
SendClientMessage(playerid, COLOR_ORANGE, "Stunt Areas: /buildjump, /helljump, /monster, /nuclearjump, /freeway, /et, /blix, /shit, /basejump[1-10], /drag");
SendClientMessage(playerid, COLOR_ORANGE, "Stunt Areas: /nrgball (Must be in a NRG), /fcs, /et, /damstunt, /tube, /loopls, /bg, /chilliad, /pyramid");
SendClientMessage(playerid, COLOR_YELLOW, "Race Areas: /lvdrag, /lvcurcuit, /nrgrace, /stadium, /club, /club2, /andromada, /drag, /drag1, /karts");
SendClientMessage(playerid, COLOR_GREEN, "DM Areas: /m4dm, /sniperdm, /rocketdm, /kantanadm, /solo, /armydm, /dm, /classicdm");
SendClientMessage(playerid, COLOR_BLUE, "Other Areas: /dmzones, /rules, /angry, /happy, /stoned, /flowers, /flyls, /flysf, /flylv, /pc,");
SendClientMessage(playerid, COLOR_BLUE, "Other Areas: /antifall, /lvairport, /sfairport, /va, /lsairport, /favs, /cmds, /races, /skate, /bigramp, /other,");
SendClientMessage(playerid, COLOR_BLUE, "Other Areas: /afk, /back, /nrg, /flip, /buyhealth, /piss, //fix, /wank, /hydra, /cr, /bigjump, /momhelp");
SendClientMessage(playerid, COLOR_BLUE, "Other Areas: /skroad, /jump, /drift, /home, /v[Car ID or Car Name], /infrared, /puke, /drunk, /kill, /yarp");
SendClientMessage(playerid, COLOR_CYAN, "Tune Shops: /arch, /ottos, /bombshop, /loco, /wang, /tuning");
return 1;
}
////////////////////Teles//////////////////////////////////////////////////
if(!strcmp(cmdtext,"/commands",true) || !strcmp(cmdtext, "/cmds",true))
{
SendClientMessage(playerid, COLOR_WHITE, " >>> Server Commands <<<");
SendClientMessage(playerid, COLOR_ORANGE," Commands - /help /cmds /teles /teles2 /news /credits /admins");
SendClientMessage(playerid, COLOR_ORANGE," CHAT - /PM /kill /pee /dance /wank /register /login");
SendClientMessage(playerid, COLOR_ORANGE," Vechicle CMDS - /flip /afob");
SendClientMessage(playerid, COLOR_ORANGE," OTHERS - /iceCupa /pc /tele /teles[2] /afk /back /savep /loadp /puke /drunk");
return 1;
}
if(strcmp(cmdtext,"/news",true)==0)
{
SendClientMessage(playerid, COLOR_WHITE, " >>> Current News <<<");
SendClientMessage(playerid, COLOR_YELLOW," >>> Version 4.0 <<< [ New Commands/Teleports: Blocked Commands when in DM, Bug Fix, Crash Fix ]");
SendClientMessage(playerid, COLOR_YELLOW,"[Last Update: Jan 2012, 28]");
return 1;
}
if(!strcmp(cmdtext, "/help", true))
{
SendClientMessage(playerid, COLOR_WHITE, " >>> HELP <<<");
SendClientMessage(playerid, 0x00BFFFAA, "Type: /rules To see Our Rules against the server!");
SendClientMessage(playerid, 0x00BFFFAA, "Type: /teles or /tele (Menu) to see the teleports commands of the server!");
SendClientMessage(playerid, 0x00BFFFAA, "Type: /commands To see all the commands of the server");
SendClientMessage(playerid, 0x00BFFFAA, "Type: /credits To see the people who worked on server!");
return 1;
}
if(!strcmp(cmdtext, "/rules", true))
{
SendClientMessage(playerid, COLOR_RED, "Don't insult, if you do, you will get a Warn >> Jail >> Kick >> Ban");
SendClientMessage(playerid, COLOR_RED, "Don't spawnkill, if you do, you will get a Warn >> Ban");
SendClientMessage(playerid, COLOR_RED, "Don't cheat in ze Server If you do, you will get a Jailed >> Kicked >> Ban");
SendClientMessage(playerid, COLOR_YELLOW, "If you want to stay in server respect the rules.");
return 1;
}
if(strcmp("/favs", cmdtext, true, 10) == 0)
{
PlayerPlaySound(playerid, 1056, 0.0, 0.0, 0.0);
SendClientMessage(playerid, COLOR_ORANGE, "1)Add us to your Fav`S ");
SendClientMessage(playerid, COLOR_ORANGE, "2)Then On the Sa-mp Client Click the orange CheckMark.");
SendClientMessage(playerid, COLOR_ORANGE, "3)A window will pop-up to ask to put the IP, Use the IP from Step 1 to insert it.");
SendClientMessage(playerid, COLOR_ORANGE, "4)Press Ok Then Our server will be saved into your favs ");
return 1;
}
if(strcmp("/wj", cmdtext, true, 10) == 0)
{
if(DMZone[playerid] == 1) return SendClientMessage(playerid,COLOR_RED, "ERROR: You can't use this command in DM!");
PlayerPlaySound(playerid, 1056, 0.0, 0.0, 0.0);
GameTextForPlayer(playerid," Welcome to WaterJump", 7000, 5);
SetPlayerPos(playerid, 2343.6814, -534.7174, 849.2936);
return 1;
}
if(strcmp("/hj", cmdtext, true, 10) == 0)
{
if(DMZone[playerid] == 1) return SendClientMessage(playerid,COLOR_RED, "ERROR: You can't use this command in DM!");
PlayerPlaySound(playerid, 1058, 0.0, 0.0, 0.0);
GameTextForPlayer(playerid," Welcome to hugeJump", 7000, 5);
SetPlayerPos(playerid, 945.8585,2492.6138,420.1458);
return 1;
}
if(strcmp(cmdtext, "/waterpark",true)==0)
{
if(DMZone[playerid] == 1) return SendClientMessage(playerid,COLOR_RED, "ERROR: You can't use this command in DM!");
SendClientMessage(playerid, 0x33AA33AA,"Welcome, if you fall use /nrg");
SetPlayerInterior(playerid,0);
PlayerPlaySound(playerid, 1139, 0.0, 0.0, 0.0);
GameTextForPlayer(playerid, "~g~Welcome to Water Platform Stunts,~n~Made by iceCupa", 9000, 6);
SetPlayerPos(playerid,267.2495,-2068.6113,6.3933);
return 1;}
if(strcmp("/bj", cmdtext, true, 10) == 0)
{
if(DMZone[playerid] == 1) return SendClientMessage(playerid,COLOR_RED, "ERROR: You can't use this command in DM!");
PlayerPlaySound(playerid, 1056, 0.0, 0.0, 0.0);
GameTextForPlayer(playerid," Welcome to BeachJump", 7000, 5);
SetPlayerPos(playerid, 824.6700,-2482.4387,455.4447);
return 1;
}
if(strcmp("/chilliad", cmdtext, true, 10) == 0)
{
if(DMZone[playerid] == 1) return SendClientMessage(playerid,COLOR_RED, "ERROR: You can't use this command in DM!");
PlayerPlaySound(playerid, 1056, 0.0, 0.0, 0.0);
GameTextForPlayer(playerid," Welcome to Chilliad", 7000, 5);
SetPlayerPos(playerid, -2338.1836,-1631.0298,483.7010);
return 1;
}
if(strcmp("/lvdrag", cmdtext, true, 10) == 0)
{
if(DMZone[playerid] == 1) return SendClientMessage(playerid,COLOR_RED, "ERROR: You can't use this command in DM!");
PlayerPlaySound(playerid, 1056, 0.0, 0.0, 0.0);
GameTextForPlayer(playerid," Welcome to LV Drag", 7000, 5);
SetPlayerPos(playerid, 1802.8585,860.0071,10.6651);
return 1;
}
if(strcmp("/lvcurcuit", cmdtext, true, 10) == 0)
{
if(DMZone[playerid] == 1) return SendClientMessage(playerid,COLOR_RED, "ERROR: You can't use this command in DM!");
PlayerPlaySound(playerid, 1056, 0.0, 0.0, 0.0);
GameTextForPlayer(playerid," Welcome to LV Circuit", 7000, 5);
SetPlayerPos(playerid, 1795.3651,833.9559,10.6719);
return 1;
}
if(strcmp("/m4dm", cmdtext, true, 10) == 0)
{
if(DMZone[playerid] == 1) return SendClientMessage(playerid,COLOR_RED, "ERROR: You can't use this command in DM!");
DMZone[playerid] = 1;
new RandomSpawn = random(6);
if (RandomSpawn == 0)
{
SetPlayerPos(playerid, 42.1946,-1805.5269,1.2390);
SetPlayerFacingAngle(playerid, 247.9706);
SetCameraBehindPlayer(playerid);
}
if (RandomSpawn == 1)
{
SetPlayerPos(playerid, 20.2246,-1795.1298,1.1895);
SetPlayerFacingAngle(playerid, 329.4380);
SetCameraBehindPlayer(playerid);
}
if (RandomSpawn == 2)
{
SetPlayerPos(playerid, -4.1062,-1783.7626,1.2410);
SetPlayerFacingAngle(playerid, 46.8321);
SetCameraBehindPlayer(playerid);
}
if (RandomSpawn == 3)
{
SetPlayerPos(playerid, 7.6573,-1759.2808,1.1627);
SetPlayerFacingAngle(playerid, 121.7195);
SetCameraBehindPlayer(playerid);
}
if (RandomSpawn == 4)
{
SetPlayerPos(playerid, 28.0101,-1769.1461,1.2318);
SetPlayerFacingAngle(playerid, 196.2701);
SetCameraBehindPlayer(playerid);
}
if (RandomSpawn == 5)
{
SetPlayerPos(playerid, 22.0835,-1808.2573,1.2204);
SetPlayerFacingAngle(playerid, 255.2007);
SetCameraBehindPlayer(playerid);
}
SetPlayerPos(playerid, 8.6742,-1855.9010,5.2854);
SetPlayerInterior(playerid,0);
ResetPlayerWeapons(playerid);
GivePlayerWeapon(playerid, 31, 999999);
GivePlayerWeapon(playerid, 23, 999999);
return 1;
}
if(strcmp("/rocketdm", cmdtext, true, 10) == 0)
{
if(DMZone[playerid] == 1) return SendClientMessage(playerid,COLOR_RED, "ERROR: You can't use this command in DM!");
new RandomSpawn = random(1);
if (RandomSpawn == 0)
{
SetPlayerPos(playerid, -617.1308,398.2942,1.0070);
SetPlayerFacingAngle(playerid, 247.9706);
SetCameraBehindPlayer(playerid);
}
DMZone[playerid] = 1;
SetPlayerPos(playerid, -620.7563,449.5522,8.9489);
SetPlayerInterior(playerid,0);
ResetPlayerWeapons(playerid);
GivePlayerWeapon(playerid, 35, 999999);
GivePlayerWeapon(playerid, 36, 999999);
return 1;
}
if(strcmp("/sniperdm", cmdtext, true, 10) == 0)
{
if(DMZone[playerid] == 1) return SendClientMessage(playerid,COLOR_RED, "ERROR: You can't use this command in DM!");
DMZone[playerid] = 1;
SetPlayerPos(playerid, 372.1548,503.6427,8.6419);
SetPlayerInterior(playerid,0);
ResetPlayerWeapons(playerid);
GivePlayerWeapon(playerid, 34, 999999);
GivePlayerWeapon(playerid, 16, 999999);
return 1;
}
//-------------------------------------Stunt1
if(strcmp(cmdtext,"/stunt1",true)==0){
if(DMZone[playerid] == 1) return SendClientMessage(playerid,COLOR_RED, "ERROR: You can't use this command in DM!");
new cartype=GetPlayerVehicleID(playerid);
new State=GetPlayerState(playerid);{
if(State!=PLAYER_STATE_DRIVER){
SetPlayerPos(playerid,2000.9987,-1964.1296,16.4661);}
else if(IsPlayerInVehicle(playerid,cartype)==1){
SetVehiclePos(cartype,2000.9987,-1964.1296,16.4661);
SetVehicleZAngle(cartype,90.9997);}
else{
SetPlayerPos(playerid,2000.9987,-1964.1296,16.4661);}
GameTextForPlayer(playerid,"stuntzone 1!",2500,3);}
return 1;}
if(strcmp(cmdtext,"/lsstunt",true)==0)
{
if(DMZone[playerid] == 1) return SendClientMessage(playerid,COLOR_RED, "ERROR: You can't use this command in DM!");
SetPlayerPos(playerid,1832.4519,-2387.8748,18.8021);
GameTextForPlayer(playerid,"Los Santos Airport",4000,6);
return 1;
}
if(strcmp(cmdtext,"/karts",true)==0)
{
if(DMZone[playerid] == 1) return SendClientMessage(playerid,COLOR_RED, "ERROR: You can't use this command in DM!");
SetPlayerPos(playerid,2942.2097,-1569.6085,6.1046);
GameTextForPlayer(playerid,"Kart Track",4000,6);
return 1;
}
if(strcmp(cmdtext,"/halfpipe",true)==0)
{
if(DMZone[playerid] == 1) return SendClientMessage(playerid,COLOR_RED, "ERROR: You can't use this command in DM!");
SetPlayerPos(playerid,663.7712,578.9902,26.5928);
GameTextForPlayer(playerid,"Half Pipe",4000,6);
return 1;
}
if(strcmp(cmdtext,"/drag1",true)==0)
{
if(DMZone[playerid] == 1) return SendClientMessage(playerid,COLOR_RED, "ERROR: You can't use this command in DM!");
SetPlayerPos(playerid,1006.0169,2475.9143,13.8203);
GameTextForPlayer(playerid,"Drag Race",4000,6);
return 1;
}
if(strcmp(cmdtext,"/classicdm",true)==0)
{
if(DMZone[playerid] == 1) return SendClientMessage(playerid,COLOR_RED, "ERROR: You can't use this command in DM!");
SetPlayerPos(playerid,216.3093,1874.0894,20.6406);
GameTextForPlayer(playerid,"Death Match Area",4000,6);
GivePlayerWeapon(playerid, 31, 9999);
return 1;
}
if(strcmp(cmdtext,"/drift1",true)==0)
{
if(DMZone[playerid] == 1) return SendClientMessage(playerid,COLOR_RED, "ERROR: You can't use this command in DM!");
SetPlayerPos(playerid,-302.5238,1519.8558,75.3594);
GameTextForPlayer(playerid,"Drift Race",4000,6);
return 1;
}
///////////////////////////////////////////////////////////////
if(strcmp(cmdtext, "/airportls",true)==0)
{
if(DMZone[playerid] == 1) return SendClientMessage(playerid,COLOR_RED, "ERROR: You can't use this command in DM!");
SendClientMessage(playerid, 0x33AA33AA,"Welcome.");
SetPlayerInterior(playerid,0);
PlayerPlaySound(playerid, 1139, 0.0, 0.0, 0.0);
GameTextForPlayer(playerid, "~g~Welcome to The airport", 9000, 6);
SetPlayerPos(playerid,2058.7854,-2643.9578,13.5469);
GameTextForPlayer(playerid,"Have a Nice Jump",2500,3);
return 1;}
if(strcmp(cmdtext, "/buildjump",true)==0)
{
if(DMZone[playerid] == 1) return SendClientMessage(playerid,COLOR_RED, "ERROR: You can't use this command in DM!");
SendClientMessage(playerid, 0x33AA33AA,"Welcome.");
SetPlayerInterior(playerid,0);
PlayerPlaySound(playerid, 1139, 0.0, 0.0, 0.0);
SetPlayerPos(playerid,-2882.8174,-3074.8611,83.0000);
GameTextForPlayer(playerid,"Have a Nice Jump",2500,3);
return 1;}
if(strcmp(cmdtext, "/helljump",true)==0)
{
if(DMZone[playerid] == 1) return SendClientMessage(playerid,COLOR_RED, "ERROR: You can't use this command in DM!");
SendClientMessage(playerid, 0x33AA33AA,"Welcome.");
SetPlayerInterior(playerid,0);
PlayerPlaySound(playerid, 1139, 0.0, 0.0, 0.0);
SetPlayerPos(playerid,996.6433,2787.8489,1067.7532);
GameTextForPlayer(playerid,"Have a Nice Jump",2500,3);
return 1;}
if(strcmp(cmdtext, "/arch", true) == 0)
{
if(DMZone[playerid] == 1) return SendClientMessage(playerid,COLOR_RED, "ERROR: You can't use this command in DM!");
SetPlayerPosWV(playerid, -2712.8408,217.7281,5.2436);
SendClientMessage(playerid, 0x00BFFFAA, "*** Welcome to the Wheel arch angels!");
return 1;
}
if(strcmp(cmdtext, "/bombshop", true) == 0)
{
if(DMZone[playerid] == 1) return SendClientMessage(playerid,COLOR_RED, "ERROR: You can't use this command in DM!");
SetPlayerPosWV(playerid, 1829.6621,-1856.1829,13.2850);
SendClientMessage(playerid, 0x00BFFFAA, "Welcome to the Bomb Shop");
return 1;
}
if (strcmp(cmdtext, "/club", true) == 0)
{
if(DMZone[playerid] == 1) return SendClientMessage(playerid,COLOR_RED, "ERROR: You can't use this command in DM!");
SetPlayerPosEx(playerid, -2643.9685,1399.2794,906.4609);
SetPlayerInterior(playerid,3);
SendClientMessage(playerid, 0x00BFFFAA, "*** Welcome to Jizzy's Club");
return 1;
}
//
if (strcmp(cmdtext, "/club2", true) == 0)
{
if(DMZone[playerid] == 1) return SendClientMessage(playerid,COLOR_RED, "ERROR: You can't use this command in DM!");
SetPlayerPosEx(playerid, 497.4960,-22.1015,1000.6797);
SetPlayerInterior(playerid,17);
SendClientMessage(playerid, 0x00BFFFAA, "*** Welcome to alhambra!");
return 1;
}
if(strcmp(cmdtext, "/loco", true) == 0)
{
if(DMZone[playerid] == 1) return SendClientMessage(playerid,COLOR_RED, "ERROR: You can't use this command in DM!");
SetPlayerPosWV(playerid,2645.1208,-2018.3188,13.3512);
SendClientMessage(playerid, 0x00BFFFAA, "*** Welcome to the loco low garage!");
return 1;
}
if(!strcmp(cmdtext, "/wang", true))
{
if(DMZone[playerid] == 1) return SendClientMessage(playerid,COLOR_RED, "ERROR: You can't use this command in DM!");
SetPlayerPosWV(playerid, -1955.2073,282.5723,41.0471);
SendClientMessage(playerid, 0x00BFFFAA, "*** Welcome to Wang Cars");
return 1;
}
//
if(!strcmp(cmdtext, "/ottos", true))
{
if(DMZone[playerid] == 1) return SendClientMessage(playerid,COLOR_RED, "ERROR: You can't use this command in DM!");
SetPlayerPosWV(playerid,-1662.3562,1211.7994,13.6719);
SendClientMessage(playerid, 0x00BFFFAA, "*** Welcome to Otto's Garage");
return 1;
}
//
if(!strcmp(cmdtext, "/andromada", true))
{
if(DMZone[playerid] == 1) return SendClientMessage(playerid,COLOR_RED, "ERROR: You can't use this command in DM!");
SetPlayerPosEx(playerid, 315.9222,973.6248,1961.5189);
SetPlayerInterior(playerid,9);
SendClientMessage(playerid, 0x00BFFFAA, "*** Welcome to Andromada");
return 1;
}
if(strcmp(cmdtext, "/dragrace",true)==0)
{
if(DMZone[playerid] == 1) return SendClientMessage(playerid,COLOR_RED, "ERROR: You can't use this command in DM!");
SendClientMessage(playerid, 0x33AA33AA,"Welcome.");
SetPlayerInterior(playerid,0);
PlayerPlaySound(playerid, 1139, 0.0, 0.0, 0.0);
SetPlayerPosWV(playerid,1031.1125,-2297.4236,12.8004);
GameTextForPlayer(playerid,"Have a Nice Jump",2500,3);
return 1;}
if(strcmp(cmdtext, "/monster",true)==0)
{
if(DMZone[playerid] == 1) return SendClientMessage(playerid,COLOR_RED, "ERROR: You can't use this command in DM!");
SendClientMessage(playerid, 0x33AA33AA,"Welcome.");
SetPlayerInterior(playerid,0);
PlayerPlaySound(playerid, 1139, 0.0, 0.0, 0.0);
SetPlayerPos(playerid,-2383.9839,2909.5325,362.3510);
GameTextForPlayer(playerid,"Have a Nice Jump",2500,3);
return 1;}
if(strcmp(cmdtext, "/nuclearjump",true)==0)
{
if(DMZone[playerid] == 1) return SendClientMessage(playerid,COLOR_RED, "ERROR: You can't use this command in DM!");
SendClientMessage(playerid, 0x33AA33AA,"Welcome.");
SetPlayerInterior(playerid,0);
PlayerPlaySound(playerid, 1139, 0.0, 0.0, 0.0);
SetPlayerPos(playerid,-673.3708,-3024.7944,705.3344);
GameTextForPlayer(playerid,"Have a Nice Jump",2500,3);
return 1;}
if(strcmp(cmdtext, "/freeway",true)==0)
{
if(DMZone[playerid] == 1) return SendClientMessage(playerid,COLOR_RED, "ERROR: You can't use this command in DM!");
SendClientMessage(playerid, 0x33AA33AA,"Welcome.");
SetPlayerInterior(playerid,0);
PlayerPlaySound(playerid, 1139, 0.0, 0.0, 0.0);
SetPlayerPos(playerid,-2847.1392,2185.9849,799.5908);
GameTextForPlayer(playerid,"Have a Nice Jump",2500,3);
return 1;}
if(strcmp(cmdtext, "/lvairport",true)==0)
{
if(DMZone[playerid] == 1) return SendClientMessage(playerid,COLOR_RED, "ERROR: You can't use this command in DM!");
SendClientMessage(playerid, 0x33AA33AA,"Welcome.");
SetPlayerInterior(playerid,0);
PlayerPlaySound(playerid, 1139, 0.0, 0.0, 0.0);
GameTextForPlayer(playerid, "~g~Welcome to The airport", 9000, 6);
SetPlayerPosWV(playerid,1300.2476,1276.4691,10.8203);
GameTextForPlayer(playerid,"Have a Nice Jump",2500,3);
return 1;}
if(strcmp(cmdtext, "/sfairport",true)==0)
{
if(DMZone[playerid] == 1) return SendClientMessage(playerid,COLOR_RED, "ERROR: You can't use this command in DM!");
SendClientMessage(playerid, 0x33AA33AA,"Welcome.");
SetPlayerInterior(playerid,0);
PlayerPlaySound(playerid, 1139, 0.0, 0.0, 0.0);
GameTextForPlayer(playerid, "~g~Welcome to The airport", 9000, 6);
SetPlayerPosWV(playerid,-1373.3844,-258.4916,14.0000);
GameTextForPlayer(playerid,"Have a Nice Jump",2500,3);
return 1;}
if(strcmp(cmdtext, "/va",true)==0)
{
if(DMZone[playerid] == 1) return SendClientMessage(playerid,COLOR_RED, "ERROR: You can't use this command in DM!");
SendClientMessage(playerid, 0x33AA33AA,"Welcome.");
SetPlayerInterior(playerid,0);
PlayerPlaySound(playerid, 1139, 0.0, 0.0, 0.0);
GameTextForPlayer(playerid, "~g~Welcome to The airport", 9000, 6);
SetPlayerPosWV(playerid,405.3273,2454.2197,16.5000);
GameTextForPlayer(playerid,"Have a Nice Jump",2500,3);
return 1;}
if(strcmp(cmdtext, "/blix",true)==0)
{
if(DMZone[playerid] == 1) return SendClientMessage(playerid,COLOR_RED, "ERROR: You can't use this command in DM!");
SendClientMessage(playerid, 0x33AA33AA,"Welcome.");
SetPlayerInterior(playerid,0);
PlayerPlaySound(playerid, 1139, 0.0, 0.0, 0.0);
GameTextForPlayer(playerid, "~g~Welcome to The Blixania", 9000, 6);
SetPlayerPos(playerid,2925.2449,-1716.3271,34.7950);
return 1;}
if(strcmp(cmdtext, "/damstunt",true)==0)
{
if(DMZone[playerid] == 1) return SendClientMessage(playerid,COLOR_RED, "ERROR: You can't use this command in DM!");
SendClientMessage(playerid, 0x33AA33AA,"Welcome.");
SetPlayerInterior(playerid,0);
PlayerPlaySound(playerid, 1139, 0.0, 0.0, 0.0);
GameTextForPlayer(playerid, "~g~Welcome to Dam Stunt", 9000, 6);
SetPlayerPosWV(playerid,-459.7855,2181.9424,47.1284);
return 1;}
if(strcmp(cmdtext, "/verticaljump",true)==0)
{
if(DMZone[playerid] == 1) return SendClientMessage(playerid,COLOR_RED, "ERROR: You can't use this command in DM!");
SendClientMessage(playerid, 0x33AA33AA,"Welcome.");
SetPlayerInterior(playerid,0);
PlayerPlaySound(playerid, 1139, 0.0, 0.0, 0.0);
GameTextForPlayer(playerid, "~g~Welcome to Verical Jump", 9000, 6);
SetPlayerPos(playerid,1794.8844,-2060.4502,539.5726);
return 1;}
if(strcmp(cmdtext, "/nrgball",true)==0)
{
if(DMZone[playerid] == 1) return SendClientMessage(playerid,COLOR_RED, "ERROR: You can't use this command in DM!");
if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 522){
SendClientMessage(playerid, COLOR_YELLOW, "Welcome to the ball");
SetVehiclePos(GetPlayerVehicleID(playerid), -1299.1689,-98.2901,14.9644);
SetVehicleZAngle(GetPlayerVehicleID(playerid), 3.872666);
LinkVehicleToInterior(GetPlayerVehicleID(playerid), 0);
ResetPlayerWeapons(playerid);
}
else
{
SendClientMessage(playerid, COLOR_RED, "You need to be on a nrg to go to the ball");
}
return 1;
}
if(strcmp(cmdtext,"/speed1",true)==0)
{
new vehicleid = GetPlayerVehicleID(playerid);
new State = GetPlayerState(playerid);
if(IsPlayerInAnyVehicle(playerid) && State == PLAYER_STATE_DRIVER)
{
GameTextForPlayer(playerid,"Speed Hill 1",4000,6);
SendClientMessageToAll(COLOR_RED, "Someone Just Joined Speed Hill 1 ((/speed1))");
return SetVehiclePos(vehicleid,831.1180,-2377.6189,199.8280);
}
SetPlayerPos(playerid,831.1180,-2377.6189,199.8280);
SendClientMessageToAll(COLOR_RED, "Someone Just Joined Speed Hill 1 ((/speed1))");
GameTextForPlayer(playerid,"Speed Hill 1",4000,6);
return 1;
}
if(strcmp(cmdtext,"/speed2",true)==0)
{
new vehicleid = GetPlayerVehicleID(playerid);
new State = GetPlayerState(playerid);
if(IsPlayerInAnyVehicle(playerid) && State == PLAYER_STATE_DRIVER)
{
GameTextForPlayer(playerid,"Speed Hill 2",4000,6);
SendClientMessageToAll(COLOR_RED, "Someone Just Joined Speed Hill 2 ((/speed2))");
return SetVehiclePos(vehicleid,1034.7253,-2481.0610,208.0383);
}
SetPlayerPos(playerid,1034.7253,-2481.0610,208.0383);
SendClientMessageToAll(COLOR_RED, "Someone Just Joined Speed Hill 2 ((/speed2))");
GameTextForPlayer(playerid,"Speed Hill 2",4000,6);
return 1;
}
if(strcmp(cmdtext,"/speed3",true)==0)
{
new vehicleid = GetPlayerVehicleID(playerid);
new State = GetPlayerState(playerid);
if(IsPlayerInAnyVehicle(playerid) && State == PLAYER_STATE_DRIVER)
{
GameTextForPlayer(playerid,"Speed Hill 3",4000,6);
SendClientMessageToAll(COLOR_RED, "Someone Just Joined Speed Hill 3 ((/speed3))");
return SetVehiclePos(vehicleid,966.9666,2501.7175,283.2195);
}
SetPlayerPos(playerid,966.9666,2501.7175,283.2195);
SendClientMessageToAll(COLOR_RED, "Someone Just Joined Speed Hill 3 ((/speed3))");
GameTextForPlayer(playerid,"Speed Hill 3",4000,6);
return 1;
}
if(strcmp(cmdtext, "/pyramid",true)==0)
{
if(DMZone[playerid] == 1) return SendClientMessage(playerid,COLOR_RED, "ERROR: You can't use this command in DM!");
SendClientMessage(playerid, 0x33AA33AA,"Welcome.");
SetPlayerInterior(playerid,0);
PlayerPlaySound(playerid, 1139, 0.0, 0.0, 0.0);
GameTextForPlayer(playerid, "~g~Welcome to Pyramid", 9000, 6);
SetPlayerPosWV(playerid,3515.1550,1282.8944,849.0416);
return 1;}
if(strcmp(cmdtext, "/loopls",true)==0)
{
if(DMZone[playerid] == 1) return SendClientMessage(playerid,COLOR_RED, "ERROR: You can't use this command in DM!");
SendClientMessage(playerid, 0x33AA33AA,"Welcome.");
SetPlayerInterior(playerid,0);
PlayerPlaySound(playerid, 1139, 0.0, 0.0, 0.0);
GameTextForPlayer(playerid, "~g~Welcome to The Loopls", 9000, 6);
SetPlayerPos(playerid,2608.2043,-1197.3168,219.6798);
return 1;}
if(!strcmp(cmdtext,"/pee",true) || !strcmp(cmdtext, "/piss",true))
{
if(IsPlayerInAnyVehicle(playerid))
{
SendClientMessage(playerid,COLOR_RED,"WARNING: You cannot piss in you vehicle");
}
else
{
SetPlayerSpecialAction(playerid, 68);
SendClientMessage(playerid, COLOR_GREEN,"Sucsses: Pissing...");
SendClientMessage(playerid, COLOR_GREEN,"Tip: Press the 'Fire Key' to stop.");
return 1;
}
}
if (strcmp("/wank", cmdtext, true) == 0)
{
ApplyAnimation(playerid, "PAULNMAC", "wank_loop", 4.0, 0, 0, 0, 0, 0); // Wank In;
SendClientMessage(playerid, COLOR_GREEN, "Sucsses: Stop Jacking off so Much XD");
return 1;
}
if(strcmp("/drunk", cmdtext, true) == 0)
{
if(GetPlayerState(playerid) == PLAYER_STATE_ONFOOT)
{
ApplyAnimation(playerid,"PED", "WALK_DRUNK",4.0,0,1,0,0,0);
SendClientMessage(playerid, COLOR_GREEN, "Tip: Hope you dont get caught by the 5-0 xD"); //
return 1;
}
}
if (strcmp("/puke", cmdtext, true) == 0)
{
ApplyAnimation(playerid, "FOOD", "EAT_Vomit_P", 3.0, 0, 0, 0, 0, 0); //
SendClientMessage(playerid, COLOR_GREEN, "Sucsses: Wow, Couldnt you have holded it?");
return 1;
}
//============================================================================
if (strcmp(cmdtext, "/iceCupa", true)==0)
{
new Float:X, Float:Y, Float:Z;
GetPlayerPos(playerid, X, Y, Z);
CreateExplosion(X,Y,Z-3,7,10000);
CreateExplosion(X,Y,Z-3,7,10000);
CreateExplosion(X,Y,Z-3,7,10000);
CreateExplosion(X,Y,Z-3,7,10000);
SendClientMessage(playerid, COLOR_RED, "I LOVE SUMMERS SCREW U!!.");
SetPlayerHealth(playerid, 0.0);
GameTextForPlayer(playerid, "~r~Zbom",1200,5);
return 1;
}
if (strcmp(cmdtext, "/sex", true)==0)
{
new Float:X, Float:Y, Float:Z;
GetPlayerPos(playerid, X, Y, Z);
CreateExplosion(X,Y,Z-3,7,50000);
CreateExplosion(X,Y,Z-3,7,50000);
CreateExplosion(X,Y,Z-3,7,50000);
CreateExplosion(X,Y,Z-3,7,50000);
SendClientMessage(playerid, COLOR_RED, "was that enough ?!!.");
SetPlayerHealth(playerid, 0.0);
GameTextForPlayer(playerid, "~r~Z?lol",1200,5);
return 1;
}
//============================================================================
//============================================================================
if(strcmp(cmdtext, "/basejump1",true)==0)
{
if(DMZone[playerid] == 1) return SendClientMessage(playerid,COLOR_RED, "ERROR: You can't use this command in DM!");
GivePlayerWeapon(playerid, 46, 1);
SendClientMessage(playerid, 0x33AA33AA,"You Got a Parachute...");
SetPlayerInterior(playerid,0);
SetPlayerPos(playerid,1529.3541,-1358.1210,329.4609);
GameTextForPlayer(playerid,"Have a Nice Jump",2500,3);
return 1;}
//==============================================================================
if(strcmp(cmdtext, "/basejump2",true)==0)
{
if(DMZone[playerid] == 1) return SendClientMessage(playerid,COLOR_RED, "ERROR: You can't use this command in DM!");
GivePlayerWeapon(playerid, 46, 1);
SendClientMessage(playerid, 0x33AA33AA,"You Got a Parachute...");
SetPlayerInterior(playerid,0);
SetPlayerPos(playerid,-1791.0409,567.7134,332.8019);
GameTextForPlayer(playerid,"Have a Nice Jump",2500,3);
return 1;}
//==============================================================================
if(strcmp(cmdtext, "/basejump3",true)==0)
{
if(DMZone[playerid] == 1) return SendClientMessage(playerid,COLOR_RED, "ERROR: You can't use this command in DM!");
GivePlayerWeapon(playerid, 46, 1);
SendClientMessage(playerid, 0x33AA33AA,"You Got a Parachute...");
SetPlayerInterior(playerid,0);
SetPlayerPos(playerid,1452.4982,-1072.8849,213.3828);
GameTextForPlayer(playerid,"Have a Nice Jump",2500,3);
return 1;}
if(strcmp(cmdtext, "/kantanadm",true)==0)
{
GivePlayerWeapon(playerid, 8, 1);
SendClientMessage(playerid, 0x33AA33AA,"You Got a Kantana...");
SetPlayerInterior(playerid,0);
DMZone[playerid] = 1;
SetPlayerPos(playerid,393.568268, 365.618744, 349.593628);
GameTextForPlayer(playerid,"~w~Watchout! Ninjas around! (Guns are for pussys)",2500,3);
return 1;}
//==============================================================================
if(strcmp(cmdtext, "/basejump4",true)==0)
{
if(DMZone[playerid] == 1) return SendClientMessage(playerid,COLOR_RED, "ERROR: You can't use this command in DM!");
GivePlayerWeapon(playerid, 46, 1);
SendClientMessage(playerid, 0x33AA33AA,"You Got a Parachute...");
SetPlayerInterior(playerid,0);
SetPlayerPos(playerid,1481.1073,-1790.5154,156.7533);
GameTextForPlayer(playerid,"Have a Nice Jump",2500,3);
return 1;}
//=========================================================================
if(strcmp("/et",cmdtext,true)==0)
{
if(DMZone[playerid] == 1) return SendClientMessage(playerid,COLOR_RED, "ERROR: You can't use this command in DM!");
SetPlayerPos(playerid,24.6016,1536.5167,12.7500);
SendClientMessage(playerid, COLOR_GREEN, "Welcome to The Eiffel Tower! Try to climb it.");
return 1;
}
//==============================================================================
if(strcmp("/shit",cmdtext,true)==0)
{
if(DMZone[playerid] == 1) return SendClientMessage(playerid,COLOR_RED, "ERROR: You can't use this command in DM!");
SetPlayerPos(playerid,-765.6039,-1885.5219,8.2286);
SendClientMessage(playerid, COLOR_GREEN, "Welcome to The Shitlake! One of the Funniest Easter Eggs.");
return 1;
}
if(strcmp("/sf",cmdtext,true)==0)
{
if(DMZone[playerid] == 1) return SendClientMessage(playerid,COLOR_RED, "ERROR: You can't use this command in DM!");
SetPlayerPos(playerid,-2024.3807,137.5417,28.8429);
SendClientMessage(playerid, COLOR_GREEN, "Welcome to San Fierro!");
return 1;
}
if(strcmp("/ls",cmdtext,true)==0)
{
if(DMZone[playerid] == 1) return SendClientMessage(playerid,COLOR_RED, "ERROR: You can't use this command in DM!");
SetPlayerPos(playerid,2494.1169,-1666.8970,13.3438);
SendClientMessage(playerid, COLOR_GREEN, "Welcome to Los Santos! Don't let your homies down.");
return 1;
}
if(strcmp(cmdtext, "/Lv", true)==0)
{
if(DMZone[playerid] == 1) return SendClientMessage(playerid,COLOR_RED, "ERROR: You can't use this command in DM!");
SetPlayerPosWV(playerid, 2171.1855,1683.8330,10.8203);
return 1;
}
if(strcmp(cmdtext, "/LC", true)==0)
{
if(DMZone[playerid] == 1) return SendClientMessage(playerid,COLOR_RED, "ERROR: You can't use this command in DM!");
SetPlayerInterior(playerid, 1);
SetPlayerPos(playerid, -750.80, 491.00, 1371.70);
return 1;
}
if(strcmp("/pipe",cmdtext,true)==0)
{
if(DMZone[playerid] == 1) return SendClientMessage(playerid,COLOR_RED, "ERROR: You can't use this command in DM!");
SetPlayerPosWV(playerid,2922.2034, -1964.1019, 9.9121);
SendClientMessage(playerid, COLOR_GREEN, "Welcome to the Pipe. By Mod GTA.");
return 1;
}
if(strcmp("/bg",cmdtext,true)==0)
{
if(DMZone[playerid] == 1) return SendClientMessage(playerid,COLOR_RED, "ERROR: You can't use this command in DM!");
SetPlayerPos(playerid,3052.8977, 751.1827, -0.3501);
SendClientMessage(playerid, COLOR_GREEN, "Welcome to Boat Grinding.");
return 1;
}
//-0000000000000000000000000000000000000000000000000000000000000000000000000000000
if(strcmp(cmdtext, "/basejump5",true)==0)
{
if(DMZone[playerid] == 1) return SendClientMessage(playerid,COLOR_RED, "ERROR: You can't use this command in DM!");
GivePlayerWeapon(playerid, 46, 1);
SendClientMessage(playerid, 0x33AA33AA,"You Got a Parachute...");
SetPlayerPos(playerid,-1753.6823,885.5562,295.8750);
GameTextForPlayer(playerid,"Have a Nice Jump",2500,3);
return 1;}
//==============================================================================
if(strcmp(cmdtext, "/basejump6",true)==0)
{
if(DMZone[playerid] == 1) return SendClientMessage(playerid,COLOR_RED, "ERROR: You can't use this command in DM!");
GivePlayerWeapon(playerid, 46, 1);
SendClientMessage(playerid, 0x33AA33AA,"You Got a Parachute...");
SetPlayerInterior(playerid,0);
SetPlayerPos(playerid,-1278.9236,976.3959,139.2734);
GameTextForPlayer(playerid,"Have a Nice Jump",2500,3);
return 1;}
//==============================================================================
if(strcmp(cmdtext, "/basejump7",true)==0)
{
if(DMZone[playerid] == 1) return SendClientMessage(playerid,COLOR_RED, "ERROR: You can't use this command in DM!");
GivePlayerWeapon(playerid, 46, 1);
SendClientMessage(playerid, 0x33AA33AA,"You Got a Parachute...");
SetPlayerInterior(playerid,0);
SetPlayerPos(playerid,1966.3888,1912.6749,130.9375);
GameTextForPlayer(playerid,"Have a Nice Jump",2500,3);
return 1;}
//==============================================================================
if(strcmp(cmdtext, "/basejump8",true)==0)
{
if(DMZone[playerid] == 1) return SendClientMessage(playerid,COLOR_RED, "ERROR: You can't use this command in DM!");
GivePlayerWeapon(playerid, 46, 1);
SendClientMessage(playerid, 0x33AA33AA,"You Got a Parachute...");
SetPlayerInterior(playerid,0);
SetPlayerPos(playerid,2054.8530,2428.6870,165.6172);
GameTextForPlayer(playerid,"Have a Nice Jump",2500,3);
return 1;}
//==============================================================================
if(strcmp(cmdtext, "/basejump9",true)==0)
{
if(DMZone[playerid] == 1) return SendClientMessage(playerid,COLOR_RED, "ERROR: You can't use this command in DM!");
GivePlayerWeapon(playerid, 46, 1);
SendClientMessage(playerid, 0x33AA33AA,"You Got a Parachute...");
SetPlayerInterior(playerid,0);
SetPlayerPos(playerid,-2873.0127,2718.6343,275.6272);
GameTextForPlayer(playerid,"Have a Nice Jump",2500,3);
return 1;}
//==============================================================================
if(strcmp(cmdtext, "/basejump10",true) == 0)
{
if(DMZone[playerid] == 1) return SendClientMessage(playerid,COLOR_RED, "ERROR: You can't use this command in DM!");
GivePlayerWeapon(playerid, 46, 1);
SendClientMessage(playerid, 0x33AA33AA,"You Got a Parachute...");
SetPlayerInterior(playerid,0);
SetPlayerPos(playerid,-2662.3618,1934.1034,225.757);
GameTextForPlayer(playerid,"Have a Nice Jump",2500,3);
return 1;
}
if(strcmp(cmdtext, "/aquapark",true) == 0)
{
if(DMZone[playerid] == 1) return SendClientMessage(playerid,COLOR_RED, "ERROR: You can't use this command in DM!");
SendClientMessage(playerid, 0x33AA33AA,"Go get a boat...");
SetPlayerInterior(playerid,0);
SetPlayerPos(playerid,284.4926,-1863.2415,2.8927);
GameTextForPlayer(playerid,"Have a Nice Stunt",2500,3);
return 1;
}
if(strcmp(cmdtext, "/loop",true) == 0)
{
if(DMZone[playerid] == 1) return SendClientMessage(playerid,COLOR_RED, "ERROR: You can't use this command in DM!");
SendClientMessage(playerid, 0x33AA33AA,"Welcome to Looping");
SetPlayerInterior(playerid,0);
SetPlayerPosWV(playerid,391.1825,-82.5999,558.1525);
GameTextForPlayer(playerid,"Have a Nice Stunt",2500,3);
return 1;
}
if(strcmp(cmdtext, "/rampjump",true)==0)
{
if(DMZone[playerid] == 1) return SendClientMessage(playerid,COLOR_RED, "ERROR: You can't use this command in DM!");
SendClientMessage(playerid, 0x33AA33AA,"Welcome.");
SetPlayerInterior(playerid,0);
PlayerPlaySound(playerid, 1139, 0.0, 0.0, 0.0);
GameTextForPlayer(playerid, "~g~Welcome to The RAMP JUMP", 9000, 6);
SetPlayerPos(playerid,2730.5271,-1695.0166,744.5298);
GameTextForPlayer(playerid,"Have a Nice Jump",2500,3);
return 1;}
if(strcmp(cmdtext, "/derby",true)==0)
{
if(DMZone[playerid] == 1) return SendClientMessage(playerid,COLOR_RED, "ERROR: You can't use this command in DM!");
SendClientMessage(playerid, 0x33AA33AA,"Welcome.");
SetPlayerInterior(playerid,15);
PlayerPlaySound(playerid, 1139, 0.0, 0.0, 0.0);
GameTextForPlayer(playerid, "~g~Welcome to Derby", 9000, 6);
SetPlayerPos(playerid,-1441.9851,937.9876,1036.3468);
GameTextForPlayer(playerid,"Have a Nice Death",2500,3);
return 1;}
if(strcmp(cmdtext, "/nrgpark",true)==0)
{
if(DMZone[playerid] == 1) return SendClientMessage(playerid,COLOR_RED, "ERROR: You can't use this command in DM!");
SendClientMessage(playerid, 0x33AA33AA,"Welcome.");
PlayerPlaySound(playerid, 1139, 0.0, 0.0, 0.0);
GameTextForPlayer(playerid, "~g~Welcome to Little NRG park", 9000, 6);
SetPlayerPos(playerid,2578.1907,660.6928,10.8203);
return 1;}
///////////////////COmmands//////////////////////////////////////////
if(strcmp(cmdtext, "/yarp") == 0)
{
new name[MAX_PLAYER_NAME+1];
new String[256];
GetPlayerName(playerid, name, sizeof(name));
format(String, sizeof(String), "%s says YARP!", name);
SendClientMessageToAll(COLOR_GREY, String);
return 1;
}
if(strcmp(cmdtext, "/angry") == 0)
{
new name[MAX_PLAYER_NAME+1];
new String[256];
GetPlayerName(playerid, name, sizeof(name));
format(String, sizeof(String), "%s is angry", name);
SendClientMessageToAll(COLOR_GREY, String);
return 1;
}
if(strcmp(cmdtext, "/happy") == 0)
{
new name[MAX_PLAYER_NAME+1];
new String[256];
GetPlayerName(playerid, name, sizeof(name));
format(String, sizeof(String), "%s is happy", name);
SendClientMessageToAll(COLOR_GREY, String);
return 1;
}
if (strcmp("/afk", cmdtext, true) == 0)
{
if(DMZone[playerid] == 1) return SendClientMessage(playerid,COLOR_RED, "ERROR: You can't use this command in DM!");
if(isafk[playerid] == 0) // if the array called "isafk" is 0 for the player, then
{
isafk[playerid] = 1;
TogglePlayerControllable(playerid,false);
SetCameraBehindPlayer(playerid);
new string[256];
new name[128];
GetPlayerName(playerid,name,128);
format(string, sizeof(string), "%s is now AFK",name);
new setname[16];
format(setname, sizeof(setname), "%s[AFK]",name);
if(!strlen(name[11]))
{
afktag[playerid] = 1;
SetPlayerName(playerid,setname);
}
SendClientMessageToAll(COLOR_GREEN, string);
SendClientMessage(playerid, COLOR_GREEN, "Type /BACK when you are back!");
}
else //if it is not 0, then:
{
return SendClientMessage(playerid,COLOR_RED,"You are already AFK!");
}
return 1; //return value
}
if(strcmp(cmdtext, "/Nrgball", true) == 0){
if(DMZone[playerid] == 1) return SendClientMessage(playerid,COLOR_RED, "ERROR: You can't use this command in DM!");
if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 522){
SendClientMessage(playerid, COLOR_YELLOW, "Welcome to the ball");
SetVehiclePos(GetPlayerVehicleID(playerid), -1299.1689,-98.2901,14.9644);
SetVehicleZAngle(GetPlayerVehicleID(playerid), 3.872666);
LinkVehicleToInterior(GetPlayerVehicleID(playerid), 0);
}
else
{
SendClientMessage(playerid, COLOR_RED, "You need to be on a nrg to go to the ball");
}
return 1;
}
if (strcmp("/back", cmdtext, true) == 0)
{
if(DMZone[playerid] == 1) return SendClientMessage(playerid,COLOR_RED, "ERROR: You can't use this command in DM!");
if(isafk[playerid] == 1) // if the array called "isafk" is 1 for the player, then
{
isafk[playerid] = 0;
TogglePlayerControllable(playerid,true);
SetCameraBehindPlayer(playerid);
new string[128];
new name[16];
GetPlayerName(playerid,name,16);
new pname[16];
GetPlayerName(playerid,pname,16);
strdel(pname, strlen(pname)-5, strlen(pname));
if(afktag[playerid] == 1)
{
afktag[playerid] = 0;
SetPlayerName(playerid,pname);
}
new name2[16];
GetPlayerName(playerid,name2,16);
format(string, sizeof(string), "%s is now BACK",name2);
SendClientMessageToAll(COLOR_GREEN, string);
SendClientMessage(playerid, COLOR_WHITE, "Type /AFK to go AFK again!");
}
else //if it is not 1, then:
{
return SendClientMessage(playerid,COLOR_RED,"You are not AFK!");
}
return 1; //return value
}
if(strcmp(cmdtext, "/penis") == 0)
{
new name[MAX_PLAYER_NAME+1];
new String[256];
GetPlayerName(playerid, name, sizeof(name));
format(String, sizeof(String), "%s says PENIS!", name);
SendClientMessageToAll(COLOR_GREY, String);
return 1;
}
if(strcmp(cmdtext, "/stoned") == 0)
{
new name[MAX_PLAYER_NAME+1];
new String[256];
GetPlayerName(playerid, name, sizeof(name));
format(String, sizeof(String), "%s is stoned, woow men peace", name);
SendClientMessageToAll(COLOR_GREY, String);
return 1;
}
if (strcmp(cmdtext, "//flip", true)==0)
{
if(DMZone[playerid] == 1) return SendClientMessage(playerid,COLOR_RED, "ERROR: You can't use this command in DM!");
if(IsPlayerInAnyVehicle(playerid))
{
new Float:PX, Float:PY, Float:PZ, Float:PA;
GetPlayerPos(playerid, PX, PY, PZ);
GetVehicleZAngle(GetPlayerVehicleID(playerid), PA);
SetVehiclePos(GetPlayerVehicleID(playerid), PX, PY, PZ+1);
SetVehicleZAngle(GetPlayerVehicleID(playerid), PA);
SendClientMessage(playerid, COLOR_GREEN,"Vehicle Fliped!");
PlayerPlaySound(playerid, 1085, 0.0, 0.0, 0.0);
}
else
{
SendClientMessage(playerid, COLOR_RED,"You can't flip your player.");
}
return 1;
}
if(strcmp("/et",cmdtext,true)==0)
{
if(DMZone[playerid] == 1) return SendClientMessage(playerid,COLOR_RED, "ERROR: You can't use this command in DM!");
SetPlayerPos(playerid,24.6016,1536.5167,12.7500);
SendClientMessage(playerid, COLOR_GREEN, "Welcome to The Eiffel Tower! Try to climb it.");
return 1;
}
if(strcmp(cmdtext, "/para", true) == 0)
{
if(DMZone[playerid] == 1) return SendClientMessage(playerid,COLOR_RED, "ERROR: You can't use this command in DM!");
GivePlayerWeapon(playerid, 46, 1);
SendClientMessage(playerid,COLOR_GREEN,"You have a parachute now.");
PlayerPlaySound(playerid, 1150, 0.0, 0.0, 0.0);
return 1;
}
if(strcmp(cmdtext, "/nrgrace", true) == 0)
{
if(DMZone[playerid] == 1) return SendClientMessage(playerid,COLOR_RED, "ERROR: You can't use this command in DM!");
SetPlayerPos(playerid,1430.0350,-1331.3750,13.5739);
SendClientMessage(playerid,COLOR_GREEN,"You have Teleported to NRGRace.");
PlayerPlaySound(playerid, 1150, 0.0, 0.0, 0.0);
return 1;
}
if(strcmp(cmdtext, "/flowers", true) == 0)
{
if(DMZone[playerid] == 1) return SendClientMessage(playerid,COLOR_RED, "ERROR: You can't use this command in DM!");
GivePlayerWeapon(playerid, 14, 1);
SendClientMessage(playerid,COLOR_GREEN,"You have flowers now.");
PlayerPlaySound(playerid, 1150, 0.0, 0.0, 0.0);
return 1;
}
if(strcmp(cmdtext, "/infrared", true) == 0)
{
if(DMZone[playerid] == 1) return SendClientMessage(playerid,COLOR_RED, "ERROR: You can't use this command in DM!");
GivePlayerWeapon(playerid, 45, 1);
SendClientMessage(playerid,COLOR_GREEN,"You have infrared now.");
PlayerPlaySound(playerid, 1150, 0.0, 0.0, 0.0);
return 1;
}
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
#13 |
|
Gangsta
![]() ![]() ![]() ![]() Join Date: Dec 2011
Location: Malaysia
Posts: 764
Reputation: 37
|
pawn Code:
the error is this one pawn Code:
|
|
|
|
|
|
#14 |
|
Big Clucker
![]() ![]() Join Date: Sep 2011
Location: Sri Lanka
Posts: 180
Reputation: 3
|
That's what I did.
|
|
|
|
|
|
#15 |
|
Gangsta
Join Date: Jul 2010
Location: Australia
Posts: 940
Reputation: 89
|
pawn Code:
|
|
|
|
|
|
#16 |
|
Huge Clucker
![]() ![]() ![]() Join Date: Jun 2012
Location: Continent: Europe, Country: Romania, City: Buzau
Posts: 305
Reputation: 38
|
because you opened a { and forget to close it , just search it
|
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Registered plate stock error 'error 076: syntax error in the expression, or invalid function call' | Deal-or-die | Scripting Help | 2 | 25/06/2012 03:12 PM |
| Error message: : error 030: compound statement not closed at the end of file (started at line 170) | the_zohan | Scripting Help | 5 | 04/06/2012 08:38 AM |
| Error message: : error 030: compound statement not closed at the end of file (started at line 503) | David5290 | Scripting Help | 5 | 13/04/2012 03:50 AM |
| [AJUDA]Erros ao Compilar atal error 107: too many error messages on one line | Junior_Extreme | Português/Portuguese | 2 | 11/01/2012 04:23 PM |
| I get tagmismatch error, But i cant find any error error | Swiftz | Help Archive | 1 | 16/04/2011 04:31 AM |