Important: HELP
#1

Well this script was fine until just a second ago, I haven't changed anything but when i tried to compile it Failed, I removed what i've done, tried to Recompile but failed again, I got some errors which i do not know how to fix, If anyone can help me, It'll be hugely greatful, thank you


ERRORS
Код:
C:\Users\Parent\Desktop\Everything\Test Server\gamemodes\ESGDM.pwn(6) : error 026: no matching "#if..."
C:\Users\Parent\Desktop\Everything\Test Server\gamemodes\ESGDM.pwn(15) : error 026: no matching "#if..."
C:\Users\Parent\Desktop\Everything\Test Server\gamemodes\ESGDM.pwn(466) : error 029: invalid expression, assumed zero
C:\Users\Parent\Desktop\Everything\Test Server\gamemodes\ESGDM.pwn(483) : warning 217: loose indentation
C:\Users\Parent\Desktop\Everything\Test Server\gamemodes\ESGDM.pwn(483) : error 029: invalid expression, assumed zero
C:\Users\Parent\Desktop\Everything\Test Server\gamemodes\ESGDM.pwn(483) : error 004: function "OnPlayerConnect" is not implemented
C:\Users\Parent\Desktop\Everything\Test Server\gamemodes\ESGDM.pwn(490) : warning 225: unreachable code
C:\Users\Parent\Desktop\Everything\Test Server\gamemodes\ESGDM.pwn(490) : error 029: invalid expression, assumed zero
C:\Users\Parent\Desktop\Everything\Test Server\gamemodes\ESGDM.pwn(490) : error 004: function "OnPlayerDisconnect" is not implemented
C:\Users\Parent\Desktop\Everything\Test Server\gamemodes\ESGDM.pwn(495) : warning 225: unreachable code
C:\Users\Parent\Desktop\Everything\Test Server\gamemodes\ESGDM.pwn(495) : error 029: invalid expression, assumed zero
C:\Users\Parent\Desktop\Everything\Test Server\gamemodes\ESGDM.pwn(495) : error 004: function "OnPlayerSpawn" is not implemented
C:\Users\Parent\Desktop\Everything\Test Server\gamemodes\ESGDM.pwn(501) : warning 225: unreachable code
C:\Users\Parent\Desktop\Everything\Test Server\gamemodes\ESGDM.pwn(501) : error 029: invalid expression, assumed zero
C:\Users\Parent\Desktop\Everything\Test Server\gamemodes\ESGDM.pwn(501) : error 004: function "OnPlayerDeath" is not implemented
C:\Users\Parent\Desktop\Everything\Test Server\gamemodes\ESGDM.pwn(504) : warning 217: loose indentation
C:\Users\Parent\Desktop\Everything\Test Server\gamemodes\ESGDM.pwn(507) : warning 225: unreachable code
C:\Users\Parent\Desktop\Everything\Test Server\gamemodes\ESGDM.pwn(507) : error 029: invalid expression, assumed zero
C:\Users\Parent\Desktop\Everything\Test Server\gamemodes\ESGDM.pwn(507) : error 004: function "OnVehicleSpawn" is not implemented
C:\Users\Parent\Desktop\Everything\Test Server\gamemodes\ESGDM.pwn(512) : warning 225: unreachable code
C:\Users\Parent\Desktop\Everything\Test Server\gamemodes\ESGDM.pwn(512) : error 029: invalid expression, assumed zero
C:\Users\Parent\Desktop\Everything\Test Server\gamemodes\ESGDM.pwn(512) : error 004: function "OnVehicleDeath" is not implemented
C:\Users\Parent\Desktop\Everything\Test Server\gamemodes\ESGDM.pwn(517) : warning 225: unreachable code
C:\Users\Parent\Desktop\Everything\Test Server\gamemodes\ESGDM.pwn(517) : error 029: invalid expression, assumed zero
C:\Users\Parent\Desktop\Everything\Test Server\gamemodes\ESGDM.pwn(517) : error 004: function "OnPlayerText" is not implemented
C:\Users\Parent\Desktop\Everything\Test Server\gamemodes\ESGDM.pwn(522) : warning 225: unreachable code
C:\Users\Parent\Desktop\Everything\Test Server\gamemodes\ESGDM.pwn(522) : error 029: invalid expression, assumed zero
C:\Users\Parent\Desktop\Everything\Test Server\gamemodes\ESGDM.pwn(522) : error 004: function "OnPlayerCommandText" is not implemented
C:\Users\Parent\Desktop\Everything\Test Server\gamemodes\ESGDM.pwn(524) : error 017: undefined symbol "cmdtext"
C:\Users\Parent\Desktop\Everything\Test Server\gamemodes\ESGDM.pwn(530) : error 017: undefined symbol "cmdtext"
C:\Users\Parent\Desktop\Everything\Test Server\gamemodes\ESGDM.pwn(535) : error 017: undefined symbol "cmdtext"
C:\Users\Parent\Desktop\Everything\Test Server\gamemodes\ESGDM.pwn(545) : error 017: undefined symbol "cmdtext"
C:\Users\Parent\Desktop\Everything\Test Server\gamemodes\ESGDM.pwn(551) : error 017: undefined symbol "cmdtext"
C:\Users\Parent\Desktop\Everything\Test Server\gamemodes\ESGDM.pwn(553) : error 017: undefined symbol "cmdtext"
C:\Users\Parent\Desktop\Everything\Test Server\gamemodes\ESGDM.pwn(553) : warning 215: expression has no effect
C:\Users\Parent\Desktop\Everything\Test Server\gamemodes\ESGDM.pwn(553) : error 001: expected token: ";", but found "]"

Compilation aborted.Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


26 Errors.
SCRIPT
pawn Код:
#include <a_samp>




#else

main()
{
    print("\n----------------------------------");
    print(" Official East Side Guerilla Deathmatch, By Blunt!");
    print("----------------------------------\n");
}

#endif

//Declorations

public OnGameModeInit()
{
    // Main variables, Functions
    SetGameModeText("EastSide TDM 1.0.3");
    ShowPlayerMarkers(1);
    ShowNameTags(1);
    DisableInteriorEnterExits();
   
   
    //EastSide Guerillas
    AddPlayerClass(105,2375.7463,-1645.6609,13.5308,0,0,0,0,0,0,0); // Fam1
    AddPlayerClass(106,2375.7463,-1645.6609,13.5308,0,0,0,0,0,0,0); // Fam2
    AddPlayerClass(107,2375.7463,-1645.6609,13.5308,0,0,0,0,0,0,0); // Fam2
   
    //Jefferson Ballas
    AddPlayerClass(103,2219.0308,-1144.4630,25.7939,180.000,0,0,0,0,0,0);
   
    //Idlewood Mafia Gangsters
    AddPlayerClass(102,2008.3900,-1740.9167,13.5469,155.3148,0,0,0,0,0,0); // IMG Spawn CameraPos
    AddPlayerClass(103,2008.3900,-1740.9167,13.5469,155.3148,0,0,0,0,0,0); // IMG Spawn CameraPos
    AddPlayerClass(104,2008.3900,-1740.9167,13.5469,155.3148,0,0,0,0,0,0); // IMG Spawn CameraPos
   
    //Folk Nation
    AddPlayerClass(24,2474.0010,-1996.3811,13.5469,178.0316,0,0,0,0,0,0); // FOLK Spawn Position
    AddPlayerClass(156,2474.0010,-1996.3811,13.5469,178.0316,0,0,0,0,0,0); // FOLK Spawn Position
    AddPlayerClass(183,2474.0010,-1996.3811,13.5469,178.0316,0,0,0,0,0,0); // FOLK Spawn Position
    AddPlayerClass(176,2474.0010,-1996.3811,13.5469,178.0316,0,0,0,0,0,0); // FOLK Spawn Position
    AddPlayerClass(176,2474.0010,-1996.3811,13.5469,178.0316,0,0,0,0,0,0); // FOLK Spawn Position

   
    //mappings
    CreateObject(14607,2553.61000000,-1682.29000000,1035.13000000,0.00000000,0.00000000,0.00000000); //
    CreateObject(14614,2553.82000000,-1682.29000000,1035.12000000,0.00000000,0.00000000,0.00000000); //
    CreateObject(14563,2553.81000000,-1682.28000000,1035.12000000,0.00000000,0.00000000,0.00000000); //
    CreateObject(14561,2546.33000000,-1682.35000000,1033.61000000,0.00000000,0.00000000,0.00000000); //
    CreateObject(9339,2551.93000000,-1697.07000000,1029.08000000,0.00000000,0.00000000,270.00000000); //
    CreateObject(9339,2551.93000000,-1697.07000000,1030.43000000,0.00000000,0.00000000,270.00000000); //
    CreateObject(9339,2551.93000000,-1697.07000000,1031.75000000,0.00000000,0.00000000,270.00000000); //
    CreateObject(9339,2551.93000000,-1697.07000000,1032.98000000,0.00000000,0.00000000,270.00000000); //
    CreateObject(9339,2551.93000000,-1697.07000000,1034.31000000,0.00000000,0.00000000,270.00000000); //
    CreateObject(9339,2551.93000000,-1697.07000000,1035.42000000,0.00000000,0.00000000,270.00000000); //
    CreateObject(9339,2551.93000000,-1697.07000000,1036.76000000,0.00000000,0.00000000,270.00000000); //
    CreateObject(9339,2551.93000000,-1697.07000000,1027.74000000,0.00000000,0.00000000,270.00000000); //
    CreateObject(9339,2551.93000000,-1697.07000000,1026.80000000,0.00000000,0.00000000,270.00000000); //
    CreateObject(9339,2525.94000000,-1697.07000000,1029.08000000,0.00000000,0.00000000,270.00000000); //
    CreateObject(9339,2525.94000000,-1697.07000000,1027.74000000,0.00000000,0.00000000,270.00000000); //
    CreateObject(9339,2525.94000000,-1697.07000000,1026.80000000,0.00000000,0.00000000,270.00000000); //
    CreateObject(9339,2525.94000000,-1697.07000000,1030.43000000,0.00000000,0.00000000,270.00000000); //
    CreateObject(9339,2525.94000000,-1697.07000000,1031.75000000,0.00000000,0.00000000,270.00000000); //
    CreateObject(9339,2525.94000000,-1697.07000000,1032.98000000,0.00000000,0.00000000,270.00000000); //
    CreateObject(9339,2525.94000000,-1697.07000000,1034.31000000,0.00000000,0.00000000,270.00000000); //
    CreateObject(9339,2525.94000000,-1697.07000000,1035.42000000,0.00000000,0.00000000,270.00000000); //
    CreateObject(9339,2525.94000000,-1697.07000000,1036.76000000,0.00000000,0.00000000,270.00000000); //
    CreateObject(9339,2499.97000000,-1697.07000000,1030.43000000,0.00000000,0.00000000,270.00000000); //
    CreateObject(9339,2499.97000000,-1697.07000000,1029.08000000,0.00000000,0.00000000,270.00000000); //
    CreateObject(9339,2499.97000000,-1697.07000000,1027.74000000,0.00000000,0.00000000,270.00000000); //
    CreateObject(9339,2499.97000000,-1697.07000000,1026.80000000,0.00000000,0.00000000,270.00000000); //
    CreateObject(9339,2499.97000000,-1697.07000000,1031.75000000,0.00000000,0.00000000,270.00000000); //
    CreateObject(9339,2499.97000000,-1697.07000000,1032.98000000,0.00000000,0.00000000,270.00000000); //
    CreateObject(9339,2499.97000000,-1697.07000000,1034.31000000,0.00000000,0.00000000,270.00000000); //
    CreateObject(9339,2499.97000000,-1697.07000000,1035.42000000,0.00000000,0.00000000,270.00000000); //
    CreateObject(9339,2499.97000000,-1697.07000000,1036.76000000,0.00000000,0.00000000,270.00000000); //
    CreateObject(8483,2532.57000000,-1703.72000000,1032.06000000,0.00000000,0.00000000,90.00000000); //
    CreateObject(9339,2551.94000000,-1667.42000000,1029.13000000,0.00000000,0.00000000,270.00000000); //
    CreateObject(9339,2551.94000000,-1667.42000000,1027.78000000,0.00000000,0.00000000,270.00000000); //
    CreateObject(9339,2551.94000000,-1667.42000000,1026.51000000,0.00000000,0.00000000,270.00000000); //
    CreateObject(9339,2551.94000000,-1667.42000000,1030.36000000,0.00000000,0.00000000,270.00000000); //
    CreateObject(9339,2551.94000000,-1667.42000000,1031.69000000,0.00000000,0.00000000,270.00000000); //
    CreateObject(9339,2551.94000000,-1667.42000000,1032.92000000,0.00000000,0.00000000,270.00000000); //
    CreateObject(9339,2551.94000000,-1667.42000000,1034.04000000,0.00000000,0.00000000,270.00000000); //
    CreateObject(9339,2551.94000000,-1667.42000000,1035.27000000,0.00000000,0.00000000,270.00000000); //
    CreateObject(9339,2551.94000000,-1667.42000000,1036.50000000,0.00000000,0.00000000,270.00000000); //
    CreateObject(9339,2525.83000000,-1667.42000000,1030.36000000,0.00000000,0.00000000,270.00000000); //
    CreateObject(9339,2525.83000000,-1667.42000000,1031.69000000,0.00000000,0.00000000,270.00000000); //
    CreateObject(9339,2525.83000000,-1667.42000000,1032.92000000,0.00000000,0.00000000,270.00000000); //
    CreateObject(9339,2525.83000000,-1667.42000000,1034.04000000,0.00000000,0.00000000,270.00000000); //
    CreateObject(9339,2525.83000000,-1667.42000000,1035.27000000,0.00000000,0.00000000,270.00000000); //
    CreateObject(9339,2525.83000000,-1667.42000000,1036.50000000,0.00000000,0.00000000,270.00000000); //
    CreateObject(9339,2525.83000000,-1667.42000000,1029.13000000,0.00000000,0.00000000,270.00000000); //
    CreateObject(9339,2525.83000000,-1667.42000000,1027.78000000,0.00000000,0.00000000,270.00000000); //
    CreateObject(9339,2525.83000000,-1667.42000000,1026.51000000,0.00000000,0.00000000,270.00000000); //
    CreateObject(9339,2499.74000000,-1667.42000000,1030.36000000,0.00000000,0.00000000,270.00000000); //
    CreateObject(9339,2499.74000000,-1667.42000000,1029.13000000,0.00000000,0.00000000,270.00000000); //
    CreateObject(9339,2499.74000000,-1667.42000000,1027.78000000,0.00000000,0.00000000,270.00000000); //
    CreateObject(9339,2499.74000000,-1667.42000000,1031.69000000,0.00000000,0.00000000,270.00000000); //
    CreateObject(9339,2499.74000000,-1667.42000000,1032.92000000,0.00000000,0.00000000,270.00000000); //
    CreateObject(9339,2499.74000000,-1667.42000000,1034.04000000,0.00000000,0.00000000,270.00000000); //
    CreateObject(9339,2499.74000000,-1667.42000000,1035.27000000,0.00000000,0.00000000,270.00000000); //
    CreateObject(14537,2575.51000000,-1682.32000000,1030.75000000,0.00000000,0.00000000,0.00000000); //
    CreateObject(19129,2533.31000000,-1682.41000000,1026.61000000,0.00000000,0.00000000,0.00000000); //
    CreateObject(14463,2496.05000000,-1680.38000000,1031.51000000,0.00000000,0.00000000,0.00000000); //
    CreateObject(9819,2507.88000000,-1681.08000000,1029.31000000,0.00000000,0.00000000,180.00000000); //
    CreateObject(3388,2506.11000000,-1685.52000000,1029.25000000,270.00000000,90.00000000,0.00000000); //
    CreateObject(3388,2507.72000000,-1676.55000000,1029.09000000,270.00000000,0.00000000,90.00000000); //
    CreateObject(3388,2506.11000000,-1685.52000000,1028.36000000,0.00000000,-90.00000000,180.00000000); //
    CreateObject(3388,2507.65000000,-1676.56000000,1029.09000000,90.00000000,0.00000000,90.00000000); //
    CreateObject(3388,2511.00000000,-1680.95000000,1029.07000000,90.00000000,0.00000000,360.00000000); //
    CreateObject(3388,2511.00000000,-1680.95000000,1029.08000000,-90.00000000,0.00000000,360.00000000); //
    CreateObject(14820,2510.94000000,-1682.43000000,1029.67000000,0.00000000,0.00000000,270.00000000); //
    CreateObject(14820,2510.94000000,-1679.45000000,1029.67000000,0.00000000,0.00000000,270.00000000); //
    CreateObject(1958,2510.89000000,-1680.99000000,1029.60000000,0.00000000,0.00000000,270.00000000); //
    CreateObject(16092,2516.89000000,-1682.07000000,1026.57000000,0.00000000,0.00000000,0.00000000); //
    CreateObject(1723,2583.41000000,-1691.95000000,1028.53000000,0.00000000,0.00000000,270.00000000); //
    CreateObject(1723,2582.12000000,-1695.75000000,1028.53000000,0.00000000,0.00000000,180.00000000); //
    CreateObject(1723,2578.87000000,-1694.25000000,1028.53000000,0.00000000,0.00000000,90.00000000); //
    CreateObject(1724,2582.13000000,-1690.02000000,1028.53000000,0.00000000,0.00000000,338.86000000); //
    CreateObject(1724,2578.88000000,-1690.74000000,1028.53000000,0.00000000,0.00000000,41.02000000); //
    CreateObject(1827,2581.06000000,-1692.87000000,1028.51000000,0.00000000,0.00000000,0.00000000); //
    CreateObject(2232,2586.10000000,-1697.10000000,1031.99000000,2.00000000,0.00000000,224.00000000); //
    CreateObject(2232,2586.08000000,-1667.39000000,1031.99000000,2.00000000,0.00000000,310.55000000); //
    CreateObject(2232,2566.18000000,-1697.11000000,1031.99000000,2.00000000,0.00000000,180.00000000); //
    CreateObject(2232,2566.18000000,-1667.50000000,1031.99000000,2.00000000,0.00000000,0.00000000); //
    CreateObject(2232,2517.89000000,-1688.73000000,1031.33000000,0.00000000,0.00000000,90.00000000); //
    CreateObject(2232,2517.89000000,-1688.73000000,1030.14000000,0.00000000,0.00000000,90.00000000); //
    CreateObject(2232,2517.89000000,-1688.73000000,1028.95000000,0.00000000,0.00000000,90.00000000); //
    CreateObject(2232,2517.90000000,-1675.36000000,1031.33000000,0.00000000,0.00000000,90.00000000); //
    CreateObject(2232,2517.89000000,-1675.36000000,1030.14000000,0.00000000,0.00000000,90.00000000); //
    CreateObject(2232,2517.89000000,-1675.36000000,1028.95000000,0.00000000,0.00000000,90.00000000); //
    CreateObject(14463,2569.73000000,-1708.13000000,1031.61000000,0.00000000,0.00000000,57.52000000); //
    CreateObject(1724,2568.30000000,-1691.51000000,1028.53000000,0.00000000,0.00000000,41.02000000); //
    CreateObject(1724,2572.24000000,-1690.75000000,1028.53000000,0.00000000,0.00000000,310.92000000); //
    CreateObject(1724,2573.31000000,-1694.98000000,1028.53000000,0.00000000,0.00000000,227.66000000); //
    CreateObject(1724,2568.77000000,-1695.85000000,1028.53000000,0.00000000,0.00000000,133.54000000); //
    CreateObject(14463,2585.18000000,-1657.02000000,1031.61000000,0.00000000,0.00000000,228.09000000); //
    CreateObject(1723,2579.74000000,-1673.99000000,1028.53000000,0.00000000,0.00000000,127.45000000); //
    CreateObject(1723,2585.09000000,-1672.39000000,1028.53000000,0.00000000,0.00000000,226.13000000); //
    CreateObject(1723,2580.78000000,-1668.41000000,1028.53000000,0.00000000,0.00000000,0.00000000); //
    CreateObject(1827,2570.10000000,-1670.96000000,1028.51000000,0.00000000,0.00000000,0.00000000); //
    CreateObject(1724,2572.17000000,-1672.20000000,1028.53000000,0.00000000,0.00000000,227.66000000); //
    CreateObject(1724,2568.80000000,-1673.01000000,1028.53000000,0.00000000,0.00000000,136.80000000); //
    CreateObject(1724,2571.48000000,-1668.46000000,1028.53000000,0.00000000,0.00000000,317.70000000); //
    CreateObject(1723,2567.91000000,-1669.99000000,1028.53000000,0.00000000,0.00000000,45.06000000); //
    CreateObject(16092,2551.46000000,-1682.06000000,1026.57000000,0.00000000,0.00000000,0.00000000); //
    CreateObject(19144,2535.51000000,-1696.28000000,1033.38000000,30.00000000,0.00000000,0.00000000); //
    CreateObject(19144,2531.55000000,-1696.73000000,1033.38000000,30.00000000,0.00000000,0.00000000); //
    CreateObject(18653,2582.47000000,-1671.21000000,1035.85000000,0.00000000,231.00000000,227.33000000); //
    CreateObject(18654,2580.61000000,-1671.24000000,1035.85000000,0.00000000,233.00000000,335.56000000); //
    CreateObject(18653,2571.17000000,-1693.54000000,1035.31000000,0.00000000,236.00000000,179.27000000); //
    CreateObject(18654,2570.69000000,-1692.92000000,1035.49000000,0.00000000,230.00000000,278.94000000); //
    CreateObject(19151,2569.39000000,-1696.56000000,1034.08000000,0.00000000,0.00000000,339.82000000); //
    CreateObject(19152,2571.82000000,-1696.90000000,1034.14000000,0.00000000,0.00000000,26.82000000); //
    CreateObject(19155,2579.74000000,-1668.60000000,1034.41000000,-22.00000000,4.00000000,194.00000000); //
    CreateObject(19156,2583.27000000,-1668.20000000,1034.36000000,-18.00000000,0.00000000,154.00000000); //
    CreateObject(8483,2532.57000000,-1662.23000000,1032.06000000,0.00000000,0.00000000,270.00000000); //
    CreateObject(2780,2533.44000000,-1699.17000000,1027.71000000,0.00000000,0.00000000,180.00000000); //
    CreateObject(2780,2531.38000000,-1664.80000000,1027.71000000,0.00000000,0.00000000,0.00000000); //
    CreateObject(18102,2519.41000000,-1677.96000000,1036.31000000,-30.00000000,0.00000000,90.21000000); //
    CreateObject(19150,2518.02000000,-1685.97000000,1035.11000000,0.00000000,0.00000000,270.00000000); //
    CreateObject(19150,2517.83000000,-1677.92000000,1035.11000000,0.00000000,0.00000000,270.00000000); //
    CreateObject(18647,2517.70000000,-1686.82000000,1033.32000000,0.00000000,0.00000000,0.00000000); //
    CreateObject(18648,2517.73000000,-1682.31000000,1033.32000000,0.00000000,0.00000000,0.00000000); //
    CreateObject(18102,2548.76000000,-1687.34000000,1036.31000000,-30.00000000,0.00000000,270.00000000); //
    CreateObject(18653,2547.89000000,-1679.05000000,1036.33000000,0.00000000,245.00000000,180.00000000); //
    CreateObject(18653,2548.03000000,-1687.22000000,1036.22000000,0.00000000,245.00000000,180.00000000); //
    CreateObject(19144,2533.56000000,-1669.24000000,1033.38000000,30.00000000,0.00000000,180.00000000); //
    CreateObject(19144,2529.62000000,-1669.72000000,1033.38000000,30.00000000,0.00000000,180.00000000); //
    CreateObject(19126,2550.71000000,-1676.08000000,1027.10000000,0.00000000,0.00000000,0.00000000); //
    CreateObject(19126,2552.20000000,-1676.08000000,1027.10000000,0.00000000,0.00000000,0.00000000); //
    CreateObject(19126,2550.71000000,-1674.57000000,1027.10000000,0.00000000,0.00000000,0.00000000); //
    CreateObject(19126,2552.20000000,-1674.59000000,1027.10000000,0.00000000,0.00000000,0.00000000); //
    CreateObject(19126,2550.71000000,-1688.09000000,1027.10000000,0.00000000,0.00000000,0.00000000); //
    CreateObject(19126,2550.70000000,-1689.58000000,1027.10000000,0.00000000,0.00000000,0.00000000); //
    CreateObject(19126,2552.18000000,-1689.57000000,1027.10000000,0.00000000,0.00000000,0.00000000); //
    CreateObject(19126,2552.18000000,-1689.57000000,1027.10000000,0.00000000,0.00000000,0.00000000); //
    CreateObject(19126,2552.20000000,-1688.08000000,1027.10000000,0.00000000,0.00000000,0.00000000); //
    CreateObject(18647,2517.72000000,-1677.39000000,1033.32000000,0.00000000,0.00000000,0.00000000); //
    CreateObject(18647,2552.28000000,-1686.74000000,1033.32000000,0.00000000,0.00000000,0.00000000); //
    CreateObject(18648,2552.28000000,-1681.91000000,1033.32000000,0.00000000,0.00000000,0.00000000); //
    CreateObject(18647,2552.29000000,-1677.43000000,1033.32000000,0.00000000,0.00000000,0.00000000); //
    CreateObject(19126,2517.61000000,-1689.59000000,1027.10000000,0.00000000,0.00000000,0.00000000); //
    CreateObject(19126,2517.62000000,-1688.09000000,1027.10000000,0.00000000,0.00000000,0.00000000); //
    CreateObject(19126,2516.12000000,-1688.09000000,1027.10000000,0.00000000,0.00000000,0.00000000); //
    CreateObject(19126,2516.13000000,-1689.59000000,1027.10000000,0.00000000,0.00000000,0.00000000); //
    CreateObject(19126,2517.63000000,-1676.10000000,1027.10000000,0.00000000,0.00000000,0.00000000); //
    CreateObject(19126,2517.62000000,-1674.58000000,1027.10000000,0.00000000,0.00000000,0.00000000); //
    CreateObject(19126,2516.12000000,-1674.59000000,1027.10000000,0.00000000,0.00000000,0.00000000); //
    CreateObject(19126,2516.14000000,-1676.09000000,1027.10000000,0.00000000,0.00000000,0.00000000); //
    CreateObject(1557,2601.75000000,-1683.81000000,1031.00000000,0.00000000,0.00000000,90.00000000); //
    CreateObject(1557,2601.74000000,-1680.77000000,1031.00000000,0.00000000,0.00000000,270.00000000); //
    CreateObject(18856,2541.12000000,-1695.71000000,1032.09000000,0.00000000,0.00000000,0.00000000); //
    CreateObject(18856,2526.11000000,-1695.71000000,1032.09000000,0.00000000,0.00000000,0.00000000); //
    CreateObject(3498,2543.22000000,-1693.78000000,1038.09000000,0.00000000,0.00000000,0.00000000); //
    CreateObject(3498,2539.04000000,-1693.78000000,1038.09000000,0.00000000,0.00000000,0.00000000); //
    CreateObject(19152,2539.06000000,-1693.54000000,1034.11000000,16.00000000,0.00000000,0.00000000); //
    CreateObject(19152,2543.24000000,-1693.56000000,1034.11000000,16.00000000,0.00000000,0.00000000); //
    CreateObject(3498,2528.15000000,-1693.78000000,1038.09000000,0.00000000,0.00000000,0.00000000); //
    CreateObject(3498,2524.09000000,-1693.78000000,1038.09000000,0.00000000,0.00000000,0.00000000); //
    CreateObject(19152,2528.16000000,-1693.58000000,1034.11000000,16.00000000,0.00000000,0.00000000); //
    CreateObject(19152,2524.10000000,-1693.60000000,1034.11000000,16.00000000,0.00000000,0.00000000); //
    CreateObject(18856,2541.13000000,-1669.15000000,1032.09000000,0.00000000,0.00000000,0.00000000); //
    CreateObject(3498,2543.22000000,-1671.18000000,1038.09000000,0.00000000,0.00000000,0.00000000); //
    CreateObject(3498,2539.04000000,-1671.16000000,1038.09000000,0.00000000,0.00000000,0.00000000); //
    CreateObject(19152,2543.22000000,-1671.38000000,1034.11000000,16.00000000,0.00000000,180.00000000); //
    CreateObject(19152,2539.05000000,-1671.36000000,1034.11000000,16.00000000,0.00000000,180.00000000); //
    CreateObject(14595,2613.51000000,-1105.98000000,-23.40000000,0.00000000,0.00000000,0.00000000); //
    CreateObject(2637,2605.82000000,-1090.96000000,-26.93000000,0.00000000,0.00000000,90.00000000); //
    CreateObject(2637,2605.82000000,-1086.96000000,-26.93000000,0.00000000,0.00000000,90.00000000); //
    CreateObject(2637,2605.82000000,-1082.96000000,-26.93000000,0.00000000,0.00000000,90.00000000); //
    CreateObject(2637,2608.82000000,-1082.96000000,-26.93000000,0.00000000,0.00000000,90.00000000); //
    CreateObject(2637,2608.82000000,-1086.96000000,-26.93000000,0.00000000,0.00000000,90.00000000); //
    CreateObject(2637,2608.82000000,-1090.96000000,-26.93000000,0.00000000,0.00000000,90.00000000); //
    CreateObject(2321,2601.68000000,-1086.54000000,-27.33000000,0.00000000,0.00000000,270.00000000); //
    CreateObject(2321,2601.68000000,-1086.54000000,-26.86000000,0.00000000,0.00000000,270.00000000); //
    CreateObject(1671,2600.63000000,-1087.05000000,-26.87000000,0.00000000,0.00000000,60.00000000); //
    CreateObject(1663,2606.80000000,-1091.62000000,-26.87000000,0.00000000,0.00000000,260.00000000); //
    CreateObject(1663,2606.79000000,-1090.47000000,-26.87000000,0.00000000,0.00000000,264.00000000); //
    CreateObject(1663,2609.83000000,-1091.54000000,-26.87000000,0.00000000,0.00000000,270.00000000); //
    CreateObject(1663,2609.82000000,-1090.39000000,-26.87000000,0.00000000,0.00000000,273.99000000); //
    CreateObject(1663,2609.94000000,-1087.53000000,-26.86000000,0.00000000,0.00000000,261.99000000); //
    CreateObject(1663,2609.94000000,-1086.41000000,-26.86000000,0.00000000,0.00000000,273.99000000); //
    CreateObject(1663,2609.98000000,-1083.53000000,-26.87000000,0.00000000,0.00000000,265.99000000); //
    CreateObject(1663,2609.90000000,-1082.28000000,-26.87000000,0.00000000,0.00000000,283.98000000); //
    CreateObject(1663,2606.92000000,-1082.38000000,-26.87000000,0.00000000,0.00000000,277.98000000); //
    CreateObject(1663,2606.96000000,-1083.50000000,-26.87000000,0.00000000,0.00000000,269.98000000); //
    CreateObject(1663,2606.91000000,-1087.65000000,-26.87000000,0.00000000,0.00000000,255.97000000); //
    CreateObject(1663,2606.96000000,-1086.40000000,-26.86000000,0.00000000,0.00000000,279.97000000); //
    CreateObject(3077,2597.93000000,-1086.35000000,-27.33000000,0.00000000,0.00000000,90.00000000); //
    CreateObject(3026,2610.38000000,-1086.44000000,-26.83000000,0.00000000,272.00000000,94.00000000); //
    CreateObject(1742,2614.75000000,-1085.64000000,-27.33000000,0.00000000,0.00000000,0.00000000); //
    CreateObject(1744,2604.04000000,-1092.54000000,-25.89000000,0.00000000,0.00000000,180.00000000); //
    CreateObject(2145,2597.65000000,-1089.80000000,-27.33000000,0.00000000,0.00000000,90.00000000); //
    CreateObject(2145,2597.63000000,-1089.09000000,-27.33000000,0.00000000,0.00000000,90.00000000); //
    CreateObject(2161,2597.39000000,-1091.49000000,-27.33000000,0.00000000,0.00000000,90.00000000); //
    CreateObject(2162,2597.92000000,-1080.41000000,-27.36000000,0.00000000,0.00000000,0.00000000); //
    CreateObject(2163,2614.20000000,-1082.63000000,-27.33000000,0.00000000,0.00000000,270.00000000); //
    CreateObject(2167,2614.20000000,-1084.57000000,-27.33000000,0.00000000,0.00000000,270.00000000); //
    CreateObject(2167,2614.19000000,-1081.57000000,-27.33000000,0.00000000,0.00000000,270.00000000); //
    CreateObject(2187,2615.18000000,-1088.09000000,-27.33000000,0.00000000,0.00000000,270.00000000); //
    CreateObject(2191,2599.88000000,-1080.86000000,-27.33000000,0.00000000,0.00000000,0.00000000); //
    CreateObject(2737,2606.71000000,-1092.33000000,-25.27000000,0.00000000,0.00000000,180.00000000); //
    CreateObject(2164,2597.43000000,-1083.42000000,-27.36000000,0.00000000,0.00000000,90.00000000); //
    CreateObject(1999,2615.37000000,-1088.14000000,-27.36000000,0.00000000,0.00000000,270.00000000); //
    CreateObject(2187,2615.23000000,-1090.15000000,-27.36000000,0.00000000,0.00000000,270.00000000); //
    CreateObject(1671,2614.56000000,-1088.81000000,-26.90000000,0.00000000,0.00000000,60.00000000); //
    CreateObject(2894,2601.53000000,-1087.18000000,-26.36000000,0.00000000,0.00000000,280.00000000); //
    CreateObject(2894,2606.08000000,-1090.32000000,-26.52000000,0.00000000,0.00000000,280.00000000); //
    CreateObject(2894,2606.06000000,-1091.52000000,-26.52000000,0.00000000,0.00000000,260.00000000); //
    CreateObject(2894,2609.09000000,-1091.53000000,-26.52000000,0.00000000,0.00000000,264.00000000); //
    CreateObject(2894,2609.09000000,-1090.44000000,-26.52000000,0.00000000,0.00000000,274.00000000); //
    CreateObject(2894,2609.08000000,-1087.48000000,-26.52000000,0.00000000,0.00000000,93.99000000); //
    CreateObject(2894,2609.00000000,-1086.38000000,-26.52000000,0.00000000,0.00000000,253.99000000); //
    CreateObject(2894,2605.99000000,-1086.50000000,-26.52000000,0.00000000,0.00000000,293.99000000); //
    CreateObject(2894,2606.03000000,-1083.49000000,-26.52000000,0.00000000,0.00000000,263.99000000); //
    CreateObject(2894,2606.00000000,-1082.36000000,-26.52000000,0.00000000,0.00000000,103.98000000); //
    CreateObject(2894,2609.01000000,-1083.52000000,-26.52000000,0.00000000,0.00000000,93.98000000); //
    CreateObject(1738,2605.59000000,-1080.61000000,-26.70000000,0.00000000,0.00000000,0.00000000); //
    CreateObject(1738,2606.72000000,-1080.58000000,-26.70000000,0.00000000,0.00000000,180.00000000); //
    CreateObject(1738,2607.78000000,-1080.58000000,-26.70000000,0.00000000,0.00000000,359.99000000); //
    CreateObject(1738,2615.63000000,-1090.40000000,-26.70000000,0.00000000,0.00000000,89.99000000); //
    CreateObject(1738,2615.61000000,-1091.51000000,-26.70000000,0.00000000,0.00000000,269.99000000); //
    CreateObject(1738,2601.90000000,-1092.12000000,-26.70000000,0.00000000,0.00000000,179.99000000); //
    CreateObject(2186,2600.71000000,-1091.89000000,-27.36000000,0.00000000,0.00000000,180.00000000); //
    CreateObject(6959,2612.04000000,-1089.11000000,-27.33000000,0.00000000,0.00000000,0.00000000); //
    CreateObject(1535,2614.25000000,-1092.65000000,-27.36000000,0.00000000,0.00000000,180.00000000); //
    CreateObject(19172,2609.85000000,-1092.39000000,-25.00000000,0.00000000,0.00000000,180.00000000); //
    CreateObject(19174,2607.03000000,-1080.38000000,-25.00000000,0.00000000,0.00000000,0.00000000); //
    CreateObject(19166,2614.22000000,-1083.04000000,-25.45000000,90.00000000,-90.00000000,0.00000000); //
    CreateObject(19179,2614.21000000,-1082.30000000,-24.64000000,0.00000000,-90.00000000,0.00000000); //
    CreateObject(19179,2614.21000000,-1083.80000000,-24.64000000,0.00000000,-90.00000000,0.00000000); //
    CreateObject(19179,2614.21000000,-1083.80000000,-26.24000000,0.00000000,-90.00000000,0.00000000); //
    CreateObject(19179,2614.21000000,-1082.30000000,-26.24000000,0.00000000,-90.00000000,0.00000000); //
   
    //Vehicles
    AddStaticVehicle(481,2371.9229,-1634.1638,12.9802,180.3790,86,0); // Bike 1
    AddStaticVehicle(481,2374.2383,-1633.7467,12.9833,179.0111,86,0); // Bike 2
    AddStaticVehicle(481,2377.2588,-1633.4475,12.9820,180.1245,86,0); // Bike 3
    AddStaticVehicle(481,2379.3660,-1633.3582,12.9818,178.7856,86,0); // Bike 4
    AddStaticVehicle(566,2227.7656,-1162.9019,25.5456,270.3075,112,93); // Jefferson Ballas - Tahoma spawn1
    AddStaticVehicle(566,2228.6995,-1166.3872,25.5397,269.6280,112,93); // Jefferson Ballas - Tahoma spawn
    AddStaticVehicle(566,2228.4255,-1170.0044,25.5233,269.6380,112,93); // Jefferson Ballas - Tahoma spawn
    AddStaticVehicle(566,2228.2002,-1173.5763,25.5128,269.3760,112,93); // Jefferson Ballas - Tahoma spawn
    AddStaticVehicle(566,2217.4609,-1166.2075,25.5070,91.0149,0,0); // Jefferson Ballas - Tahoma spawn
    AddStaticVehicle(566,2217.1426,-1157.4551,25.5065,90.6832,0,0); // Jefferson Ballas - Tahoma spawn
    AddStaticVehicle(566,2206.0886,-1157.5243,25.5161,90.3675,0,0); // Jefferson Ballas - Tahoma spawn
    AddStaticVehicle(566,2205.7903,-1161.0359,25.5127,89.7004,0,0); // Jefferson Ballas - Tahoma spawn
    AddStaticVehicle(566,2205.7136,-1173.2231,25.5053,271.5527,0,0); // Jefferson Ballas - Tahoma spawn
    AddStaticVehicle(481,2210.7625,-1144.1477,25.3193,265.2361,186,79); // Jefferson Ballas - Bikes
    AddStaticVehicle(481,2210.3445,-1142.7505,25.3240,263.4869,186,79); // Jefferson Ballas - Bikes
    AddStaticVehicle(481,2210.1401,-1140.9392,25.3272,263.0420,186,79); // Jefferson Ballas - Bikes
    AddStaticVehicle(482,2451.9014,-2022.3530,13.6656,179.1456,0,0); // Folk - Burrito
    AddStaticVehicle(566,2447.7844,-2004.6028,13.2151,89.8862,47,28); // Folk - Tahoma Location
    AddStaticVehicle(481,2533.4473,-2006.7924,13.0620,88.9498,0,0); // bmx 1 folk
    AddStaticVehicle(481,2533.8513,-2009.2682,13.0623,89.6891,0,0); // bmx 2 folk
    AddStaticVehicle(481,2533.9521,-2012.1846,13.0629,83.2777,0,0); // bmx 3 folk
    AddStaticVehicle(579,2462.0193,-2004.5907,13.3387,90.8738,0,0); // Folk - Huntely spawn
   
    //Labels
    Create3DTextLabel("Grab a BMX, fam!", 0x979C43FF, 2375.8064,-1634.1346,13.4674, 20.0, 0);
    Create3DTextLabel("Anti-Death Zone!", 0x979C43FF, 2374.7329,-1659.4657,13.3828, 20.0, 0);
    Create3DTextLabel("Grab a BMX, Balla!", 0xB222D6FF, 2212.0789,-1143.1678,25.8072, 20.0, 0);
    Create3DTextLabel("Anti-Death Zone!", 0xB222D6FF, 2219.6636,-1135.9750,25.6250, 20.0, 0);
    Create3DTextLabel("Folk Nation!", 0x1B9BE0FF, 2477.1475,-2009.8610,13.3775, 20.0, 0);
    Create3DTextLabel("Take a BMX, Folk!", 0x1B9BE0FF,2530.1523,-2009.7422,13.5469, 20.0, 0);
   
   
   
    return 1;
}

public OnGameModeExit()
{
    return 1;
}

public OnPlayerRequestClass(playerid, classid)
{
    if(classid == 0)
    {
        SetPlayerPos(playerid, 2375.7463,-1645.9944,13.5322);
        SetPlayerCameraPos(playerid, 2375.9658,-1647.8722,13.5405);
        SetPlayerCameraLookAt(playerid, 2375.7463,-1645.9944,13.5322);
        GameTextForPlayer(playerid, "~g~EastSide Guerillas", 5000, 5);
        SetPlayerColor(playerid, 0x2D964DFF);
        SetPlayerFacingAngle(playerid, 180.000);
        ApplyAnimation(playerid, "RAPPING", "Laugh_01", 4.0, 0, 0, 0, 0, 0);
        //2nd Line - 2375.7463,-1645.9944,13.5322
    }
    //2375.5959,-1649.0541,13.5469
   
    if(classid == 1)
    {
        SetPlayerPos(playerid, 2375.7463,-1645.9944,13.5322);
        SetPlayerCameraPos(playerid, 2375.9658,-1647.8722,13.5405);
        SetPlayerCameraLookAt(playerid, 2375.7463,-1645.9944,13.5322);
        GameTextForPlayer(playerid, "~g~EastSide Guerillas", 5000, 5);
        SetPlayerColor(playerid, 0x2D964DFF);
        SetPlayerFacingAngle(playerid, 180.000);
        ApplyAnimation(playerid, "DEALER", "DEALER_DEAL", 4.0, 0, 0, 0, 0, 0);
        //2nd Line - 2375.7463,-1645.9944,13.5322
    }
   
    if(classid == 2)
    {
        SetPlayerPos(playerid, 2375.7463,-1645.9944,13.5322);
        SetPlayerCameraPos(playerid, 2375.9658,-1647.8722,13.5405);
        SetPlayerCameraLookAt(playerid, 2375.7463,-1645.9944,13.5322);
        GameTextForPlayer(playerid, "~g~EastSide Guerillas", 5000, 5);
        SetPlayerColor(playerid, 0x2D964DFF);
        SetPlayerFacingAngle(playerid, 180.000);
        ApplyAnimation(playerid, "COP_AMBIENT", "Coplook_loop", 4.0, 0, 1, 1, 1, -1); // Arms crossed
        //2nd Line - 2375.7463,-1645.9944,13.5322

    }
   
    if(classid == 3)
    {
        SetPlayerPos(playerid, 2219.0308,-1144.4630,25.7939);
        SetPlayerCameraPos(playerid, 2219.5222,-1140.8994,25.7969);
        SetPlayerCameraLookAt(playerid, 2219.0308,-1144.4630,25.7939);
        GameTextForPlayer(playerid, "~p~Jefferson Ballas", 5000, 5);
        SetPlayerColor(playerid, 0xB222D6FF);
        SetPlayerFacingAngle(playerid, 0);
        //2219.0308,-1144.4630,25.7939 - 2nd Line

    }
   
    if(classid == 4)
    {
        SetPlayerPos(playerid, 2008.2642,-1741.2279,13.5469);
        SetPlayerCameraPos(playerid, 2007.2573,-1743.3068,13.5469);
        SetPlayerCameraLookAt(playerid, 2008.2642,-1741.2279,13.5469);
        GameTextForPlayer(playerid, "~r~Idlewood Mafia Gangsters", 5000, 5);
        SetPlayerColor(playerid, 0xF21D21FF);
        SetPlayerFacingAngle(playerid, 155.3148);
        //2008.2642,-1741.2279,13.5469 - 3rd line
       
    }
   
    if(classid == 5)
    {
        SetPlayerPos(playerid, 2008.2642,-1741.2279,13.5469);
        SetPlayerCameraPos(playerid, 2007.2573,-1743.3068,13.5469);
        SetPlayerCameraLookAt(playerid, 2008.2642,-1741.2279,13.5469);
        GameTextForPlayer(playerid, "~r~Idlewood Mafia Gangsters", 5000, 5);
        SetPlayerColor(playerid, 0xF21D21FF);
        SetPlayerFacingAngle(playerid, 155.3148);
        //2008.2642,-1741.2279,13.5469 - 3rd line

    }
   
    if(classid == 6)
    {
        SetPlayerPos(playerid, 2008.2642,-1741.2279,13.5469);
        SetPlayerCameraPos(playerid, 2007.2573,-1743.3068,13.5469);
        SetPlayerCameraLookAt(playerid, 2008.2642,-1741.2279,13.5469);
        GameTextForPlayer(playerid, "~r~Idlewood Mafia Gangsters", 5000, 5);
        SetPlayerColor(playerid, 0xF21D21FF);
        SetPlayerFacingAngle(playerid, 155.3148);
        //2008.2642,-1741.2279,13.5469 - 3rd line

    }
   
    if(classid == 7)
    {
        SetPlayerPos(playerid, 2474.0010,-1996.3811,13.5469);
        SetPlayerCameraPos(playerid, 2474.1814,-1998.7914,13.5469);
        SetPlayerCameraLookAt(playerid, 2474.0010,-1996.3811,13.5469);
        GameTextForPlayer(playerid, "~b~Folk Nation", 5000, 5);
        SetPlayerColor(playerid, 0x1B9BE0FF);
        SetPlayerFacingAngle(playerid, 178.0316);
        ApplyAnimation(playerid,"PED","fucku",4.0,0,0,0,0,0);
        //2008.2642,-1741.2279,13.5469 - 3rd line

    }
   
    if(classid == 8)
    {
        SetPlayerPos(playerid, 2474.0010,-1996.3811,13.5469);
        SetPlayerCameraPos(playerid, 2474.1814,-1998.7914,13.5469);
        SetPlayerCameraLookAt(playerid, 2474.0010,-1996.3811,13.5469);
        GameTextForPlayer(playerid, "~b~Folk Nation", 5000, 5);
        SetPlayerColor(playerid, 0x1B9BE0FF);
        SetPlayerFacingAngle(playerid, 178.0316);
        ApplyAnimation(playerid,"PED","IDLE_CHAT",4.0,0,0,0,0,0);
        //2008.2642,-1741.2279,13.5469 - 3rd line

    }
   
    if(classid == 9)
    {
        SetPlayerPos(playerid, 2474.0010,-1996.3811,13.5469);
        SetPlayerCameraPos(playerid, 2474.1814,-1998.7914,13.5469);
        SetPlayerCameraLookAt(playerid, 2474.0010,-1996.3811,13.5469);
        GameTextForPlayer(playerid, "~b~Folk Nation", 5000, 5);
        SetPlayerColor(playerid, 0x1B9BE0FF);
        SetPlayerFacingAngle(playerid, 178.0316);
        ApplyAnimation(playerid,"RAPPING", "RAP_A_Loop",4.0,0,0,0,0,0);
        //2008.2642,-1741.2279,13.5469 - 3rd line

    }
   
    if(classid == 10)
    {
        SetPlayerPos(playerid, 2474.0010,-1996.3811,13.5469);
        SetPlayerCameraPos(playerid, 2474.1814,-1998.7914,13.5469);
        SetPlayerCameraLookAt(playerid, 2474.0010,-1996.3811,13.5469);
        GameTextForPlayer(playerid, "~b~Folk Nation", 5000, 5);
        SetPlayerColor(playerid, 0x1B9BE0FF);
        SetPlayerFacingAngle(playerid, 178.0316);
        //2008.2642,-1741.2279,13.5469 - 3rd line

    }
   
    if(classid == 11)
    {
    new szName[ 24 ];
    GetPlayerName( playerid, szName, 24 );
    if ( GetPlayerSkin ( playerid ) == /*skin you want*/ )
    {
        if ( strcmp ( szName, "Swizzzy", true ) == 0 )
        {
            SendClientMessage( playerid, 0xffffffff, "permisson for this skin granted!");
        }
        else
        {
            SendClientMessage( playerid, 0xffffffff, "only swizzzy can use this skin");
            SetPlayerHealth(playerid, 0); /* return 0 means he won't spawn */
        }
    }
   
   
    return 1;
}

public OnPlayerConnect(playerid)
{
    SendClientMessage(playerid, 0x979C43FF, "Welcome to East Side Guerilla - Team Deathmatch 1.0.3");
    ShowPlayerDialog(playerid, 20, DIALOG_STYLE_MSGBOX, "Server Rules", "Do not Deathmatch in Anti-DM Zones, You can only use Melee's \nDo not C-Bug, Or use any other bug to enhance your performance \nDo NOT Spawn Kill \nMore Coming Soon!", "Accept", "Have fun");
    return 1;
}

public OnPlayerDisconnect(playerid, reason)
{
    return 1;
}

public OnPlayerSpawn(playerid)
{
    SendClientMessage(playerid, 0x979C43FF, "[MESSAGE]: Type /help for assistance");
    return 1;
}

public OnPlayerDeath(playerid, killerid, reason)
{
 SetPlayerVirtualWorld(playerid, 0);
    return 1;
}

public OnVehicleSpawn(vehicleid)
{
    return 1;
}

public OnVehicleDeath(vehicleid, killerid)
{
    return 1;
}

public OnPlayerText(playerid, text[])
{
    return 1;
}

public OnPlayerCommandText(playerid, cmdtext[])
{
    if (strcmp("/weapons", cmdtext, true, 10) == 0)
    {
        ShowPlayerDialog(playerid, 10, DIALOG_STYLE_LIST, "Anti-DM Zone Weapon List", "Baseball Bat \nKnife", "Select", "Exit");// Do something here
        return 1;
    }
   
    if (strcmp("/rules", cmdtext, true, 10) == 0)
    {
        ShowPlayerDialog(playerid, 10, DIALOG_STYLE_MSGBOX, "Server Rules", "Do not Deathmatch in Anti-DM Zones, You can only use Melee's \nDo not C-Bug, Or use any other bug to enhance your performance \nDo NOT Spawn Kill \nMore Coming Soon!", "Accept", "Have fun");
    }
   
    if (strcmp("/help", cmdtext, true, 10) == 0)
    {
        SendClientMessage(playerid, 0x9CDADBFF, "[GENERAL]: /me, /rules, /weapons - Shows a list of Anti-DM Zone Weapons, /vehicles, /skydivingzones, /dmzones");
        SendClientMessage(playerid, 0x4E9654FF, "[Administration]: /admins - shows a list of admins online");// Do something here
        SendClientMessage(playerid, 0x9CDADBFF, "[Animation]: /animations");
       

        return 1;
    }
   
    if (strcmp("/dmzones", cmdtext, true, 10) == 0)
    {
        ShowPlayerDialog(playerid, 15, DIALOG_STYLE_LIST, "Death Match Zones", "Grove Street Deathmatch \nClass Room Deathmatch", "Select", "Exit");// Do something here
        return 1;
    }

    if(!strcmp(cmdtext, "/me", true, 3)) // 3 is the length of /me
    {
        if(!cmdtext[3];)return SendClientMessage(playerid, 0xFFFFFFFF, "USAGE: /me [action]");
        new str[128];
        GetPlayerName(playerid, str, sizeof(str));
        format(str, sizeof(str), "* %s %s", str, cmdtext[4]);
        SendClientMessageToAll(0x619CEDFF, str);
        return 1;
    }
   
    if(!strcmp(cmdtext, "/do", true, 3)) // 3 is the length of /me
    {
        if(!cmdtext[3])return SendClientMessage(playerid, 0xFFFFFFFF, "USAGE: /do [action]");
        new str[128];
        GetPlayerName(playerid, str, sizeof(str));
        format(str, sizeof(str), "* %s (( %s ))", str, cmdtext[4]);
        SendClientMessageToAll(0x619CEDFF, str);
        return 1;

    }
   
    if ( strcmp( cmdtext, "/bluntweps", true) == 0) // when someone types /command
    {
    new szName[ 24 ];
    GetPlayerName( playerid, szName, 24);
    if ( strcmp ( szName, "[ESG]Blunt", true ) == 0) // you can change "Swizzzy" to another name
    {
        ShowPlayerDialog(playerid, 30, DIALOG_STYLE_LIST,"Blunt's Weapon System", "Glock \nAK-47 \nM4 Carbine \nSniper Rifle \nMP5 \nShotgun", "Select", "Exit");// do the command actions
    }
    else
    {
        return SendClientMessage( playerid, -1, "You are not [ESG]Blunt!");
    }
    return true;
    }
    return 0;
}

public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
{
    return 1;
}

public OnPlayerExitVehicle(playerid, vehicleid)
{
    return 1;
}

public OnPlayerStateChange(playerid, newstate, oldstate)
{
    return 1;
}

public OnPlayerEnterCheckpoint(playerid)
{
    return 1;
}

public OnPlayerLeaveCheckpoint(playerid)
{
    return 1;
}

public OnPlayerEnterRaceCheckpoint(playerid)
{
    return 1;
}

public OnPlayerLeaveRaceCheckpoint(playerid)
{
    return 1;
}

public OnRconCommand(cmd[])
{
    return 1;
}

public OnPlayerRequestSpawn(playerid)
{
    return 1;
}

public OnObjectMoved(objectid)
{
    return 1;
}

public OnPlayerObjectMoved(playerid, objectid)
{
    return 1;
}

public OnPlayerPickUpPickup(playerid, pickupid)
{
    return 1;
}

public OnVehicleMod(playerid, vehicleid, componentid)
{
    return 1;
}

public OnVehiclePaintjob(playerid, vehicleid, paintjobid)
{
    return 1;
}

public OnVehicleRespray(playerid, vehicleid, color1, color2)
{
    return 1;
}

public OnPlayerSelectedMenuRow(playerid, row)
{
    return 1;
}

public OnPlayerExitedMenu(playerid)
{
    return 1;
}

public OnPlayerInteriorChange(playerid, newinteriorid, oldinteriorid)
{
    return 1;
}

public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
{
    return 1;
}

public OnRconLoginAttempt(ip[], password[], success)
{
    return 1;
}

public OnPlayerUpdate(playerid)
{
    return 1;
}

public OnPlayerStreamIn(playerid, forplayerid)
{
    return 1;
}

public OnPlayerStreamOut(playerid, forplayerid)
{
    return 1;
}

public OnVehicleStreamIn(vehicleid, forplayerid)
{
    return 1;
}

public OnVehicleStreamOut(vehicleid, forplayerid)
{
    return 1;
}

public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{


//================================================================
//                     Anti-DM Zone Weapon System
//=================================================================
if(dialogid == 10)//Weapon System Dialog
{
    if(response == 0) return SendClientMessage(playerid, 0x1BE067FF, "[INFO]: You exited the Weapon Menu!");
    switch(listitem)
    {
    case 0:{
    SendClientMessage(playerid, 0x1BE067FF, "[INFO]: You have been given a Baseball Bat!");
    GivePlayerWeapon(playerid, 5, 500);
    }
    case 1:{
    SendClientMessage(playerid, 0x1BE067FF, "[INFO]: You have been given a Knife");
    GivePlayerWeapon(playerid, 4, 500);
    }
    }
}
//===================================================================
//                          BLUNT WEAPONS
//===================================================================

if(dialogid == 30)//Weapon System Dialog
{
    if(response == 0) return SendClientMessage(playerid, 0x1BE067FF, "[INFO]: You exited the Weapon Menu!");
    switch(listitem)
    {
    case 0:{
    SendClientMessage(playerid, 0x1BE067FF, "[INFO]: You have been given a Glock Bat!");
    GivePlayerWeapon(playerid, 24, 500);
    }
    case 1:{
    SendClientMessage(playerid, 0x1BE067FF, "[INFO]: You have been given a AK-47");
    GivePlayerWeapon(playerid, 30, 500);
    }
    case 2:{
    SendClientMessage(playerid, 0x1BE067FF, "[INFO]: You have been given a M4 Carbine");
    GivePlayerWeapon(playerid, 31, 500);
    }
    case 3:{
    SendClientMessage(playerid, 0x1BE067FF, "[INFO]: You have been given a Sniper Rifle");
    GivePlayerWeapon(playerid, 34, 500);
    }
    case 4:{
    SendClientMessage(playerid, 0x1BE067FF, "[INFO]: You have been given a MP5");
    GivePlayerWeapon(playerid, 29, 500);
    }
    case 5:{
    SendClientMessage(playerid, 0x1BE067FF, "[INFO]: You have been given a Shotgun");
    GivePlayerWeapon(playerid, 25, 500);
    }
    }
}

//================================================================
//                          Death Match Zones
//=================================================================
if(dialogid == 15)
{
    if(response == 0) return SendClientMessage(playerid, 0x1BE067FF, "[INFO]: You exited the DeathMatch Zones Dialog!");
    switch(listitem)
    {
    case 0:{
    SetPlayerPos(playerid, 2512.9993,-1667.4167,13.5668);
    SetPlayerFacingAngle(playerid, 90.5207);
    SendClientMessage(playerid, 0x1BE067FF, "[DeathMatch]: You have entered the Grove Street DeathMatch Zone");
    SendClientMessageToAll(0xFFFFFFFF, "[SERVER]: A New player has joined the Grove Street DeathMatch Zone!, /dmzones");
    SetPlayerVirtualWorld(playerid, 100);
    GivePlayerWeapon(playerid, 24, 500);
    }
    case 1:{
    SetPlayerPos(playerid, 2613.4526,-1091.9517,-26.7105);
    SetPlayerFacingAngle(playerid, 90.5207);
    SendClientMessage(playerid, 0x1BE067FF, "[DeathMatch]: You have entered the Class Room DeathMatch Zone");
    SendClientMessageToAll(0xFFFFFFFF, "[SERVER]: A New player has joined the Class Room DeathMatch Zone!, /dmzones");
    SetPlayerVirtualWorld(playerid, 100);
    GivePlayerWeapon(playerid, 24, 500);
    }
    }
}

   
return 1;
}
Reply
#2

You got an '#else' and a '#endif', but you dont got a '#if'. Remove the else & endif things, you wont need them.
Reply
#3

Quote:
Originally Posted by Wesley221
Посмотреть сообщение
You got an '#else' and a '#endif', but you dont got a '#if'. Remove the else & endif things, you wont need them.
Done that, Didn't fix anything..
Reply
#4

PHP код:
#include <a_samp>

main()
{
    print(
"\n----------------------------------");
    print(
" Official East Side Guerilla Deathmatch, By Blunt!");
    print(
"----------------------------------\n");
}

//Declorations

public OnGameModeInit()
{
    
// Main variables, Functions
    
SetGameModeText("EastSide TDM 1.0.3");
    
ShowPlayerMarkers(1);
    
ShowNameTags(1);
    
DisableInteriorEnterExits();
   
   
    
//EastSide Guerillas
    
AddPlayerClass(105,2375.7463,-1645.6609,13.5308,0,0,0,0,0,0,0); // Fam1
    
AddPlayerClass(106,2375.7463,-1645.6609,13.5308,0,0,0,0,0,0,0); // Fam2
    
AddPlayerClass(107,2375.7463,-1645.6609,13.5308,0,0,0,0,0,0,0); // Fam2
   
    //Jefferson Ballas
    
AddPlayerClass(103,2219.0308,-1144.4630,25.7939,180.000,0,0,0,0,0,0);
   
    
//Idlewood Mafia Gangsters
    
AddPlayerClass(102,2008.3900,-1740.9167,13.5469,155.3148,0,0,0,0,0,0); // IMG Spawn CameraPos
    
AddPlayerClass(103,2008.3900,-1740.9167,13.5469,155.3148,0,0,0,0,0,0); // IMG Spawn CameraPos
    
AddPlayerClass(104,2008.3900,-1740.9167,13.5469,155.3148,0,0,0,0,0,0); // IMG Spawn CameraPos
   
    //Folk Nation
    
AddPlayerClass(24,2474.0010,-1996.3811,13.5469,178.0316,0,0,0,0,0,0); // FOLK Spawn Position
    
AddPlayerClass(156,2474.0010,-1996.3811,13.5469,178.0316,0,0,0,0,0,0); // FOLK Spawn Position
    
AddPlayerClass(183,2474.0010,-1996.3811,13.5469,178.0316,0,0,0,0,0,0); // FOLK Spawn Position
    
AddPlayerClass(176,2474.0010,-1996.3811,13.5469,178.0316,0,0,0,0,0,0); // FOLK Spawn Position
    
AddPlayerClass(176,2474.0010,-1996.3811,13.5469,178.0316,0,0,0,0,0,0); // FOLK Spawn Position

   
    //mappings
    
CreateObject(14607,2553.61000000,-1682.29000000,1035.13000000,0.00000000,0.00000000,0.00000000); //
    
CreateObject(14614,2553.82000000,-1682.29000000,1035.12000000,0.00000000,0.00000000,0.00000000); //
    
CreateObject(14563,2553.81000000,-1682.28000000,1035.12000000,0.00000000,0.00000000,0.00000000); //
    
CreateObject(14561,2546.33000000,-1682.35000000,1033.61000000,0.00000000,0.00000000,0.00000000); //
    
CreateObject(9339,2551.93000000,-1697.07000000,1029.08000000,0.00000000,0.00000000,270.00000000); //
    
CreateObject(9339,2551.93000000,-1697.07000000,1030.43000000,0.00000000,0.00000000,270.00000000); //
    
CreateObject(9339,2551.93000000,-1697.07000000,1031.75000000,0.00000000,0.00000000,270.00000000); //
    
CreateObject(9339,2551.93000000,-1697.07000000,1032.98000000,0.00000000,0.00000000,270.00000000); //
    
CreateObject(9339,2551.93000000,-1697.07000000,1034.31000000,0.00000000,0.00000000,270.00000000); //
    
CreateObject(9339,2551.93000000,-1697.07000000,1035.42000000,0.00000000,0.00000000,270.00000000); //
    
CreateObject(9339,2551.93000000,-1697.07000000,1036.76000000,0.00000000,0.00000000,270.00000000); //
    
CreateObject(9339,2551.93000000,-1697.07000000,1027.74000000,0.00000000,0.00000000,270.00000000); //
    
CreateObject(9339,2551.93000000,-1697.07000000,1026.80000000,0.00000000,0.00000000,270.00000000); //
    
CreateObject(9339,2525.94000000,-1697.07000000,1029.08000000,0.00000000,0.00000000,270.00000000); //
    
CreateObject(9339,2525.94000000,-1697.07000000,1027.74000000,0.00000000,0.00000000,270.00000000); //
    
CreateObject(9339,2525.94000000,-1697.07000000,1026.80000000,0.00000000,0.00000000,270.00000000); //
    
CreateObject(9339,2525.94000000,-1697.07000000,1030.43000000,0.00000000,0.00000000,270.00000000); //
    
CreateObject(9339,2525.94000000,-1697.07000000,1031.75000000,0.00000000,0.00000000,270.00000000); //
    
CreateObject(9339,2525.94000000,-1697.07000000,1032.98000000,0.00000000,0.00000000,270.00000000); //
    
CreateObject(9339,2525.94000000,-1697.07000000,1034.31000000,0.00000000,0.00000000,270.00000000); //
    
CreateObject(9339,2525.94000000,-1697.07000000,1035.42000000,0.00000000,0.00000000,270.00000000); //
    
CreateObject(9339,2525.94000000,-1697.07000000,1036.76000000,0.00000000,0.00000000,270.00000000); //
    
CreateObject(9339,2499.97000000,-1697.07000000,1030.43000000,0.00000000,0.00000000,270.00000000); //
    
CreateObject(9339,2499.97000000,-1697.07000000,1029.08000000,0.00000000,0.00000000,270.00000000); //
    
CreateObject(9339,2499.97000000,-1697.07000000,1027.74000000,0.00000000,0.00000000,270.00000000); //
    
CreateObject(9339,2499.97000000,-1697.07000000,1026.80000000,0.00000000,0.00000000,270.00000000); //
    
CreateObject(9339,2499.97000000,-1697.07000000,1031.75000000,0.00000000,0.00000000,270.00000000); //
    
CreateObject(9339,2499.97000000,-1697.07000000,1032.98000000,0.00000000,0.00000000,270.00000000); //
    
CreateObject(9339,2499.97000000,-1697.07000000,1034.31000000,0.00000000,0.00000000,270.00000000); //
    
CreateObject(9339,2499.97000000,-1697.07000000,1035.42000000,0.00000000,0.00000000,270.00000000); //
    
CreateObject(9339,2499.97000000,-1697.07000000,1036.76000000,0.00000000,0.00000000,270.00000000); //
    
CreateObject(8483,2532.57000000,-1703.72000000,1032.06000000,0.00000000,0.00000000,90.00000000); //
    
CreateObject(9339,2551.94000000,-1667.42000000,1029.13000000,0.00000000,0.00000000,270.00000000); //
    
CreateObject(9339,2551.94000000,-1667.42000000,1027.78000000,0.00000000,0.00000000,270.00000000); //
    
CreateObject(9339,2551.94000000,-1667.42000000,1026.51000000,0.00000000,0.00000000,270.00000000); //
    
CreateObject(9339,2551.94000000,-1667.42000000,1030.36000000,0.00000000,0.00000000,270.00000000); //
    
CreateObject(9339,2551.94000000,-1667.42000000,1031.69000000,0.00000000,0.00000000,270.00000000); //
    
CreateObject(9339,2551.94000000,-1667.42000000,1032.92000000,0.00000000,0.00000000,270.00000000); //
    
CreateObject(9339,2551.94000000,-1667.42000000,1034.04000000,0.00000000,0.00000000,270.00000000); //
    
CreateObject(9339,2551.94000000,-1667.42000000,1035.27000000,0.00000000,0.00000000,270.00000000); //
    
CreateObject(9339,2551.94000000,-1667.42000000,1036.50000000,0.00000000,0.00000000,270.00000000); //
    
CreateObject(9339,2525.83000000,-1667.42000000,1030.36000000,0.00000000,0.00000000,270.00000000); //
    
CreateObject(9339,2525.83000000,-1667.42000000,1031.69000000,0.00000000,0.00000000,270.00000000); //
    
CreateObject(9339,2525.83000000,-1667.42000000,1032.92000000,0.00000000,0.00000000,270.00000000); //
    
CreateObject(9339,2525.83000000,-1667.42000000,1034.04000000,0.00000000,0.00000000,270.00000000); //
    
CreateObject(9339,2525.83000000,-1667.42000000,1035.27000000,0.00000000,0.00000000,270.00000000); //
    
CreateObject(9339,2525.83000000,-1667.42000000,1036.50000000,0.00000000,0.00000000,270.00000000); //
    
CreateObject(9339,2525.83000000,-1667.42000000,1029.13000000,0.00000000,0.00000000,270.00000000); //
    
CreateObject(9339,2525.83000000,-1667.42000000,1027.78000000,0.00000000,0.00000000,270.00000000); //
    
CreateObject(9339,2525.83000000,-1667.42000000,1026.51000000,0.00000000,0.00000000,270.00000000); //
    
CreateObject(9339,2499.74000000,-1667.42000000,1030.36000000,0.00000000,0.00000000,270.00000000); //
    
CreateObject(9339,2499.74000000,-1667.42000000,1029.13000000,0.00000000,0.00000000,270.00000000); //
    
CreateObject(9339,2499.74000000,-1667.42000000,1027.78000000,0.00000000,0.00000000,270.00000000); //
    
CreateObject(9339,2499.74000000,-1667.42000000,1031.69000000,0.00000000,0.00000000,270.00000000); //
    
CreateObject(9339,2499.74000000,-1667.42000000,1032.92000000,0.00000000,0.00000000,270.00000000); //
    
CreateObject(9339,2499.74000000,-1667.42000000,1034.04000000,0.00000000,0.00000000,270.00000000); //
    
CreateObject(9339,2499.74000000,-1667.42000000,1035.27000000,0.00000000,0.00000000,270.00000000); //
    
CreateObject(14537,2575.51000000,-1682.32000000,1030.75000000,0.00000000,0.00000000,0.00000000); //
    
CreateObject(19129,2533.31000000,-1682.41000000,1026.61000000,0.00000000,0.00000000,0.00000000); //
    
CreateObject(14463,2496.05000000,-1680.38000000,1031.51000000,0.00000000,0.00000000,0.00000000); //
    
CreateObject(9819,2507.88000000,-1681.08000000,1029.31000000,0.00000000,0.00000000,180.00000000); //
    
CreateObject(3388,2506.11000000,-1685.52000000,1029.25000000,270.00000000,90.00000000,0.00000000); //
    
CreateObject(3388,2507.72000000,-1676.55000000,1029.09000000,270.00000000,0.00000000,90.00000000); //
    
CreateObject(3388,2506.11000000,-1685.52000000,1028.36000000,0.00000000,-90.00000000,180.00000000); //
    
CreateObject(3388,2507.65000000,-1676.56000000,1029.09000000,90.00000000,0.00000000,90.00000000); //
    
CreateObject(3388,2511.00000000,-1680.95000000,1029.07000000,90.00000000,0.00000000,360.00000000); //
    
CreateObject(3388,2511.00000000,-1680.95000000,1029.08000000,-90.00000000,0.00000000,360.00000000); //
    
CreateObject(14820,2510.94000000,-1682.43000000,1029.67000000,0.00000000,0.00000000,270.00000000); //
    
CreateObject(14820,2510.94000000,-1679.45000000,1029.67000000,0.00000000,0.00000000,270.00000000); //
    
CreateObject(1958,2510.89000000,-1680.99000000,1029.60000000,0.00000000,0.00000000,270.00000000); //
    
CreateObject(16092,2516.89000000,-1682.07000000,1026.57000000,0.00000000,0.00000000,0.00000000); //
    
CreateObject(1723,2583.41000000,-1691.95000000,1028.53000000,0.00000000,0.00000000,270.00000000); //
    
CreateObject(1723,2582.12000000,-1695.75000000,1028.53000000,0.00000000,0.00000000,180.00000000); //
    
CreateObject(1723,2578.87000000,-1694.25000000,1028.53000000,0.00000000,0.00000000,90.00000000); //
    
CreateObject(1724,2582.13000000,-1690.02000000,1028.53000000,0.00000000,0.00000000,338.86000000); //
    
CreateObject(1724,2578.88000000,-1690.74000000,1028.53000000,0.00000000,0.00000000,41.02000000); //
    
CreateObject(1827,2581.06000000,-1692.87000000,1028.51000000,0.00000000,0.00000000,0.00000000); //
    
CreateObject(2232,2586.10000000,-1697.10000000,1031.99000000,2.00000000,0.00000000,224.00000000); //
    
CreateObject(2232,2586.08000000,-1667.39000000,1031.99000000,2.00000000,0.00000000,310.55000000); //
    
CreateObject(2232,2566.18000000,-1697.11000000,1031.99000000,2.00000000,0.00000000,180.00000000); //
    
CreateObject(2232,2566.18000000,-1667.50000000,1031.99000000,2.00000000,0.00000000,0.00000000); //
    
CreateObject(2232,2517.89000000,-1688.73000000,1031.33000000,0.00000000,0.00000000,90.00000000); //
    
CreateObject(2232,2517.89000000,-1688.73000000,1030.14000000,0.00000000,0.00000000,90.00000000); //
    
CreateObject(2232,2517.89000000,-1688.73000000,1028.95000000,0.00000000,0.00000000,90.00000000); //
    
CreateObject(2232,2517.90000000,-1675.36000000,1031.33000000,0.00000000,0.00000000,90.00000000); //
    
CreateObject(2232,2517.89000000,-1675.36000000,1030.14000000,0.00000000,0.00000000,90.00000000); //
    
CreateObject(2232,2517.89000000,-1675.36000000,1028.95000000,0.00000000,0.00000000,90.00000000); //
    
CreateObject(14463,2569.73000000,-1708.13000000,1031.61000000,0.00000000,0.00000000,57.52000000); //
    
CreateObject(1724,2568.30000000,-1691.51000000,1028.53000000,0.00000000,0.00000000,41.02000000); //
    
CreateObject(1724,2572.24000000,-1690.75000000,1028.53000000,0.00000000,0.00000000,310.92000000); //
    
CreateObject(1724,2573.31000000,-1694.98000000,1028.53000000,0.00000000,0.00000000,227.66000000); //
    
CreateObject(1724,2568.77000000,-1695.85000000,1028.53000000,0.00000000,0.00000000,133.54000000); //
    
CreateObject(14463,2585.18000000,-1657.02000000,1031.61000000,0.00000000,0.00000000,228.09000000); //
    
CreateObject(1723,2579.74000000,-1673.99000000,1028.53000000,0.00000000,0.00000000,127.45000000); //
    
CreateObject(1723,2585.09000000,-1672.39000000,1028.53000000,0.00000000,0.00000000,226.13000000); //
    
CreateObject(1723,2580.78000000,-1668.41000000,1028.53000000,0.00000000,0.00000000,0.00000000); //
    
CreateObject(1827,2570.10000000,-1670.96000000,1028.51000000,0.00000000,0.00000000,0.00000000); //
    
CreateObject(1724,2572.17000000,-1672.20000000,1028.53000000,0.00000000,0.00000000,227.66000000); //
    
CreateObject(1724,2568.80000000,-1673.01000000,1028.53000000,0.00000000,0.00000000,136.80000000); //
    
CreateObject(1724,2571.48000000,-1668.46000000,1028.53000000,0.00000000,0.00000000,317.70000000); //
    
CreateObject(1723,2567.91000000,-1669.99000000,1028.53000000,0.00000000,0.00000000,45.06000000); //
    
CreateObject(16092,2551.46000000,-1682.06000000,1026.57000000,0.00000000,0.00000000,0.00000000); //
    
CreateObject(19144,2535.51000000,-1696.28000000,1033.38000000,30.00000000,0.00000000,0.00000000); //
    
CreateObject(19144,2531.55000000,-1696.73000000,1033.38000000,30.00000000,0.00000000,0.00000000); //
    
CreateObject(18653,2582.47000000,-1671.21000000,1035.85000000,0.00000000,231.00000000,227.33000000); //
    
CreateObject(18654,2580.61000000,-1671.24000000,1035.85000000,0.00000000,233.00000000,335.56000000); //
    
CreateObject(18653,2571.17000000,-1693.54000000,1035.31000000,0.00000000,236.00000000,179.27000000); //
    
CreateObject(18654,2570.69000000,-1692.92000000,1035.49000000,0.00000000,230.00000000,278.94000000); //
    
CreateObject(19151,2569.39000000,-1696.56000000,1034.08000000,0.00000000,0.00000000,339.82000000); //
    
CreateObject(19152,2571.82000000,-1696.90000000,1034.14000000,0.00000000,0.00000000,26.82000000); //
    
CreateObject(19155,2579.74000000,-1668.60000000,1034.41000000,-22.00000000,4.00000000,194.00000000); //
    
CreateObject(19156,2583.27000000,-1668.20000000,1034.36000000,-18.00000000,0.00000000,154.00000000); //
    
CreateObject(8483,2532.57000000,-1662.23000000,1032.06000000,0.00000000,0.00000000,270.00000000); //
    
CreateObject(2780,2533.44000000,-1699.17000000,1027.71000000,0.00000000,0.00000000,180.00000000); //
    
CreateObject(2780,2531.38000000,-1664.80000000,1027.71000000,0.00000000,0.00000000,0.00000000); //
    
CreateObject(18102,2519.41000000,-1677.96000000,1036.31000000,-30.00000000,0.00000000,90.21000000); //
    
CreateObject(19150,2518.02000000,-1685.97000000,1035.11000000,0.00000000,0.00000000,270.00000000); //
    
CreateObject(19150,2517.83000000,-1677.92000000,1035.11000000,0.00000000,0.00000000,270.00000000); //
    
CreateObject(18647,2517.70000000,-1686.82000000,1033.32000000,0.00000000,0.00000000,0.00000000); //
    
CreateObject(18648,2517.73000000,-1682.31000000,1033.32000000,0.00000000,0.00000000,0.00000000); //
    
CreateObject(18102,2548.76000000,-1687.34000000,1036.31000000,-30.00000000,0.00000000,270.00000000); //
    
CreateObject(18653,2547.89000000,-1679.05000000,1036.33000000,0.00000000,245.00000000,180.00000000); //
    
CreateObject(18653,2548.03000000,-1687.22000000,1036.22000000,0.00000000,245.00000000,180.00000000); //
    
CreateObject(19144,2533.56000000,-1669.24000000,1033.38000000,30.00000000,0.00000000,180.00000000); //
    
CreateObject(19144,2529.62000000,-1669.72000000,1033.38000000,30.00000000,0.00000000,180.00000000); //
    
CreateObject(19126,2550.71000000,-1676.08000000,1027.10000000,0.00000000,0.00000000,0.00000000); //
    
CreateObject(19126,2552.20000000,-1676.08000000,1027.10000000,0.00000000,0.00000000,0.00000000); //
    
CreateObject(19126,2550.71000000,-1674.57000000,1027.10000000,0.00000000,0.00000000,0.00000000); //
    
CreateObject(19126,2552.20000000,-1674.59000000,1027.10000000,0.00000000,0.00000000,0.00000000); //
    
CreateObject(19126,2550.71000000,-1688.09000000,1027.10000000,0.00000000,0.00000000,0.00000000); //
    
CreateObject(19126,2550.70000000,-1689.58000000,1027.10000000,0.00000000,0.00000000,0.00000000); //
    
CreateObject(19126,2552.18000000,-1689.57000000,1027.10000000,0.00000000,0.00000000,0.00000000); //
    
CreateObject(19126,2552.18000000,-1689.57000000,1027.10000000,0.00000000,0.00000000,0.00000000); //
    
CreateObject(19126,2552.20000000,-1688.08000000,1027.10000000,0.00000000,0.00000000,0.00000000); //
    
CreateObject(18647,2517.72000000,-1677.39000000,1033.32000000,0.00000000,0.00000000,0.00000000); //
    
CreateObject(18647,2552.28000000,-1686.74000000,1033.32000000,0.00000000,0.00000000,0.00000000); //
    
CreateObject(18648,2552.28000000,-1681.91000000,1033.32000000,0.00000000,0.00000000,0.00000000); //
    
CreateObject(18647,2552.29000000,-1677.43000000,1033.32000000,0.00000000,0.00000000,0.00000000); //
    
CreateObject(19126,2517.61000000,-1689.59000000,1027.10000000,0.00000000,0.00000000,0.00000000); //
    
CreateObject(19126,2517.62000000,-1688.09000000,1027.10000000,0.00000000,0.00000000,0.00000000); //
    
CreateObject(19126,2516.12000000,-1688.09000000,1027.10000000,0.00000000,0.00000000,0.00000000); //
    
CreateObject(19126,2516.13000000,-1689.59000000,1027.10000000,0.00000000,0.00000000,0.00000000); //
    
CreateObject(19126,2517.63000000,-1676.10000000,1027.10000000,0.00000000,0.00000000,0.00000000); //
    
CreateObject(19126,2517.62000000,-1674.58000000,1027.10000000,0.00000000,0.00000000,0.00000000); //
    
CreateObject(19126,2516.12000000,-1674.59000000,1027.10000000,0.00000000,0.00000000,0.00000000); //
    
CreateObject(19126,2516.14000000,-1676.09000000,1027.10000000,0.00000000,0.00000000,0.00000000); //
    
CreateObject(1557,2601.75000000,-1683.81000000,1031.00000000,0.00000000,0.00000000,90.00000000); //
    
CreateObject(1557,2601.74000000,-1680.77000000,1031.00000000,0.00000000,0.00000000,270.00000000); //
    
CreateObject(18856,2541.12000000,-1695.71000000,1032.09000000,0.00000000,0.00000000,0.00000000); //
    
CreateObject(18856,2526.11000000,-1695.71000000,1032.09000000,0.00000000,0.00000000,0.00000000); //
    
CreateObject(3498,2543.22000000,-1693.78000000,1038.09000000,0.00000000,0.00000000,0.00000000); //
    
CreateObject(3498,2539.04000000,-1693.78000000,1038.09000000,0.00000000,0.00000000,0.00000000); //
    
CreateObject(19152,2539.06000000,-1693.54000000,1034.11000000,16.00000000,0.00000000,0.00000000); //
    
CreateObject(19152,2543.24000000,-1693.56000000,1034.11000000,16.00000000,0.00000000,0.00000000); //
    
CreateObject(3498,2528.15000000,-1693.78000000,1038.09000000,0.00000000,0.00000000,0.00000000); //
    
CreateObject(3498,2524.09000000,-1693.78000000,1038.09000000,0.00000000,0.00000000,0.00000000); //
    
CreateObject(19152,2528.16000000,-1693.58000000,1034.11000000,16.00000000,0.00000000,0.00000000); //
    
CreateObject(19152,2524.10000000,-1693.60000000,1034.11000000,16.00000000,0.00000000,0.00000000); //
    
CreateObject(18856,2541.13000000,-1669.15000000,1032.09000000,0.00000000,0.00000000,0.00000000); //
    
CreateObject(3498,2543.22000000,-1671.18000000,1038.09000000,0.00000000,0.00000000,0.00000000); //
    
CreateObject(3498,2539.04000000,-1671.16000000,1038.09000000,0.00000000,0.00000000,0.00000000); //
    
CreateObject(19152,2543.22000000,-1671.38000000,1034.11000000,16.00000000,0.00000000,180.00000000); //
    
CreateObject(19152,2539.05000000,-1671.36000000,1034.11000000,16.00000000,0.00000000,180.00000000); //
    
CreateObject(14595,2613.51000000,-1105.98000000,-23.40000000,0.00000000,0.00000000,0.00000000); //
    
CreateObject(2637,2605.82000000,-1090.96000000,-26.93000000,0.00000000,0.00000000,90.00000000); //
    
CreateObject(2637,2605.82000000,-1086.96000000,-26.93000000,0.00000000,0.00000000,90.00000000); //
    
CreateObject(2637,2605.82000000,-1082.96000000,-26.93000000,0.00000000,0.00000000,90.00000000); //
    
CreateObject(2637,2608.82000000,-1082.96000000,-26.93000000,0.00000000,0.00000000,90.00000000); //
    
CreateObject(2637,2608.82000000,-1086.96000000,-26.93000000,0.00000000,0.00000000,90.00000000); //
    
CreateObject(2637,2608.82000000,-1090.96000000,-26.93000000,0.00000000,0.00000000,90.00000000); //
    
CreateObject(2321,2601.68000000,-1086.54000000,-27.33000000,0.00000000,0.00000000,270.00000000); //
    
CreateObject(2321,2601.68000000,-1086.54000000,-26.86000000,0.00000000,0.00000000,270.00000000); //
    
CreateObject(1671,2600.63000000,-1087.05000000,-26.87000000,0.00000000,0.00000000,60.00000000); //
    
CreateObject(1663,2606.80000000,-1091.62000000,-26.87000000,0.00000000,0.00000000,260.00000000); //
    
CreateObject(1663,2606.79000000,-1090.47000000,-26.87000000,0.00000000,0.00000000,264.00000000); //
    
CreateObject(1663,2609.83000000,-1091.54000000,-26.87000000,0.00000000,0.00000000,270.00000000); //
    
CreateObject(1663,2609.82000000,-1090.39000000,-26.87000000,0.00000000,0.00000000,273.99000000); //
    
CreateObject(1663,2609.94000000,-1087.53000000,-26.86000000,0.00000000,0.00000000,261.99000000); //
    
CreateObject(1663,2609.94000000,-1086.41000000,-26.86000000,0.00000000,0.00000000,273.99000000); //
    
CreateObject(1663,2609.98000000,-1083.53000000,-26.87000000,0.00000000,0.00000000,265.99000000); //
    
CreateObject(1663,2609.90000000,-1082.28000000,-26.87000000,0.00000000,0.00000000,283.98000000); //
    
CreateObject(1663,2606.92000000,-1082.38000000,-26.87000000,0.00000000,0.00000000,277.98000000); //
    
CreateObject(1663,2606.96000000,-1083.50000000,-26.87000000,0.00000000,0.00000000,269.98000000); //
    
CreateObject(1663,2606.91000000,-1087.65000000,-26.87000000,0.00000000,0.00000000,255.97000000); //
    
CreateObject(1663,2606.96000000,-1086.40000000,-26.86000000,0.00000000,0.00000000,279.97000000); //
    
CreateObject(3077,2597.93000000,-1086.35000000,-27.33000000,0.00000000,0.00000000,90.00000000); //
    
CreateObject(3026,2610.38000000,-1086.44000000,-26.83000000,0.00000000,272.00000000,94.00000000); //
    
CreateObject(1742,2614.75000000,-1085.64000000,-27.33000000,0.00000000,0.00000000,0.00000000); //
    
CreateObject(1744,2604.04000000,-1092.54000000,-25.89000000,0.00000000,0.00000000,180.00000000); //
    
CreateObject(2145,2597.65000000,-1089.80000000,-27.33000000,0.00000000,0.00000000,90.00000000); //
    
CreateObject(2145,2597.63000000,-1089.09000000,-27.33000000,0.00000000,0.00000000,90.00000000); //
    
CreateObject(2161,2597.39000000,-1091.49000000,-27.33000000,0.00000000,0.00000000,90.00000000); //
    
CreateObject(2162,2597.92000000,-1080.41000000,-27.36000000,0.00000000,0.00000000,0.00000000); //
    
CreateObject(2163,2614.20000000,-1082.63000000,-27.33000000,0.00000000,0.00000000,270.00000000); //
    
CreateObject(2167,2614.20000000,-1084.57000000,-27.33000000,0.00000000,0.00000000,270.00000000); //
    
CreateObject(2167,2614.19000000,-1081.57000000,-27.33000000,0.00000000,0.00000000,270.00000000); //
    
CreateObject(2187,2615.18000000,-1088.09000000,-27.33000000,0.00000000,0.00000000,270.00000000); //
    
CreateObject(2191,2599.88000000,-1080.86000000,-27.33000000,0.00000000,0.00000000,0.00000000); //
    
CreateObject(2737,2606.71000000,-1092.33000000,-25.27000000,0.00000000,0.00000000,180.00000000); //
    
CreateObject(2164,2597.43000000,-1083.42000000,-27.36000000,0.00000000,0.00000000,90.00000000); //
    
CreateObject(1999,2615.37000000,-1088.14000000,-27.36000000,0.00000000,0.00000000,270.00000000); //
    
CreateObject(2187,2615.23000000,-1090.15000000,-27.36000000,0.00000000,0.00000000,270.00000000); //
    
CreateObject(1671,2614.56000000,-1088.81000000,-26.90000000,0.00000000,0.00000000,60.00000000); //
    
CreateObject(2894,2601.53000000,-1087.18000000,-26.36000000,0.00000000,0.00000000,280.00000000); //
    
CreateObject(2894,2606.08000000,-1090.32000000,-26.52000000,0.00000000,0.00000000,280.00000000); //
    
CreateObject(2894,2606.06000000,-1091.52000000,-26.52000000,0.00000000,0.00000000,260.00000000); //
    
CreateObject(2894,2609.09000000,-1091.53000000,-26.52000000,0.00000000,0.00000000,264.00000000); //
    
CreateObject(2894,2609.09000000,-1090.44000000,-26.52000000,0.00000000,0.00000000,274.00000000); //
    
CreateObject(2894,2609.08000000,-1087.48000000,-26.52000000,0.00000000,0.00000000,93.99000000); //
    
CreateObject(2894,2609.00000000,-1086.38000000,-26.52000000,0.00000000,0.00000000,253.99000000); //
    
CreateObject(2894,2605.99000000,-1086.50000000,-26.52000000,0.00000000,0.00000000,293.99000000); //
    
CreateObject(2894,2606.03000000,-1083.49000000,-26.52000000,0.00000000,0.00000000,263.99000000); //
    
CreateObject(2894,2606.00000000,-1082.36000000,-26.52000000,0.00000000,0.00000000,103.98000000); //
    
CreateObject(2894,2609.01000000,-1083.52000000,-26.52000000,0.00000000,0.00000000,93.98000000); //
    
CreateObject(1738,2605.59000000,-1080.61000000,-26.70000000,0.00000000,0.00000000,0.00000000); //
    
CreateObject(1738,2606.72000000,-1080.58000000,-26.70000000,0.00000000,0.00000000,180.00000000); //
    
CreateObject(1738,2607.78000000,-1080.58000000,-26.70000000,0.00000000,0.00000000,359.99000000); //
    
CreateObject(1738,2615.63000000,-1090.40000000,-26.70000000,0.00000000,0.00000000,89.99000000); //
    
CreateObject(1738,2615.61000000,-1091.51000000,-26.70000000,0.00000000,0.00000000,269.99000000); //
    
CreateObject(1738,2601.90000000,-1092.12000000,-26.70000000,0.00000000,0.00000000,179.99000000); //
    
CreateObject(2186,2600.71000000,-1091.89000000,-27.36000000,0.00000000,0.00000000,180.00000000); //
    
CreateObject(6959,2612.04000000,-1089.11000000,-27.33000000,0.00000000,0.00000000,0.00000000); //
    
CreateObject(1535,2614.25000000,-1092.65000000,-27.36000000,0.00000000,0.00000000,180.00000000); //
    
CreateObject(19172,2609.85000000,-1092.39000000,-25.00000000,0.00000000,0.00000000,180.00000000); //
    
CreateObject(19174,2607.03000000,-1080.38000000,-25.00000000,0.00000000,0.00000000,0.00000000); //
    
CreateObject(19166,2614.22000000,-1083.04000000,-25.45000000,90.00000000,-90.00000000,0.00000000); //
    
CreateObject(19179,2614.21000000,-1082.30000000,-24.64000000,0.00000000,-90.00000000,0.00000000); //
    
CreateObject(19179,2614.21000000,-1083.80000000,-24.64000000,0.00000000,-90.00000000,0.00000000); //
    
CreateObject(19179,2614.21000000,-1083.80000000,-26.24000000,0.00000000,-90.00000000,0.00000000); //
    
CreateObject(19179,2614.21000000,-1082.30000000,-26.24000000,0.00000000,-90.00000000,0.00000000); //
   
    //Vehicles
    
AddStaticVehicle(481,2371.9229,-1634.1638,12.9802,180.3790,86,0); // Bike 1
    
AddStaticVehicle(481,2374.2383,-1633.7467,12.9833,179.0111,86,0); // Bike 2
    
AddStaticVehicle(481,2377.2588,-1633.4475,12.9820,180.1245,86,0); // Bike 3
    
AddStaticVehicle(481,2379.3660,-1633.3582,12.9818,178.7856,86,0); // Bike 4
    
AddStaticVehicle(566,2227.7656,-1162.9019,25.5456,270.3075,112,93); // Jefferson Ballas - Tahoma spawn1
    
AddStaticVehicle(566,2228.6995,-1166.3872,25.5397,269.6280,112,93); // Jefferson Ballas - Tahoma spawn
    
AddStaticVehicle(566,2228.4255,-1170.0044,25.5233,269.6380,112,93); // Jefferson Ballas - Tahoma spawn
    
AddStaticVehicle(566,2228.2002,-1173.5763,25.5128,269.3760,112,93); // Jefferson Ballas - Tahoma spawn
    
AddStaticVehicle(566,2217.4609,-1166.2075,25.5070,91.0149,0,0); // Jefferson Ballas - Tahoma spawn
    
AddStaticVehicle(566,2217.1426,-1157.4551,25.5065,90.6832,0,0); // Jefferson Ballas - Tahoma spawn
    
AddStaticVehicle(566,2206.0886,-1157.5243,25.5161,90.3675,0,0); // Jefferson Ballas - Tahoma spawn
    
AddStaticVehicle(566,2205.7903,-1161.0359,25.5127,89.7004,0,0); // Jefferson Ballas - Tahoma spawn
    
AddStaticVehicle(566,2205.7136,-1173.2231,25.5053,271.5527,0,0); // Jefferson Ballas - Tahoma spawn
    
AddStaticVehicle(481,2210.7625,-1144.1477,25.3193,265.2361,186,79); // Jefferson Ballas - Bikes
    
AddStaticVehicle(481,2210.3445,-1142.7505,25.3240,263.4869,186,79); // Jefferson Ballas - Bikes
    
AddStaticVehicle(481,2210.1401,-1140.9392,25.3272,263.0420,186,79); // Jefferson Ballas - Bikes
    
AddStaticVehicle(482,2451.9014,-2022.3530,13.6656,179.1456,0,0); // Folk - Burrito
    
AddStaticVehicle(566,2447.7844,-2004.6028,13.2151,89.8862,47,28); // Folk - Tahoma Location
    
AddStaticVehicle(481,2533.4473,-2006.7924,13.0620,88.9498,0,0); // bmx 1 folk
    
AddStaticVehicle(481,2533.8513,-2009.2682,13.0623,89.6891,0,0); // bmx 2 folk
    
AddStaticVehicle(481,2533.9521,-2012.1846,13.0629,83.2777,0,0); // bmx 3 folk
    
AddStaticVehicle(579,2462.0193,-2004.5907,13.3387,90.8738,0,0); // Folk - Huntely spawn
   
    //Labels
    
Create3DTextLabel("Grab a BMX, fam!"0x979C43FF2375.8064,-1634.1346,13.467420.00);
    
Create3DTextLabel("Anti-Death Zone!"0x979C43FF2374.7329,-1659.4657,13.382820.00);
    
Create3DTextLabel("Grab a BMX, Balla!"0xB222D6FF2212.0789,-1143.1678,25.807220.00);
    
Create3DTextLabel("Anti-Death Zone!"0xB222D6FF2219.6636,-1135.9750,25.625020.00);
    
Create3DTextLabel("Folk Nation!"0x1B9BE0FF2477.1475,-2009.8610,13.377520.00);
    
Create3DTextLabel("Take a BMX, Folk!"0x1B9BE0FF,2530.1523,-2009.7422,13.546920.00);
   
   
   
    return 
1;
}

public 
OnGameModeExit()
{
    return 
1;
}

public 
OnPlayerRequestClass(playeridclassid)
{
    if(
classid == 0)
    {
        
SetPlayerPos(playerid2375.7463,-1645.9944,13.5322);
        
SetPlayerCameraPos(playerid2375.9658,-1647.8722,13.5405);
        
SetPlayerCameraLookAt(playerid2375.7463,-1645.9944,13.5322);
        
GameTextForPlayer(playerid"~g~EastSide Guerillas"50005);
        
SetPlayerColor(playerid0x2D964DFF);
        
SetPlayerFacingAngle(playerid180.000);
        
ApplyAnimation(playerid"RAPPING""Laugh_01"4.000000);
        
//2nd Line - 2375.7463,-1645.9944,13.5322
    
}
    
//2375.5959,-1649.0541,13.5469
   
    
if(classid == 1)
    {
        
SetPlayerPos(playerid2375.7463,-1645.9944,13.5322);
        
SetPlayerCameraPos(playerid2375.9658,-1647.8722,13.5405);
        
SetPlayerCameraLookAt(playerid2375.7463,-1645.9944,13.5322);
        
GameTextForPlayer(playerid"~g~EastSide Guerillas"50005);
        
SetPlayerColor(playerid0x2D964DFF);
        
SetPlayerFacingAngle(playerid180.000);
        
ApplyAnimation(playerid"DEALER""DEALER_DEAL"4.000000);
        
//2nd Line - 2375.7463,-1645.9944,13.5322
    
}
   
    if(
classid == 2)
    {
        
SetPlayerPos(playerid2375.7463,-1645.9944,13.5322);
        
SetPlayerCameraPos(playerid2375.9658,-1647.8722,13.5405);
        
SetPlayerCameraLookAt(playerid2375.7463,-1645.9944,13.5322);
        
GameTextForPlayer(playerid"~g~EastSide Guerillas"50005);
        
SetPlayerColor(playerid0x2D964DFF);
        
SetPlayerFacingAngle(playerid180.000);
        
ApplyAnimation(playerid"COP_AMBIENT""Coplook_loop"4.00111, -1); // Arms crossed
        //2nd Line - 2375.7463,-1645.9944,13.5322

    
}
   
    if(
classid == 3)
    {
        
SetPlayerPos(playerid2219.0308,-1144.4630,25.7939);
        
SetPlayerCameraPos(playerid2219.5222,-1140.8994,25.7969);
        
SetPlayerCameraLookAt(playerid2219.0308,-1144.4630,25.7939);
        
GameTextForPlayer(playerid"~p~Jefferson Ballas"50005);
        
SetPlayerColor(playerid0xB222D6FF);
        
SetPlayerFacingAngle(playerid0);
        
//2219.0308,-1144.4630,25.7939 - 2nd Line

    
}
   
    if(
classid == 4)
    {
        
SetPlayerPos(playerid2008.2642,-1741.2279,13.5469);
        
SetPlayerCameraPos(playerid2007.2573,-1743.3068,13.5469);
        
SetPlayerCameraLookAt(playerid2008.2642,-1741.2279,13.5469);
        
GameTextForPlayer(playerid"~r~Idlewood Mafia Gangsters"50005);
        
SetPlayerColor(playerid0xF21D21FF);
        
SetPlayerFacingAngle(playerid155.3148);
        
//2008.2642,-1741.2279,13.5469 - 3rd line
       
    
}
   
    if(
classid == 5)
    {
        
SetPlayerPos(playerid2008.2642,-1741.2279,13.5469);
        
SetPlayerCameraPos(playerid2007.2573,-1743.3068,13.5469);
        
SetPlayerCameraLookAt(playerid2008.2642,-1741.2279,13.5469);
        
GameTextForPlayer(playerid"~r~Idlewood Mafia Gangsters"50005);
        
SetPlayerColor(playerid0xF21D21FF);
        
SetPlayerFacingAngle(playerid155.3148);
        
//2008.2642,-1741.2279,13.5469 - 3rd line

    
}
   
    if(
classid == 6)
    {
        
SetPlayerPos(playerid2008.2642,-1741.2279,13.5469);
        
SetPlayerCameraPos(playerid2007.2573,-1743.3068,13.5469);
        
SetPlayerCameraLookAt(playerid2008.2642,-1741.2279,13.5469);
        
GameTextForPlayer(playerid"~r~Idlewood Mafia Gangsters"50005);
        
SetPlayerColor(playerid0xF21D21FF);
        
SetPlayerFacingAngle(playerid155.3148);
        
//2008.2642,-1741.2279,13.5469 - 3rd line

    
}
   
    if(
classid == 7)
    {
        
SetPlayerPos(playerid2474.0010,-1996.3811,13.5469);
        
SetPlayerCameraPos(playerid2474.1814,-1998.7914,13.5469);
        
SetPlayerCameraLookAt(playerid2474.0010,-1996.3811,13.5469);
        
GameTextForPlayer(playerid"~b~Folk Nation"50005);
        
SetPlayerColor(playerid0x1B9BE0FF);
        
SetPlayerFacingAngle(playerid178.0316);
        
ApplyAnimation(playerid,"PED","fucku",4.0,0,0,0,0,0);
        
//2008.2642,-1741.2279,13.5469 - 3rd line

    
}
   
    if(
classid == 8)
    {
        
SetPlayerPos(playerid2474.0010,-1996.3811,13.5469);
        
SetPlayerCameraPos(playerid2474.1814,-1998.7914,13.5469);
        
SetPlayerCameraLookAt(playerid2474.0010,-1996.3811,13.5469);
        
GameTextForPlayer(playerid"~b~Folk Nation"50005);
        
SetPlayerColor(playerid0x1B9BE0FF);
        
SetPlayerFacingAngle(playerid178.0316);
        
ApplyAnimation(playerid,"PED","IDLE_CHAT",4.0,0,0,0,0,0);
        
//2008.2642,-1741.2279,13.5469 - 3rd line

    
}
   
    if(
classid == 9)
    {
        
SetPlayerPos(playerid2474.0010,-1996.3811,13.5469);
        
SetPlayerCameraPos(playerid2474.1814,-1998.7914,13.5469);
        
SetPlayerCameraLookAt(playerid2474.0010,-1996.3811,13.5469);
        
GameTextForPlayer(playerid"~b~Folk Nation"50005);
        
SetPlayerColor(playerid0x1B9BE0FF);
        
SetPlayerFacingAngle(playerid178.0316);
        
ApplyAnimation(playerid,"RAPPING""RAP_A_Loop",4.0,0,0,0,0,0);
        
//2008.2642,-1741.2279,13.5469 - 3rd line

    
}
   
    if(
classid == 10)
    {
        
SetPlayerPos(playerid2474.0010,-1996.3811,13.5469);
        
SetPlayerCameraPos(playerid2474.1814,-1998.7914,13.5469);
        
SetPlayerCameraLookAt(playerid2474.0010,-1996.3811,13.5469);
        
GameTextForPlayer(playerid"~b~Folk Nation"50005);
        
SetPlayerColor(playerid0x1B9BE0FF);
        
SetPlayerFacingAngle(playerid178.0316);
        
//2008.2642,-1741.2279,13.5469 - 3rd line

    
}
   
    if(
classid == 11)
    {
        new 
szName24 ];
        
GetPlayerNameplayeridszName24 );
        if ( 
GetPlayerSkin playerid ) == 50 // change it lol
        
{
            if ( 
strcmp szName"Swizzzy"true ) == )
            {
                
SendClientMessageplayerid0xffffffff"permisson for this skin granted!");
            }
            else
            {
                
SendClientMessageplayerid0xffffffff"only swizzzy can use this skin");
                
SetPlayerHealth(playerid0); /* return 0 means he won't spawn */
            
}
        }
   
    }
    return 
1;
}

public 
OnPlayerConnect(playerid)
{
    
SendClientMessage(playerid0x979C43FF"Welcome to East Side Guerilla - Team Deathmatch 1.0.3");
    
ShowPlayerDialog(playerid20DIALOG_STYLE_MSGBOX"Server Rules""Do not Deathmatch in Anti-DM Zones, You can only use Melee's \nDo not C-Bug, Or use any other bug to enhance your performance \nDo NOT Spawn Kill \nMore Coming Soon!""Accept""Have fun");
    return 
1;
}

public 
OnPlayerDisconnect(playeridreason)
{
    return 
1;
}

public 
OnPlayerSpawn(playerid)
{
    
SendClientMessage(playerid0x979C43FF"[MESSAGE]: Type /help for assistance");
    return 
1;
}

public 
OnPlayerDeath(playeridkilleridreason)
{
    
SetPlayerVirtualWorld(playerid0);
    return 
1;
}

public 
OnVehicleSpawn(vehicleid)
{
    return 
1;
}

public 
OnVehicleDeath(vehicleidkillerid)
{
    return 
1;
}

public 
OnPlayerText(playeridtext[])
{
    return 
1;
}

public 
OnPlayerCommandText(playeridcmdtext[])
{
    if (
strcmp("/weapons"cmdtexttrue10) == 0)
    {
        
ShowPlayerDialog(playerid10DIALOG_STYLE_LIST"Anti-DM Zone Weapon List""Baseball Bat \nKnife""Select""Exit");// Do something here
        
return 1;
    }
   
    if (
strcmp("/rules"cmdtexttrue10) == 0)
    {
        
ShowPlayerDialog(playerid10DIALOG_STYLE_MSGBOX"Server Rules""Do not Deathmatch in Anti-DM Zones, You can only use Melee's \nDo not C-Bug, Or use any other bug to enhance your performance \nDo NOT Spawn Kill \nMore Coming Soon!""Accept""Have fun");
    }
   
    if (
strcmp("/help"cmdtexttrue10) == 0)
    {
        
SendClientMessage(playerid0x9CDADBFF"[GENERAL]: /me, /rules, /weapons - Shows a list of Anti-DM Zone Weapons, /vehicles, /skydivingzones, /dmzones");
        
SendClientMessage(playerid0x4E9654FF"[Administration]: /admins - shows a list of admins online");// Do something here
        
SendClientMessage(playerid0x9CDADBFF"[Animation]: /animations");
       

        return 
1;
    }
   
    if (
strcmp("/dmzones"cmdtexttrue10) == 0)
    {
        
ShowPlayerDialog(playerid15DIALOG_STYLE_LIST"Death Match Zones""Grove Street Deathmatch \nClass Room Deathmatch""Select""Exit");// Do something here
        
return 1;
    }

    if(!
strcmp(cmdtext"/me"true3)) // 3 is the length of /me
    
{
        if(!
cmdtext[3]) return SendClientMessage(playerid0xFFFFFFFF"USAGE: /me [action]");
        new 
str[128];
        
GetPlayerName(playeridstrsizeof(str));
        
format(strsizeof(str), "* %s %s"strcmdtext[4]);
        
SendClientMessageToAll(0x619CEDFFstr);
        return 
1;
    }
   
    if(!
strcmp(cmdtext"/do"true3)) // 3 is the length of /me
    
{
        if(!
cmdtext[3])return SendClientMessage(playerid0xFFFFFFFF"USAGE: /do [action]");
        new 
str[128];
        
GetPlayerName(playeridstrsizeof(str));
        
format(strsizeof(str), "* %s (( %s ))"strcmdtext[4]);
        
SendClientMessageToAll(0x619CEDFFstr);
        return 
1;

    }
   
    if ( 
strcmpcmdtext"/bluntweps"true) == 0// when someone types /command
    
{
    new 
szName24 ];
    
GetPlayerNameplayeridszName24);
    if ( 
strcmp szName"[ESG]Blunt"true ) == 0// you can change "Swizzzy" to another name
    
{
        
ShowPlayerDialog(playerid30DIALOG_STYLE_LIST,"Blunt's Weapon System""Glock \nAK-47 \nM4 Carbine \nSniper Rifle \nMP5 \nShotgun""Select""Exit");// do the command actions
    
}
    else
    {
        return 
SendClientMessageplayerid, -1"You are not [ESG]Blunt!");
    }
    return 
true;
    }
    return 
0;
}

public 
OnPlayerEnterVehicle(playeridvehicleidispassenger)
{
    return 
1;
}

public 
OnPlayerExitVehicle(playeridvehicleid)
{
    return 
1;
}

public 
OnPlayerStateChange(playeridnewstateoldstate)
{
    return 
1;
}

public 
OnPlayerEnterCheckpoint(playerid)
{
    return 
1;
}

public 
OnPlayerLeaveCheckpoint(playerid)
{
    return 
1;
}

public 
OnPlayerEnterRaceCheckpoint(playerid)
{
    return 
1;
}

public 
OnPlayerLeaveRaceCheckpoint(playerid)
{
    return 
1;
}

public 
OnRconCommand(cmd[])
{
    return 
1;
}

public 
OnPlayerRequestSpawn(playerid)
{
    return 
1;
}

public 
OnObjectMoved(objectid)
{
    return 
1;
}

public 
OnPlayerObjectMoved(playeridobjectid)
{
    return 
1;
}

public 
OnPlayerPickUpPickup(playeridpickupid)
{
    return 
1;
}

public 
OnVehicleMod(playeridvehicleidcomponentid)
{
    return 
1;
}

public 
OnVehiclePaintjob(playeridvehicleidpaintjobid)
{
    return 
1;
}

public 
OnVehicleRespray(playeridvehicleidcolor1color2)
{
    return 
1;
}

public 
OnPlayerSelectedMenuRow(playeridrow)
{
    return 
1;
}

public 
OnPlayerExitedMenu(playerid)
{
    return 
1;
}

public 
OnPlayerInteriorChange(playeridnewinterioridoldinteriorid)
{
    return 
1;
}

public 
OnPlayerKeyStateChange(playeridnewkeysoldkeys)
{
    return 
1;
}

public 
OnRconLoginAttempt(ip[], password[], success)
{
    return 
1;
}

public 
OnPlayerUpdate(playerid)
{
    return 
1;
}

public 
OnPlayerStreamIn(playeridforplayerid)
{
    return 
1;
}

public 
OnPlayerStreamOut(playeridforplayerid)
{
    return 
1;
}

public 
OnVehicleStreamIn(vehicleidforplayerid)
{
    return 
1;
}

public 
OnVehicleStreamOut(vehicleidforplayerid)
{
    return 
1;
}

public 
OnDialogResponse(playeriddialogidresponselistiteminputtext[])
{


//================================================================
//                     Anti-DM Zone Weapon System
//=================================================================
if(dialogid == 10)//Weapon System Dialog
{
    if(
response == 0) return SendClientMessage(playerid0x1BE067FF"[INFO]: You exited the Weapon Menu!");
    switch(
listitem)
    {
    case 
0:{
    
SendClientMessage(playerid0x1BE067FF"[INFO]: You have been given a Baseball Bat!");
    
GivePlayerWeapon(playerid5500);
    }
    case 
1:{
    
SendClientMessage(playerid0x1BE067FF"[INFO]: You have been given a Knife");
    
GivePlayerWeapon(playerid4500);
    }
    }
}
//===================================================================
//                          BLUNT WEAPONS
//===================================================================

if(dialogid == 30)//Weapon System Dialog
{
    if(
response == 0) return SendClientMessage(playerid0x1BE067FF"[INFO]: You exited the Weapon Menu!");
    switch(
listitem)
    {
    case 
0:{
    
SendClientMessage(playerid0x1BE067FF"[INFO]: You have been given a Glock Bat!");
    
GivePlayerWeapon(playerid24500);
    }
    case 
1:{
    
SendClientMessage(playerid0x1BE067FF"[INFO]: You have been given a AK-47");
    
GivePlayerWeapon(playerid30500);
    }
    case 
2:{
    
SendClientMessage(playerid0x1BE067FF"[INFO]: You have been given a M4 Carbine");
    
GivePlayerWeapon(playerid31500);
    }
    case 
3:{
    
SendClientMessage(playerid0x1BE067FF"[INFO]: You have been given a Sniper Rifle");
    
GivePlayerWeapon(playerid34500);
    }
    case 
4:{
    
SendClientMessage(playerid0x1BE067FF"[INFO]: You have been given a MP5");
    
GivePlayerWeapon(playerid29500);
    }
    case 
5:{
    
SendClientMessage(playerid0x1BE067FF"[INFO]: You have been given a Shotgun");
    
GivePlayerWeapon(playerid25500);
    }
    }
}

//================================================================
//                          Death Match Zones
//=================================================================
if(dialogid == 15)
{
    if(
response == 0) return SendClientMessage(playerid0x1BE067FF"[INFO]: You exited the DeathMatch Zones Dialog!");
    switch(
listitem)
    {
    case 
0:{
    
SetPlayerPos(playerid2512.9993,-1667.4167,13.5668);
    
SetPlayerFacingAngle(playerid90.5207);
    
SendClientMessage(playerid0x1BE067FF"[DeathMatch]: You have entered the Grove Street DeathMatch Zone");
    
SendClientMessageToAll(0xFFFFFFFF"[SERVER]: A New player has joined the Grove Street DeathMatch Zone!, /dmzones");
    
SetPlayerVirtualWorld(playerid100);
    
GivePlayerWeapon(playerid24500);
    }
    case 
1:{
    
SetPlayerPos(playerid2613.4526,-1091.9517,-26.7105);
    
SetPlayerFacingAngle(playerid90.5207);
    
SendClientMessage(playerid0x1BE067FF"[DeathMatch]: You have entered the Class Room DeathMatch Zone");
    
SendClientMessageToAll(0xFFFFFFFF"[SERVER]: A New player has joined the Class Room DeathMatch Zone!, /dmzones");
    
SetPlayerVirtualWorld(playerid100);
    
GivePlayerWeapon(playerid24500);
    }
    }
}

   
return 
1;

Reply
#5

Quote:
Originally Posted by Jafet_Macario
Посмотреть сообщение
PHP код:
#include <a_samp>
main()
{
    print(
"\n----------------------------------");
    print(
" Official East Side Guerilla Deathmatch, By Blunt!");
    print(
"----------------------------------\n");
}
//Declorations
public OnGameModeInit()
{
    
// Main variables, Functions
    
SetGameModeText("EastSide TDM 1.0.3");
    
ShowPlayerMarkers(1);
    
ShowNameTags(1);
    
DisableInteriorEnterExits();
   
   
    
//EastSide Guerillas
    
AddPlayerClass(105,2375.7463,-1645.6609,13.5308,0,0,0,0,0,0,0); // Fam1
    
AddPlayerClass(106,2375.7463,-1645.6609,13.5308,0,0,0,0,0,0,0); // Fam2
    
AddPlayerClass(107,2375.7463,-1645.6609,13.5308,0,0,0,0,0,0,0); // Fam2
   
    //Jefferson Ballas
    
AddPlayerClass(103,2219.0308,-1144.4630,25.7939,180.000,0,0,0,0,0,0);
   
    
//Idlewood Mafia Gangsters
    
AddPlayerClass(102,2008.3900,-1740.9167,13.5469,155.3148,0,0,0,0,0,0); // IMG Spawn CameraPos
    
AddPlayerClass(103,2008.3900,-1740.9167,13.5469,155.3148,0,0,0,0,0,0); // IMG Spawn CameraPos
    
AddPlayerClass(104,2008.3900,-1740.9167,13.5469,155.3148,0,0,0,0,0,0); // IMG Spawn CameraPos
   
    //Folk Nation
    
AddPlayerClass(24,2474.0010,-1996.3811,13.5469,178.0316,0,0,0,0,0,0); // FOLK Spawn Position
    
AddPlayerClass(156,2474.0010,-1996.3811,13.5469,178.0316,0,0,0,0,0,0); // FOLK Spawn Position
    
AddPlayerClass(183,2474.0010,-1996.3811,13.5469,178.0316,0,0,0,0,0,0); // FOLK Spawn Position
    
AddPlayerClass(176,2474.0010,-1996.3811,13.5469,178.0316,0,0,0,0,0,0); // FOLK Spawn Position
    
AddPlayerClass(176,2474.0010,-1996.3811,13.5469,178.0316,0,0,0,0,0,0); // FOLK Spawn Position
   
    //mappings
    
CreateObject(14607,2553.61000000,-1682.29000000,1035.13000000,0.00000000,0.00000000,0.00000000); //
    
CreateObject(14614,2553.82000000,-1682.29000000,1035.12000000,0.00000000,0.00000000,0.00000000); //
    
CreateObject(14563,2553.81000000,-1682.28000000,1035.12000000,0.00000000,0.00000000,0.00000000); //
    
CreateObject(14561,2546.33000000,-1682.35000000,1033.61000000,0.00000000,0.00000000,0.00000000); //
    
CreateObject(9339,2551.93000000,-1697.07000000,1029.08000000,0.00000000,0.00000000,270.00000000); //
    
CreateObject(9339,2551.93000000,-1697.07000000,1030.43000000,0.00000000,0.00000000,270.00000000); //
    
CreateObject(9339,2551.93000000,-1697.07000000,1031.75000000,0.00000000,0.00000000,270.00000000); //
    
CreateObject(9339,2551.93000000,-1697.07000000,1032.98000000,0.00000000,0.00000000,270.00000000); //
    
CreateObject(9339,2551.93000000,-1697.07000000,1034.31000000,0.00000000,0.00000000,270.00000000); //
    
CreateObject(9339,2551.93000000,-1697.07000000,1035.42000000,0.00000000,0.00000000,270.00000000); //
    
CreateObject(9339,2551.93000000,-1697.07000000,1036.76000000,0.00000000,0.00000000,270.00000000); //
    
CreateObject(9339,2551.93000000,-1697.07000000,1027.74000000,0.00000000,0.00000000,270.00000000); //
    
CreateObject(9339,2551.93000000,-1697.07000000,1026.80000000,0.00000000,0.00000000,270.00000000); //
    
CreateObject(9339,2525.94000000,-1697.07000000,1029.08000000,0.00000000,0.00000000,270.00000000); //
    
CreateObject(9339,2525.94000000,-1697.07000000,1027.74000000,0.00000000,0.00000000,270.00000000); //
    
CreateObject(9339,2525.94000000,-1697.07000000,1026.80000000,0.00000000,0.00000000,270.00000000); //
    
CreateObject(9339,2525.94000000,-1697.07000000,1030.43000000,0.00000000,0.00000000,270.00000000); //
    
CreateObject(9339,2525.94000000,-1697.07000000,1031.75000000,0.00000000,0.00000000,270.00000000); //
    
CreateObject(9339,2525.94000000,-1697.07000000,1032.98000000,0.00000000,0.00000000,270.00000000); //
    
CreateObject(9339,2525.94000000,-1697.07000000,1034.31000000,0.00000000,0.00000000,270.00000000); //
    
CreateObject(9339,2525.94000000,-1697.07000000,1035.42000000,0.00000000,0.00000000,270.00000000); //
    
CreateObject(9339,2525.94000000,-1697.07000000,1036.76000000,0.00000000,0.00000000,270.00000000); //
    
CreateObject(9339,2499.97000000,-1697.07000000,1030.43000000,0.00000000,0.00000000,270.00000000); //
    
CreateObject(9339,2499.97000000,-1697.07000000,1029.08000000,0.00000000,0.00000000,270.00000000); //
    
CreateObject(9339,2499.97000000,-1697.07000000,1027.74000000,0.00000000,0.00000000,270.00000000); //
    
CreateObject(9339,2499.97000000,-1697.07000000,1026.80000000,0.00000000,0.00000000,270.00000000); //
    
CreateObject(9339,2499.97000000,-1697.07000000,1031.75000000,0.00000000,0.00000000,270.00000000); //
    
CreateObject(9339,2499.97000000,-1697.07000000,1032.98000000,0.00000000,0.00000000,270.00000000); //
    
CreateObject(9339,2499.97000000,-1697.07000000,1034.31000000,0.00000000,0.00000000,270.00000000); //
    
CreateObject(9339,2499.97000000,-1697.07000000,1035.42000000,0.00000000,0.00000000,270.00000000); //
    
CreateObject(9339,2499.97000000,-1697.07000000,1036.76000000,0.00000000,0.00000000,270.00000000); //
    
CreateObject(8483,2532.57000000,-1703.72000000,1032.06000000,0.00000000,0.00000000,90.00000000); //
    
CreateObject(9339,2551.94000000,-1667.42000000,1029.13000000,0.00000000,0.00000000,270.00000000); //
    
CreateObject(9339,2551.94000000,-1667.42000000,1027.78000000,0.00000000,0.00000000,270.00000000); //
    
CreateObject(9339,2551.94000000,-1667.42000000,1026.51000000,0.00000000,0.00000000,270.00000000); //
    
CreateObject(9339,2551.94000000,-1667.42000000,1030.36000000,0.00000000,0.00000000,270.00000000); //
    
CreateObject(9339,2551.94000000,-1667.42000000,1031.69000000,0.00000000,0.00000000,270.00000000); //
    
CreateObject(9339,2551.94000000,-1667.42000000,1032.92000000,0.00000000,0.00000000,270.00000000); //
    
CreateObject(9339,2551.94000000,-1667.42000000,1034.04000000,0.00000000,0.00000000,270.00000000); //
    
CreateObject(9339,2551.94000000,-1667.42000000,1035.27000000,0.00000000,0.00000000,270.00000000); //
    
CreateObject(9339,2551.94000000,-1667.42000000,1036.50000000,0.00000000,0.00000000,270.00000000); //
    
CreateObject(9339,2525.83000000,-1667.42000000,1030.36000000,0.00000000,0.00000000,270.00000000); //
    
CreateObject(9339,2525.83000000,-1667.42000000,1031.69000000,0.00000000,0.00000000,270.00000000); //
    
CreateObject(9339,2525.83000000,-1667.42000000,1032.92000000,0.00000000,0.00000000,270.00000000); //
    
CreateObject(9339,2525.83000000,-1667.42000000,1034.04000000,0.00000000,0.00000000,270.00000000); //
    
CreateObject(9339,2525.83000000,-1667.42000000,1035.27000000,0.00000000,0.00000000,270.00000000); //
    
CreateObject(9339,2525.83000000,-1667.42000000,1036.50000000,0.00000000,0.00000000,270.00000000); //
    
CreateObject(9339,2525.83000000,-1667.42000000,1029.13000000,0.00000000,0.00000000,270.00000000); //
    
CreateObject(9339,2525.83000000,-1667.42000000,1027.78000000,0.00000000,0.00000000,270.00000000); //
    
CreateObject(9339,2525.83000000,-1667.42000000,1026.51000000,0.00000000,0.00000000,270.00000000); //
    
CreateObject(9339,2499.74000000,-1667.42000000,1030.36000000,0.00000000,0.00000000,270.00000000); //
    
CreateObject(9339,2499.74000000,-1667.42000000,1029.13000000,0.00000000,0.00000000,270.00000000); //
    
CreateObject(9339,2499.74000000,-1667.42000000,1027.78000000,0.00000000,0.00000000,270.00000000); //
    
CreateObject(9339,2499.74000000,-1667.42000000,1031.69000000,0.00000000,0.00000000,270.00000000); //
    
CreateObject(9339,2499.74000000,-1667.42000000,1032.92000000,0.00000000,0.00000000,270.00000000); //
    
CreateObject(9339,2499.74000000,-1667.42000000,1034.04000000,0.00000000,0.00000000,270.00000000); //
    
CreateObject(9339,2499.74000000,-1667.42000000,1035.27000000,0.00000000,0.00000000,270.00000000); //
    
CreateObject(14537,2575.51000000,-1682.32000000,1030.75000000,0.00000000,0.00000000,0.00000000); //
    
CreateObject(19129,2533.31000000,-1682.41000000,1026.61000000,0.00000000,0.00000000,0.00000000); //
    
CreateObject(14463,2496.05000000,-1680.38000000,1031.51000000,0.00000000,0.00000000,0.00000000); //
    
CreateObject(9819,2507.88000000,-1681.08000000,1029.31000000,0.00000000,0.00000000,180.00000000); //
    
CreateObject(3388,2506.11000000,-1685.52000000,1029.25000000,270.00000000,90.00000000,0.00000000); //
    
CreateObject(3388,2507.72000000,-1676.55000000,1029.09000000,270.00000000,0.00000000,90.00000000); //
    
CreateObject(3388,2506.11000000,-1685.52000000,1028.36000000,0.00000000,-90.00000000,180.00000000); //
    
CreateObject(3388,2507.65000000,-1676.56000000,1029.09000000,90.00000000,0.00000000,90.00000000); //
    
CreateObject(3388,2511.00000000,-1680.95000000,1029.07000000,90.00000000,0.00000000,360.00000000); //
    
CreateObject(3388,2511.00000000,-1680.95000000,1029.08000000,-90.00000000,0.00000000,360.00000000); //
    
CreateObject(14820,2510.94000000,-1682.43000000,1029.67000000,0.00000000,0.00000000,270.00000000); //
    
CreateObject(14820,2510.94000000,-1679.45000000,1029.67000000,0.00000000,0.00000000,270.00000000); //
    
CreateObject(1958,2510.89000000,-1680.99000000,1029.60000000,0.00000000,0.00000000,270.00000000); //
    
CreateObject(16092,2516.89000000,-1682.07000000,1026.57000000,0.00000000,0.00000000,0.00000000); //
    
CreateObject(1723,2583.41000000,-1691.95000000,1028.53000000,0.00000000,0.00000000,270.00000000); //
    
CreateObject(1723,2582.12000000,-1695.75000000,1028.53000000,0.00000000,0.00000000,180.00000000); //
    
CreateObject(1723,2578.87000000,-1694.25000000,1028.53000000,0.00000000,0.00000000,90.00000000); //
    
CreateObject(1724,2582.13000000,-1690.02000000,1028.53000000,0.00000000,0.00000000,338.86000000); //
    
CreateObject(1724,2578.88000000,-1690.74000000,1028.53000000,0.00000000,0.00000000,41.02000000); //
    
CreateObject(1827,2581.06000000,-1692.87000000,1028.51000000,0.00000000,0.00000000,0.00000000); //
    
CreateObject(2232,2586.10000000,-1697.10000000,1031.99000000,2.00000000,0.00000000,224.00000000); //
    
CreateObject(2232,2586.08000000,-1667.39000000,1031.99000000,2.00000000,0.00000000,310.55000000); //
    
CreateObject(2232,2566.18000000,-1697.11000000,1031.99000000,2.00000000,0.00000000,180.00000000); //
    
CreateObject(2232,2566.18000000,-1667.50000000,1031.99000000,2.00000000,0.00000000,0.00000000); //
    
CreateObject(2232,2517.89000000,-1688.73000000,1031.33000000,0.00000000,0.00000000,90.00000000); //
    
CreateObject(2232,2517.89000000,-1688.73000000,1030.14000000,0.00000000,0.00000000,90.00000000); //
    
CreateObject(2232,2517.89000000,-1688.73000000,1028.95000000,0.00000000,0.00000000,90.00000000); //
    
CreateObject(2232,2517.90000000,-1675.36000000,1031.33000000,0.00000000,0.00000000,90.00000000); //
    
CreateObject(2232,2517.89000000,-1675.36000000,1030.14000000,0.00000000,0.00000000,90.00000000); //
    
CreateObject(2232,2517.89000000,-1675.36000000,1028.95000000,0.00000000,0.00000000,90.00000000); //
    
CreateObject(14463,2569.73000000,-1708.13000000,1031.61000000,0.00000000,0.00000000,57.52000000); //
    
CreateObject(1724,2568.30000000,-1691.51000000,1028.53000000,0.00000000,0.00000000,41.02000000); //
    
CreateObject(1724,2572.24000000,-1690.75000000,1028.53000000,0.00000000,0.00000000,310.92000000); //
    
CreateObject(1724,2573.31000000,-1694.98000000,1028.53000000,0.00000000,0.00000000,227.66000000); //
    
CreateObject(1724,2568.77000000,-1695.85000000,1028.53000000,0.00000000,0.00000000,133.54000000); //
    
CreateObject(14463,2585.18000000,-1657.02000000,1031.61000000,0.00000000,0.00000000,228.09000000); //
    
CreateObject(1723,2579.74000000,-1673.99000000,1028.53000000,0.00000000,0.00000000,127.45000000); //
    
CreateObject(1723,2585.09000000,-1672.39000000,1028.53000000,0.00000000,0.00000000,226.13000000); //
    
CreateObject(1723,2580.78000000,-1668.41000000,1028.53000000,0.00000000,0.00000000,0.00000000); //
    
CreateObject(1827,2570.10000000,-1670.96000000,1028.51000000,0.00000000,0.00000000,0.00000000); //
    
CreateObject(1724,2572.17000000,-1672.20000000,1028.53000000,0.00000000,0.00000000,227.66000000); //
    
CreateObject(1724,2568.80000000,-1673.01000000,1028.53000000,0.00000000,0.00000000,136.80000000); //
    
CreateObject(1724,2571.48000000,-1668.46000000,1028.53000000,0.00000000,0.00000000,317.70000000); //
    
CreateObject(1723,2567.91000000,-1669.99000000,1028.53000000,0.00000000,0.00000000,45.06000000); //
    
CreateObject(16092,2551.46000000,-1682.06000000,1026.57000000,0.00000000,0.00000000,0.00000000); //
    
CreateObject(19144,2535.51000000,-1696.28000000,1033.38000000,30.00000000,0.00000000,0.00000000); //
    
CreateObject(19144,2531.55000000,-1696.73000000,1033.38000000,30.00000000,0.00000000,0.00000000); //
    
CreateObject(18653,2582.47000000,-1671.21000000,1035.85000000,0.00000000,231.00000000,227.33000000); //
    
CreateObject(18654,2580.61000000,-1671.24000000,1035.85000000,0.00000000,233.00000000,335.56000000); //
    
CreateObject(18653,2571.17000000,-1693.54000000,1035.31000000,0.00000000,236.00000000,179.27000000); //
    
CreateObject(18654,2570.69000000,-1692.92000000,1035.49000000,0.00000000,230.00000000,278.94000000); //
    
CreateObject(19151,2569.39000000,-1696.56000000,1034.08000000,0.00000000,0.00000000,339.82000000); //
    
CreateObject(19152,2571.82000000,-1696.90000000,1034.14000000,0.00000000,0.00000000,26.82000000); //
    
CreateObject(19155,2579.74000000,-1668.60000000,1034.41000000,-22.00000000,4.00000000,194.00000000); //
    
CreateObject(19156,2583.27000000,-1668.20000000,1034.36000000,-18.00000000,0.00000000,154.00000000); //
    
CreateObject(8483,2532.57000000,-1662.23000000,1032.06000000,0.00000000,0.00000000,270.00000000); //
    
CreateObject(2780,2533.44000000,-1699.17000000,1027.71000000,0.00000000,0.00000000,180.00000000); //
    
CreateObject(2780,2531.38000000,-1664.80000000,1027.71000000,0.00000000,0.00000000,0.00000000); //
    
CreateObject(18102,2519.41000000,-1677.96000000,1036.31000000,-30.00000000,0.00000000,90.21000000); //
    
CreateObject(19150,2518.02000000,-1685.97000000,1035.11000000,0.00000000,0.00000000,270.00000000); //
    
CreateObject(19150,2517.83000000,-1677.92000000,1035.11000000,0.00000000,0.00000000,270.00000000); //
    
CreateObject(18647,2517.70000000,-1686.82000000,1033.32000000,0.00000000,0.00000000,0.00000000); //
    
CreateObject(18648,2517.73000000,-1682.31000000,1033.32000000,0.00000000,0.00000000,0.00000000); //
    
CreateObject(18102,2548.76000000,-1687.34000000,1036.31000000,-30.00000000,0.00000000,270.00000000); //
    
CreateObject(18653,2547.89000000,-1679.05000000,1036.33000000,0.00000000,245.00000000,180.00000000); //
    
CreateObject(18653,2548.03000000,-1687.22000000,1036.22000000,0.00000000,245.00000000,180.00000000); //
    
CreateObject(19144,2533.56000000,-1669.24000000,1033.38000000,30.00000000,0.00000000,180.00000000); //
    
CreateObject(19144,2529.62000000,-1669.72000000,1033.38000000,30.00000000,0.00000000,180.00000000); //
    
CreateObject(19126,2550.71000000,-1676.08000000,1027.10000000,0.00000000,0.00000000,0.00000000); //
    
CreateObject(19126,2552.20000000,-1676.08000000,1027.10000000,0.00000000,0.00000000,0.00000000); //
    
CreateObject(19126,2550.71000000,-1674.57000000,1027.10000000,0.00000000,0.00000000,0.00000000); //
    
CreateObject(19126,2552.20000000,-1674.59000000,1027.10000000,0.00000000,0.00000000,0.00000000); //
    
CreateObject(19126,2550.71000000,-1688.09000000,1027.10000000,0.00000000,0.00000000,0.00000000); //
    
CreateObject(19126,2550.70000000,-1689.58000000,1027.10000000,0.00000000,0.00000000,0.00000000); //
    
CreateObject(19126,2552.18000000,-1689.57000000,1027.10000000,0.00000000,0.00000000,0.00000000); //
    
CreateObject(19126,2552.18000000,-1689.57000000,1027.10000000,0.00000000,0.00000000,0.00000000); //
    
CreateObject(19126,2552.20000000,-1688.08000000,1027.10000000,0.00000000,0.00000000,0.00000000); //
    
CreateObject(18647,2517.72000000,-1677.39000000,1033.32000000,0.00000000,0.00000000,0.00000000); //
    
CreateObject(18647,2552.28000000,-1686.74000000,1033.32000000,0.00000000,0.00000000,0.00000000); //
    
CreateObject(18648,2552.28000000,-1681.91000000,1033.32000000,0.00000000,0.00000000,0.00000000); //
    
CreateObject(18647,2552.29000000,-1677.43000000,1033.32000000,0.00000000,0.00000000,0.00000000); //
    
CreateObject(19126,2517.61000000,-1689.59000000,1027.10000000,0.00000000,0.00000000,0.00000000); //
    
CreateObject(19126,2517.62000000,-1688.09000000,1027.10000000,0.00000000,0.00000000,0.00000000); //
    
CreateObject(19126,2516.12000000,-1688.09000000,1027.10000000,0.00000000,0.00000000,0.00000000); //
    
CreateObject(19126,2516.13000000,-1689.59000000,1027.10000000,0.00000000,0.00000000,0.00000000); //
    
CreateObject(19126,2517.63000000,-1676.10000000,1027.10000000,0.00000000,0.00000000,0.00000000); //
    
CreateObject(19126,2517.62000000,-1674.58000000,1027.10000000,0.00000000,0.00000000,0.00000000); //
    
CreateObject(19126,2516.12000000,-1674.59000000,1027.10000000,0.00000000,0.00000000,0.00000000); //
    
CreateObject(19126,2516.14000000,-1676.09000000,1027.10000000,0.00000000,0.00000000,0.00000000); //
    
CreateObject(1557,2601.75000000,-1683.81000000,1031.00000000,0.00000000,0.00000000,90.00000000); //
    
CreateObject(1557,2601.74000000,-1680.77000000,1031.00000000,0.00000000,0.00000000,270.00000000); //
    
CreateObject(18856,2541.12000000,-1695.71000000,1032.09000000,0.00000000,0.00000000,0.00000000); //
    
CreateObject(18856,2526.11000000,-1695.71000000,1032.09000000,0.00000000,0.00000000,0.00000000); //
    
CreateObject(3498,2543.22000000,-1693.78000000,1038.09000000,0.00000000,0.00000000,0.00000000); //
    
CreateObject(3498,2539.04000000,-1693.78000000,1038.09000000,0.00000000,0.00000000,0.00000000); //
    
CreateObject(19152,2539.06000000,-1693.54000000,1034.11000000,16.00000000,0.00000000,0.00000000); //
    
CreateObject(19152,2543.24000000,-1693.56000000,1034.11000000,16.00000000,0.00000000,0.00000000); //
    
CreateObject(3498,2528.15000000,-1693.78000000,1038.09000000,0.00000000,0.00000000,0.00000000); //
    
CreateObject(3498,2524.09000000,-1693.78000000,1038.09000000,0.00000000,0.00000000,0.00000000); //
    
CreateObject(19152,2528.16000000,-1693.58000000,1034.11000000,16.00000000,0.00000000,0.00000000); //
    
CreateObject(19152,2524.10000000,-1693.60000000,1034.11000000,16.00000000,0.00000000,0.00000000); //
    
CreateObject(18856,2541.13000000,-1669.15000000,1032.09000000,0.00000000,0.00000000,0.00000000); //
    
CreateObject(3498,2543.22000000,-1671.18000000,1038.09000000,0.00000000,0.00000000,0.00000000); //
    
CreateObject(3498,2539.04000000,-1671.16000000,1038.09000000,0.00000000,0.00000000,0.00000000); //
    
CreateObject(19152,2543.22000000,-1671.38000000,1034.11000000,16.00000000,0.00000000,180.00000000); //
    
CreateObject(19152,2539.05000000,-1671.36000000,1034.11000000,16.00000000,0.00000000,180.00000000); //
    
CreateObject(14595,2613.51000000,-1105.98000000,-23.40000000,0.00000000,0.00000000,0.00000000); //
    
CreateObject(2637,2605.82000000,-1090.96000000,-26.93000000,0.00000000,0.00000000,90.00000000); //
    
CreateObject(2637,2605.82000000,-1086.96000000,-26.93000000,0.00000000,0.00000000,90.00000000); //
    
CreateObject(2637,2605.82000000,-1082.96000000,-26.93000000,0.00000000,0.00000000,90.00000000); //
    
CreateObject(2637,2608.82000000,-1082.96000000,-26.93000000,0.00000000,0.00000000,90.00000000); //
    
CreateObject(2637,2608.82000000,-1086.96000000,-26.93000000,0.00000000,0.00000000,90.00000000); //
    
CreateObject(2637,2608.82000000,-1090.96000000,-26.93000000,0.00000000,0.00000000,90.00000000); //
    
CreateObject(2321,2601.68000000,-1086.54000000,-27.33000000,0.00000000,0.00000000,270.00000000); //
    
CreateObject(2321,2601.68000000,-1086.54000000,-26.86000000,0.00000000,0.00000000,270.00000000); //
    
CreateObject(1671,2600.63000000,-1087.05000000,-26.87000000,0.00000000,0.00000000,60.00000000); //
    
CreateObject(1663,2606.80000000,-1091.62000000,-26.87000000,0.00000000,0.00000000,260.00000000); //
    
CreateObject(1663,2606.79000000,-1090.47000000,-26.87000000,0.00000000,0.00000000,264.00000000); //
    
CreateObject(1663,2609.83000000,-1091.54000000,-26.87000000,0.00000000,0.00000000,270.00000000); //
    
CreateObject(1663,2609.82000000,-1090.39000000,-26.87000000,0.00000000,0.00000000,273.99000000); //
    
CreateObject(1663,2609.94000000,-1087.53000000,-26.86000000,0.00000000,0.00000000,261.99000000); //
    
CreateObject(1663,2609.94000000,-1086.41000000,-26.86000000,0.00000000,0.00000000,273.99000000); //
    
CreateObject(1663,2609.98000000,-1083.53000000,-26.87000000,0.00000000,0.00000000,265.99000000); //
    
CreateObject(1663,2609.90000000,-1082.28000000,-26.87000000,0.00000000,0.00000000,283.98000000); //
    
CreateObject(1663,2606.92000000,-1082.38000000,-26.87000000,0.00000000,0.00000000,277.98000000); //
    
CreateObject(1663,2606.96000000,-1083.50000000,-26.87000000,0.00000000,0.00000000,269.98000000); //
    
CreateObject(1663,2606.91000000,-1087.65000000,-26.87000000,0.00000000,0.00000000,255.97000000); //
    
CreateObject(1663,2606.96000000,-1086.40000000,-26.86000000,0.00000000,0.00000000,279.97000000); //
    
CreateObject(3077,2597.93000000,-1086.35000000,-27.33000000,0.00000000,0.00000000,90.00000000); //
    
CreateObject(3026,2610.38000000,-1086.44000000,-26.83000000,0.00000000,272.00000000,94.00000000); //
    
CreateObject(1742,2614.75000000,-1085.64000000,-27.33000000,0.00000000,0.00000000,0.00000000); //
    
CreateObject(1744,2604.04000000,-1092.54000000,-25.89000000,0.00000000,0.00000000,180.00000000); //
    
CreateObject(2145,2597.65000000,-1089.80000000,-27.33000000,0.00000000,0.00000000,90.00000000); //
    
CreateObject(2145,2597.63000000,-1089.09000000,-27.33000000,0.00000000,0.00000000,90.00000000); //
    
CreateObject(2161,2597.39000000,-1091.49000000,-27.33000000,0.00000000,0.00000000,90.00000000); //
    
CreateObject(2162,2597.92000000,-1080.41000000,-27.36000000,0.00000000,0.00000000,0.00000000); //
    
CreateObject(2163,2614.20000000,-1082.63000000,-27.33000000,0.00000000,0.00000000,270.00000000); //
    
CreateObject(2167,2614.20000000,-1084.57000000,-27.33000000,0.00000000,0.00000000,270.00000000); //
    
CreateObject(2167,2614.19000000,-1081.57000000,-27.33000000,0.00000000,0.00000000,270.00000000); //
    
CreateObject(2187,2615.18000000,-1088.09000000,-27.33000000,0.00000000,0.00000000,270.00000000); //
    
CreateObject(2191,2599.88000000,-1080.86000000,-27.33000000,0.00000000,0.00000000,0.00000000); //
    
CreateObject(2737,2606.71000000,-1092.33000000,-25.27000000,0.00000000,0.00000000,180.00000000); //
    
CreateObject(2164,2597.43000000,-1083.42000000,-27.36000000,0.00000000,0.00000000,90.00000000); //
    
CreateObject(1999,2615.37000000,-1088.14000000,-27.36000000,0.00000000,0.00000000,270.00000000); //
    
CreateObject(2187,2615.23000000,-1090.15000000,-27.36000000,0.00000000,0.00000000,270.00000000); //
    
CreateObject(1671,2614.56000000,-1088.81000000,-26.90000000,0.00000000,0.00000000,60.00000000); //
    
CreateObject(2894,2601.53000000,-1087.18000000,-26.36000000,0.00000000,0.00000000,280.00000000); //
    
CreateObject(2894,2606.08000000,-1090.32000000,-26.52000000,0.00000000,0.00000000,280.00000000); //
    
CreateObject(2894,2606.06000000,-1091.52000000,-26.52000000,0.00000000,0.00000000,260.00000000); //
    
CreateObject(2894,2609.09000000,-1091.53000000,-26.52000000,0.00000000,0.00000000,264.00000000); //
    
CreateObject(2894,2609.09000000,-1090.44000000,-26.52000000,0.00000000,0.00000000,274.00000000); //
    
CreateObject(2894,2609.08000000,-1087.48000000,-26.52000000,0.00000000,0.00000000,93.99000000); //
    
CreateObject(2894,2609.00000000,-1086.38000000,-26.52000000,0.00000000,0.00000000,253.99000000); //
    
CreateObject(2894,2605.99000000,-1086.50000000,-26.52000000,0.00000000,0.00000000,293.99000000); //
    
CreateObject(2894,2606.03000000,-1083.49000000,-26.52000000,0.00000000,0.00000000,263.99000000); //
    
CreateObject(2894,2606.00000000,-1082.36000000,-26.52000000,0.00000000,0.00000000,103.98000000); //
    
CreateObject(2894,2609.01000000,-1083.52000000,-26.52000000,0.00000000,0.00000000,93.98000000); //
    
CreateObject(1738,2605.59000000,-1080.61000000,-26.70000000,0.00000000,0.00000000,0.00000000); //
    
CreateObject(1738,2606.72000000,-1080.58000000,-26.70000000,0.00000000,0.00000000,180.00000000); //
    
CreateObject(1738,2607.78000000,-1080.58000000,-26.70000000,0.00000000,0.00000000,359.99000000); //
    
CreateObject(1738,2615.63000000,-1090.40000000,-26.70000000,0.00000000,0.00000000,89.99000000); //
    
CreateObject(1738,2615.61000000,-1091.51000000,-26.70000000,0.00000000,0.00000000,269.99000000); //
    
CreateObject(1738,2601.90000000,-1092.12000000,-26.70000000,0.00000000,0.00000000,179.99000000); //
    
CreateObject(2186,2600.71000000,-1091.89000000,-27.36000000,0.00000000,0.00000000,180.00000000); //
    
CreateObject(6959,2612.04000000,-1089.11000000,-27.33000000,0.00000000,0.00000000,0.00000000); //
    
CreateObject(1535,2614.25000000,-1092.65000000,-27.36000000,0.00000000,0.00000000,180.00000000); //
    
CreateObject(19172,2609.85000000,-1092.39000000,-25.00000000,0.00000000,0.00000000,180.00000000); //
    
CreateObject(19174,2607.03000000,-1080.38000000,-25.00000000,0.00000000,0.00000000,0.00000000); //
    
CreateObject(19166,2614.22000000,-1083.04000000,-25.45000000,90.00000000,-90.00000000,0.00000000); //
    
CreateObject(19179,2614.21000000,-1082.30000000,-24.64000000,0.00000000,-90.00000000,0.00000000); //
    
CreateObject(19179,2614.21000000,-1083.80000000,-24.64000000,0.00000000,-90.00000000,0.00000000); //
    
CreateObject(19179,2614.21000000,-1083.80000000,-26.24000000,0.00000000,-90.00000000,0.00000000); //
    
CreateObject(19179,2614.21000000,-1082.30000000,-26.24000000,0.00000000,-90.00000000,0.00000000); //
   
    //Vehicles
    
AddStaticVehicle(481,2371.9229,-1634.1638,12.9802,180.3790,86,0); // Bike 1
    
AddStaticVehicle(481,2374.2383,-1633.7467,12.9833,179.0111,86,0); // Bike 2
    
AddStaticVehicle(481,2377.2588,-1633.4475,12.9820,180.1245,86,0); // Bike 3
    
AddStaticVehicle(481,2379.3660,-1633.3582,12.9818,178.7856,86,0); // Bike 4
    
AddStaticVehicle(566,2227.7656,-1162.9019,25.5456,270.3075,112,93); // Jefferson Ballas - Tahoma spawn1
    
AddStaticVehicle(566,2228.6995,-1166.3872,25.5397,269.6280,112,93); // Jefferson Ballas - Tahoma spawn
    
AddStaticVehicle(566,2228.4255,-1170.0044,25.5233,269.6380,112,93); // Jefferson Ballas - Tahoma spawn
    
AddStaticVehicle(566,2228.2002,-1173.5763,25.5128,269.3760,112,93); // Jefferson Ballas - Tahoma spawn
    
AddStaticVehicle(566,2217.4609,-1166.2075,25.5070,91.0149,0,0); // Jefferson Ballas - Tahoma spawn
    
AddStaticVehicle(566,2217.1426,-1157.4551,25.5065,90.6832,0,0); // Jefferson Ballas - Tahoma spawn
    
AddStaticVehicle(566,2206.0886,-1157.5243,25.5161,90.3675,0,0); // Jefferson Ballas - Tahoma spawn
    
AddStaticVehicle(566,2205.7903,-1161.0359,25.5127,89.7004,0,0); // Jefferson Ballas - Tahoma spawn
    
AddStaticVehicle(566,2205.7136,-1173.2231,25.5053,271.5527,0,0); // Jefferson Ballas - Tahoma spawn
    
AddStaticVehicle(481,2210.7625,-1144.1477,25.3193,265.2361,186,79); // Jefferson Ballas - Bikes
    
AddStaticVehicle(481,2210.3445,-1142.7505,25.3240,263.4869,186,79); // Jefferson Ballas - Bikes
    
AddStaticVehicle(481,2210.1401,-1140.9392,25.3272,263.0420,186,79); // Jefferson Ballas - Bikes
    
AddStaticVehicle(482,2451.9014,-2022.3530,13.6656,179.1456,0,0); // Folk - Burrito
    
AddStaticVehicle(566,2447.7844,-2004.6028,13.2151,89.8862,47,28); // Folk - Tahoma Location
    
AddStaticVehicle(481,2533.4473,-2006.7924,13.0620,88.9498,0,0); // bmx 1 folk
    
AddStaticVehicle(481,2533.8513,-2009.2682,13.0623,89.6891,0,0); // bmx 2 folk
    
AddStaticVehicle(481,2533.9521,-2012.1846,13.0629,83.2777,0,0); // bmx 3 folk
    
AddStaticVehicle(579,2462.0193,-2004.5907,13.3387,90.8738,0,0); // Folk - Huntely spawn
   
    //Labels
    
Create3DTextLabel("Grab a BMX, fam!"0x979C43FF2375.8064,-1634.1346,13.467420.00);
    
Create3DTextLabel("Anti-Death Zone!"0x979C43FF2374.7329,-1659.4657,13.382820.00);
    
Create3DTextLabel("Grab a BMX, Balla!"0xB222D6FF2212.0789,-1143.1678,25.807220.00);
    
Create3DTextLabel("Anti-Death Zone!"0xB222D6FF2219.6636,-1135.9750,25.625020.00);
    
Create3DTextLabel("Folk Nation!"0x1B9BE0FF2477.1475,-2009.8610,13.377520.00);
    
Create3DTextLabel("Take a BMX, Folk!"0x1B9BE0FF,2530.1523,-2009.7422,13.546920.00);
   
   
   
    return 
1;
}
public 
OnGameModeExit()
{
    return 
1;
}
public 
OnPlayerRequestClass(playeridclassid)
{
    if(
classid == 0)
    {
        
SetPlayerPos(playerid2375.7463,-1645.9944,13.5322);
        
SetPlayerCameraPos(playerid2375.9658,-1647.8722,13.5405);
        
SetPlayerCameraLookAt(playerid2375.7463,-1645.9944,13.5322);
        
GameTextForPlayer(playerid"~g~EastSide Guerillas"50005);
        
SetPlayerColor(playerid0x2D964DFF);
        
SetPlayerFacingAngle(playerid180.000);
        
ApplyAnimation(playerid"RAPPING""Laugh_01"4.000000);
        
//2nd Line - 2375.7463,-1645.9944,13.5322
    
}
    
//2375.5959,-1649.0541,13.5469
   
    
if(classid == 1)
    {
        
SetPlayerPos(playerid2375.7463,-1645.9944,13.5322);
        
SetPlayerCameraPos(playerid2375.9658,-1647.8722,13.5405);
        
SetPlayerCameraLookAt(playerid2375.7463,-1645.9944,13.5322);
        
GameTextForPlayer(playerid"~g~EastSide Guerillas"50005);
        
SetPlayerColor(playerid0x2D964DFF);
        
SetPlayerFacingAngle(playerid180.000);
        
ApplyAnimation(playerid"DEALER""DEALER_DEAL"4.000000);
        
//2nd Line - 2375.7463,-1645.9944,13.5322
    
}
   
    if(
classid == 2)
    {
        
SetPlayerPos(playerid2375.7463,-1645.9944,13.5322);
        
SetPlayerCameraPos(playerid2375.9658,-1647.8722,13.5405);
        
SetPlayerCameraLookAt(playerid2375.7463,-1645.9944,13.5322);
        
GameTextForPlayer(playerid"~g~EastSide Guerillas"50005);
        
SetPlayerColor(playerid0x2D964DFF);
        
SetPlayerFacingAngle(playerid180.000);
        
ApplyAnimation(playerid"COP_AMBIENT""Coplook_loop"4.00111, -1); // Arms crossed
        //2nd Line - 2375.7463,-1645.9944,13.5322
    
}
   
    if(
classid == 3)
    {
        
SetPlayerPos(playerid2219.0308,-1144.4630,25.7939);
        
SetPlayerCameraPos(playerid2219.5222,-1140.8994,25.7969);
        
SetPlayerCameraLookAt(playerid2219.0308,-1144.4630,25.7939);
        
GameTextForPlayer(playerid"~p~Jefferson Ballas"50005);
        
SetPlayerColor(playerid0xB222D6FF);
        
SetPlayerFacingAngle(playerid0);
        
//2219.0308,-1144.4630,25.7939 - 2nd Line
    
}
   
    if(
classid == 4)
    {
        
SetPlayerPos(playerid2008.2642,-1741.2279,13.5469);
        
SetPlayerCameraPos(playerid2007.2573,-1743.3068,13.5469);
        
SetPlayerCameraLookAt(playerid2008.2642,-1741.2279,13.5469);
        
GameTextForPlayer(playerid"~r~Idlewood Mafia Gangsters"50005);
        
SetPlayerColor(playerid0xF21D21FF);
        
SetPlayerFacingAngle(playerid155.3148);
        
//2008.2642,-1741.2279,13.5469 - 3rd line
       
    
}
   
    if(
classid == 5)
    {
        
SetPlayerPos(playerid2008.2642,-1741.2279,13.5469);
        
SetPlayerCameraPos(playerid2007.2573,-1743.3068,13.5469);
        
SetPlayerCameraLookAt(playerid2008.2642,-1741.2279,13.5469);
        
GameTextForPlayer(playerid"~r~Idlewood Mafia Gangsters"50005);
        
SetPlayerColor(playerid0xF21D21FF);
        
SetPlayerFacingAngle(playerid155.3148);
        
//2008.2642,-1741.2279,13.5469 - 3rd line
    
}
   
    if(
classid == 6)
    {
        
SetPlayerPos(playerid2008.2642,-1741.2279,13.5469);
        
SetPlayerCameraPos(playerid2007.2573,-1743.3068,13.5469);
        
SetPlayerCameraLookAt(playerid2008.2642,-1741.2279,13.5469);
        
GameTextForPlayer(playerid"~r~Idlewood Mafia Gangsters"50005);
        
SetPlayerColor(playerid0xF21D21FF);
        
SetPlayerFacingAngle(playerid155.3148);
        
//2008.2642,-1741.2279,13.5469 - 3rd line
    
}
   
    if(
classid == 7)
    {
        
SetPlayerPos(playerid2474.0010,-1996.3811,13.5469);
        
SetPlayerCameraPos(playerid2474.1814,-1998.7914,13.5469);
        
SetPlayerCameraLookAt(playerid2474.0010,-1996.3811,13.5469);
        
GameTextForPlayer(playerid"~b~Folk Nation"50005);
        
SetPlayerColor(playerid0x1B9BE0FF);
        
SetPlayerFacingAngle(playerid178.0316);
        
ApplyAnimation(playerid,"PED","fucku",4.0,0,0,0,0,0);
        
//2008.2642,-1741.2279,13.5469 - 3rd line
    
}
   
    if(
classid == 8)
    {
        
SetPlayerPos(playerid2474.0010,-1996.3811,13.5469);
        
SetPlayerCameraPos(playerid2474.1814,-1998.7914,13.5469);
        
SetPlayerCameraLookAt(playerid2474.0010,-1996.3811,13.5469);
        
GameTextForPlayer(playerid"~b~Folk Nation"50005);
        
SetPlayerColor(playerid0x1B9BE0FF);
        
SetPlayerFacingAngle(playerid178.0316);
        
ApplyAnimation(playerid,"PED","IDLE_CHAT",4.0,0,0,0,0,0);
        
//2008.2642,-1741.2279,13.5469 - 3rd line
    
}
   
    if(
classid == 9)
    {
        
SetPlayerPos(playerid2474.0010,-1996.3811,13.5469);
        
SetPlayerCameraPos(playerid2474.1814,-1998.7914,13.5469);
        
SetPlayerCameraLookAt(playerid2474.0010,-1996.3811,13.5469);
        
GameTextForPlayer(playerid"~b~Folk Nation"50005);
        
SetPlayerColor(playerid0x1B9BE0FF);
        
SetPlayerFacingAngle(playerid178.0316);
        
ApplyAnimation(playerid,"RAPPING""RAP_A_Loop",4.0,0,0,0,0,0);
        
//2008.2642,-1741.2279,13.5469 - 3rd line
    
}
   
    if(
classid == 10)
    {
        
SetPlayerPos(playerid2474.0010,-1996.3811,13.5469);
        
SetPlayerCameraPos(playerid2474.1814,-1998.7914,13.5469);
        
SetPlayerCameraLookAt(playerid2474.0010,-1996.3811,13.5469);
        
GameTextForPlayer(playerid"~b~Folk Nation"50005);
        
SetPlayerColor(playerid0x1B9BE0FF);
        
SetPlayerFacingAngle(playerid178.0316);
        
//2008.2642,-1741.2279,13.5469 - 3rd line
    
}
   
    if(
classid == 11)
    {
        new 
szName24 ];
        
GetPlayerNameplayeridszName24 );
        if ( 
GetPlayerSkin playerid ) == 50 // change it lol
        
{
            if ( 
strcmp szName"Swizzzy"true ) == )
            {
                
SendClientMessageplayerid0xffffffff"permisson for this skin granted!");
            }
            else
            {
                
SendClientMessageplayerid0xffffffff"only swizzzy can use this skin");
                
SetPlayerHealth(playerid0); /* return 0 means he won't spawn */
            
}
        }
   
    }
    return 
1;
}
public 
OnPlayerConnect(playerid)
{
    
SendClientMessage(playerid0x979C43FF"Welcome to East Side Guerilla - Team Deathmatch 1.0.3");
    
ShowPlayerDialog(playerid20DIALOG_STYLE_MSGBOX"Server Rules""Do not Deathmatch in Anti-DM Zones, You can only use Melee's \nDo not C-Bug, Or use any other bug to enhance your performance \nDo NOT Spawn Kill \nMore Coming Soon!""Accept""Have fun");
    return 
1;
}
public 
OnPlayerDisconnect(playeridreason)
{
    return 
1;
}
public 
OnPlayerSpawn(playerid)
{
    
SendClientMessage(playerid0x979C43FF"[MESSAGE]: Type /help for assistance");
    return 
1;
}
public 
OnPlayerDeath(playeridkilleridreason)
{
    
SetPlayerVirtualWorld(playerid0);
    return 
1;
}
public 
OnVehicleSpawn(vehicleid)
{
    return 
1;
}
public 
OnVehicleDeath(vehicleidkillerid)
{
    return 
1;
}
public 
OnPlayerText(playeridtext[])
{
    return 
1;
}
public 
OnPlayerCommandText(playeridcmdtext[])
{
    if (
strcmp("/weapons"cmdtexttrue10) == 0)
    {
        
ShowPlayerDialog(playerid10DIALOG_STYLE_LIST"Anti-DM Zone Weapon List""Baseball Bat \nKnife""Select""Exit");// Do something here
        
return 1;
    }
   
    if (
strcmp("/rules"cmdtexttrue10) == 0)
    {
        
ShowPlayerDialog(playerid10DIALOG_STYLE_MSGBOX"Server Rules""Do not Deathmatch in Anti-DM Zones, You can only use Melee's \nDo not C-Bug, Or use any other bug to enhance your performance \nDo NOT Spawn Kill \nMore Coming Soon!""Accept""Have fun");
    }
   
    if (
strcmp("/help"cmdtexttrue10) == 0)
    {
        
SendClientMessage(playerid0x9CDADBFF"[GENERAL]: /me, /rules, /weapons - Shows a list of Anti-DM Zone Weapons, /vehicles, /skydivingzones, /dmzones");
        
SendClientMessage(playerid0x4E9654FF"[Administration]: /admins - shows a list of admins online");// Do something here
        
SendClientMessage(playerid0x9CDADBFF"[Animation]: /animations");
       
        return 
1;
    }
   
    if (
strcmp("/dmzones"cmdtexttrue10) == 0)
    {
        
ShowPlayerDialog(playerid15DIALOG_STYLE_LIST"Death Match Zones""Grove Street Deathmatch \nClass Room Deathmatch""Select""Exit");// Do something here
        
return 1;
    }
    if(!
strcmp(cmdtext"/me"true3)) // 3 is the length of /me
    
{
        if(!
cmdtext[3]) return SendClientMessage(playerid0xFFFFFFFF"USAGE: /me [action]");
        new 
str[128];
        
GetPlayerName(playeridstrsizeof(str));
        
format(strsizeof(str), "* %s %s"strcmdtext[4]);
        
SendClientMessageToAll(0x619CEDFFstr);
        return 
1;
    }
   
    if(!
strcmp(cmdtext"/do"true3)) // 3 is the length of /me
    
{
        if(!
cmdtext[3])return SendClientMessage(playerid0xFFFFFFFF"USAGE: /do [action]");
        new 
str[128];
        
GetPlayerName(playeridstrsizeof(str));
        
format(strsizeof(str), "* %s (( %s ))"strcmdtext[4]);
        
SendClientMessageToAll(0x619CEDFFstr);
        return 
1;
    }
   
    if ( 
strcmpcmdtext"/bluntweps"true) == 0// when someone types /command
    
{
    new 
szName24 ];
    
GetPlayerNameplayeridszName24);
    if ( 
strcmp szName"[ESG]Blunt"true ) == 0// you can change "Swizzzy" to another name
    
{
        
ShowPlayerDialog(playerid30DIALOG_STYLE_LIST,"Blunt's Weapon System""Glock \nAK-47 \nM4 Carbine \nSniper Rifle \nMP5 \nShotgun""Select""Exit");// do the command actions
    
}
    else
    {
        return 
SendClientMessageplayerid, -1"You are not [ESG]Blunt!");
    }
    return 
true;
    }
    return 
0;
}
public 
OnPlayerEnterVehicle(playeridvehicleidispassenger)
{
    return 
1;
}
public 
OnPlayerExitVehicle(playeridvehicleid)
{
    return 
1;
}
public 
OnPlayerStateChange(playeridnewstateoldstate)
{
    return 
1;
}
public 
OnPlayerEnterCheckpoint(playerid)
{
    return 
1;
}
public 
OnPlayerLeaveCheckpoint(playerid)
{
    return 
1;
}
public 
OnPlayerEnterRaceCheckpoint(playerid)
{
    return 
1;
}
public 
OnPlayerLeaveRaceCheckpoint(playerid)
{
    return 
1;
}
public 
OnRconCommand(cmd[])
{
    return 
1;
}
public 
OnPlayerRequestSpawn(playerid)
{
    return 
1;
}
public 
OnObjectMoved(objectid)
{
    return 
1;
}
public 
OnPlayerObjectMoved(playeridobjectid)
{
    return 
1;
}
public 
OnPlayerPickUpPickup(playeridpickupid)
{
    return 
1;
}
public 
OnVehicleMod(playeridvehicleidcomponentid)
{
    return 
1;
}
public 
OnVehiclePaintjob(playeridvehicleidpaintjobid)
{
    return 
1;
}
public 
OnVehicleRespray(playeridvehicleidcolor1color2)
{
    return 
1;
}
public 
OnPlayerSelectedMenuRow(playeridrow)
{
    return 
1;
}
public 
OnPlayerExitedMenu(playerid)
{
    return 
1;
}
public 
OnPlayerInteriorChange(playeridnewinterioridoldinteriorid)
{
    return 
1;
}
public 
OnPlayerKeyStateChange(playeridnewkeysoldkeys)
{
    return 
1;
}
public 
OnRconLoginAttempt(ip[], password[], success)
{
    return 
1;
}
public 
OnPlayerUpdate(playerid)
{
    return 
1;
}
public 
OnPlayerStreamIn(playeridforplayerid)
{
    return 
1;
}
public 
OnPlayerStreamOut(playeridforplayerid)
{
    return 
1;
}
public 
OnVehicleStreamIn(vehicleidforplayerid)
{
    return 
1;
}
public 
OnVehicleStreamOut(vehicleidforplayerid)
{
    return 
1;
}
public 
OnDialogResponse(playeriddialogidresponselistiteminputtext[])
{
//================================================================
//                     Anti-DM Zone Weapon System
//=================================================================
if(dialogid == 10)//Weapon System Dialog
{
    if(
response == 0) return SendClientMessage(playerid0x1BE067FF"[INFO]: You exited the Weapon Menu!");
    switch(
listitem)
    {
    case 
0:{
    
SendClientMessage(playerid0x1BE067FF"[INFO]: You have been given a Baseball Bat!");
    
GivePlayerWeapon(playerid5500);
    }
    case 
1:{
    
SendClientMessage(playerid0x1BE067FF"[INFO]: You have been given a Knife");
    
GivePlayerWeapon(playerid4500);
    }
    }
}
//===================================================================
//                          BLUNT WEAPONS
//===================================================================
if(dialogid == 30)//Weapon System Dialog
{
    if(
response == 0) return SendClientMessage(playerid0x1BE067FF"[INFO]: You exited the Weapon Menu!");
    switch(
listitem)
    {
    case 
0:{
    
SendClientMessage(playerid0x1BE067FF"[INFO]: You have been given a Glock Bat!");
    
GivePlayerWeapon(playerid24500);
    }
    case 
1:{
    
SendClientMessage(playerid0x1BE067FF"[INFO]: You have been given a AK-47");
    
GivePlayerWeapon(playerid30500);
    }
    case 
2:{
    
SendClientMessage(playerid0x1BE067FF"[INFO]: You have been given a M4 Carbine");
    
GivePlayerWeapon(playerid31500);
    }
    case 
3:{
    
SendClientMessage(playerid0x1BE067FF"[INFO]: You have been given a Sniper Rifle");
    
GivePlayerWeapon(playerid34500);
    }
    case 
4:{
    
SendClientMessage(playerid0x1BE067FF"[INFO]: You have been given a MP5");
    
GivePlayerWeapon(playerid29500);
    }
    case 
5:{
    
SendClientMessage(playerid0x1BE067FF"[INFO]: You have been given a Shotgun");
    
GivePlayerWeapon(playerid25500);
    }
    }
}
//================================================================
//                          Death Match Zones
//=================================================================
if(dialogid == 15)
{
    if(
response == 0) return SendClientMessage(playerid0x1BE067FF"[INFO]: You exited the DeathMatch Zones Dialog!");
    switch(
listitem)
    {
    case 
0:{
    
SetPlayerPos(playerid2512.9993,-1667.4167,13.5668);
    
SetPlayerFacingAngle(playerid90.5207);
    
SendClientMessage(playerid0x1BE067FF"[DeathMatch]: You have entered the Grove Street DeathMatch Zone");
    
SendClientMessageToAll(0xFFFFFFFF"[SERVER]: A New player has joined the Grove Street DeathMatch Zone!, /dmzones");
    
SetPlayerVirtualWorld(playerid100);
    
GivePlayerWeapon(playerid24500);
    }
    case 
1:{
    
SetPlayerPos(playerid2613.4526,-1091.9517,-26.7105);
    
SetPlayerFacingAngle(playerid90.5207);
    
SendClientMessage(playerid0x1BE067FF"[DeathMatch]: You have entered the Class Room DeathMatch Zone");
    
SendClientMessageToAll(0xFFFFFFFF"[SERVER]: A New player has joined the Class Room DeathMatch Zone!, /dmzones");
    
SetPlayerVirtualWorld(playerid100);
    
GivePlayerWeapon(playerid24500);
    }
    }
}
   
return 
1;

Thank you so much! worked
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)