14.09.2011, 21:09
If anyone could possibly fix these errors and post the fixed code here, Would be great!
Код:
C:\Users\Parent\Desktop\Everything\Test Server\gamemodes\ESGDM.pwn(874) : error 010: invalid function or declaration C:\Users\Parent\Desktop\Everything\Test Server\gamemodes\ESGDM.pwn(876) : error 010: invalid function or declaration C:\Users\Parent\Desktop\Everything\Test Server\gamemodes\ESGDM.pwn(877) : error 010: invalid function or declaration C:\Users\Parent\Desktop\Everything\Test Server\gamemodes\ESGDM.pwn(879) : error 010: invalid function or declaration C:\Users\Parent\Desktop\Everything\Test Server\gamemodes\ESGDM.pwn(883) : error 010: invalid function or declaration C:\Users\Parent\Desktop\Everything\Test Server\gamemodes\ESGDM.pwn(887) : error 010: invalid function or declaration C:\Users\Parent\Desktop\Everything\Test Server\gamemodes\ESGDM.pwn(890) : error 010: invalid function or declaration C:\Users\Parent\Desktop\Everything\Test Server\gamemodes\ESGDM.pwn(904) : error 010: invalid function or declaration C:\Users\Parent\Desktop\Everything\Test Server\gamemodes\ESGDM.pwn(906) : error 010: invalid function or declaration C:\Users\Parent\Desktop\Everything\Test Server\gamemodes\ESGDM.pwn(907) : error 010: invalid function or declaration C:\Users\Parent\Desktop\Everything\Test Server\gamemodes\ESGDM.pwn(909) : error 010: invalid function or declaration C:\Users\Parent\Desktop\Everything\Test Server\gamemodes\ESGDM.pwn(916) : error 010: invalid function or declaration C:\Users\Parent\Desktop\Everything\Test Server\gamemodes\ESGDM.pwn(925) : error 010: invalid function or declaration C:\Users\Parent\Desktop\Everything\Test Server\gamemodes\ESGDM.pwn(944) : error 010: invalid function or declaration C:\Users\Parent\Desktop\Everything\Test Server\gamemodes\ESGDM.pwn(946) : error 010: invalid function or declaration C:\Users\Parent\Desktop\Everything\Test Server\gamemodes\ESGDM.pwn(947) : error 010: invalid function or declaration C:\Users\Parent\Desktop\Everything\Test Server\gamemodes\ESGDM.pwn(949) : error 010: invalid function or declaration C:\Users\Parent\Desktop\Everything\Test Server\gamemodes\ESGDM.pwn(952) : error 054: unmatched closing brace ("}")
pawn Код:
#include <a_samp>
main()
{
print("\n----------------------------------");
print(" Official East Side Guerilla Deathmatch, By Blunt!");
print("----------------------------------\n");
}
//Declorations
new string[128];
public OnGameModeInit()
{
// Main variables, Functions
SetGameModeText("EastSide TDM 1.0.3");
ShowPlayerMarkers(1);
ShowNameTags(1);
DisableInteriorEnterExits();
UsePlayerPedAnims();
LimitGlobalChatRadius(200.0);
//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
//LSPD
AddPlayerClass(265,1527.0460,-1677.8129,5.8906,271.3791,0,0,0,0,0,0); // LSPD Spawn Postion
AddPlayerClass(280,1527.0460,-1677.8129,5.8906,271.3791,0,0,0,0,0,0); // LSPD Spawn Postion
AddPlayerClass(281,1527.0460,-1677.8129,5.8906,271.3791,0,0,0,0,0,0); // LSPD Spawn Postion
//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
AddStaticVehicle(596,1529.0367,-1684.0232,5.6101,90.2795,0,1); // LSPD, Cruiser 1
AddStaticVehicle(596,1529.3722,-1687.9187,5.6110,89.3842,0,1); // LSPD, Cruiser 2
AddStaticVehicle(596,1544.9542,-1684.5508,5.6123,269.2281,0,1); // LSPD, Cruiser 3
AddStaticVehicle(596,1545.0380,-1680.2743,5.6138,269.5319,0,1); // LSPD, Cruiser 4
AddStaticVehicle(596,1545.0320,-1676.1202,5.6086,271.0058,0,1); // LSPD, Cruiser 5
AddStaticVehicle(490,1544.5098,-1662.9607,6.0192,269.3992,0,0); // LSPD, Rancher 1
AddStaticVehicle(490,1544.8907,-1659.0326,6.0192,270.2172,0,0); // LSPD, Rancher 2
AddStaticVehicle(490,1544.6188,-1654.8923,6.0187,270.0463,0,0); // LSPD, Rancher 3
AddStaticVehicle(601,1530.5724,-1646.1047,5.6494,0.6943,102,42); // LSPD, SWAT VAN 1
AddStaticVehicle(601,1538.5717,-1645.4164,5.6494,359.4243,102,42); // LSPD, SWAT VAN 2
AddStaticVehicle(523,1558.8451,-1712.6416,5.4572,359.2299,111,0); // LSPD Bike - 1
AddStaticVehicle(523,1564.8617,-1711.0588,5.4576,2.4206,111,0); // LSPD Bike - 2
AddStaticVehicle(523,1570.2678,-1712.3718,5.4640,358.7958,111,0); // LSPD Bike - 3
AddStaticVehicle(523,1574.3527,-1713.2228,5.4609,1.4374,111,0); // LSPD Bike - 4
//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);
Create3DTextLabel("Type /LSPDHELP, Officer", 0x0040FFFF, 1568.4276,-1690.8257,5.8906, 20.0, 0);
Create3DTextLabel("Los Santos Police Department", 0x0040FFFF, 1550.7385,-1697.7056,6.2188, 20.0, 0);
Create3DTextLabel("Los Santos Police Department", 0x0040FFFF, 1524.4855,-1678.3403,6.2188, 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)
{
SetPlayerPos(playerid, 1527.0460,-1677.8129,5.8906);
SetPlayerCameraPos(playerid, 1529.1135,-1677.7134,5.8906);
SetPlayerCameraLookAt(playerid, 1527.0460,-1677.8129,5.8906);
GameTextForPlayer(playerid, "~b~Los Santos Police Department", 5000, 5);
SetPlayerColor(playerid, 0xF5D7DFFF);
SetPlayerFacingAngle(playerid, 271.3791);
ApplyAnimation(playerid, "COP_AMBIENT", "Coplook_loop", 4.0, 0, 1, 1, 1, -1);
//2008.2642,-1741.2279,13.5469 - 3rd line
}
if(classid == 12)
{
SetPlayerPos(playerid, 1527.0460,-1677.8129,5.8906);
SetPlayerCameraPos(playerid, 1529.1135,-1677.7134,5.8906);
SetPlayerCameraLookAt(playerid, 1527.0460,-1677.8129,5.8906);
GameTextForPlayer(playerid, "~b~Los Santos Police Department", 5000, 5);
SetPlayerColor(playerid, 0xF5D7DFFF);
SetPlayerFacingAngle(playerid, 271.3791);
ApplyAnimation(playerid, "COP_AMBIENT", "Coplook_loop", 4.0, 0, 1, 1, 1, -1);
//2008.2642,-1741.2279,13.5469 - 3rd line
}
if(classid == 13)
{
SetPlayerPos(playerid, 1527.0460,-1677.8129,5.8906);
SetPlayerCameraPos(playerid, 1529.1135,-1677.7134,5.8906);
SetPlayerCameraLookAt(playerid, 1527.0460,-1677.8129,5.8906);
GameTextForPlayer(playerid, "~b~Los Santos Police Department", 5000, 5);
SetPlayerColor(playerid, 0xF5D7DFFF);
SetPlayerFacingAngle(playerid, 271.3791);
ApplyAnimation(playerid, "COP_AMBIENT", "Coplook_loop", 4.0, 0, 1, 1, 1, -1);
//2008.2642,-1741.2279,13.5469 - 3rd line
}
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)
{
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;
}
//=======================================================================================
//=======================================================================================
// |LSPD System|
//=======================================================================================
//=======================================================================================
if(strcmp(cmdtext, "/lspdhelp", true, 10) == 0)
{
SendClientMessage(playerid, 0x0059FFFF, "LSPD HELP: /lspdmenu");//Something here
return 1;
}
if(strcmp(cmdtext, "/lspdmenu", true, 10) == 0)
{
ShowPlayerDialog(playerid, 100, DIALOG_STYLE_LIST, "LSPD Menu", "On Duty \nOff Duty \nEquipment \nLSPD Vehicles", "Select", "Exit"); //Something here
return 1;
}
//=======================================================================================
//=======================================================================================
// | End Of LSPD System|
//=======================================================================================
//=======================================================================================
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;
}
//=================================================================
// LSPD System - Line 612
//=================================================================
if(dialogid == 100)
{
if(response == 0) return SendClientMessage(playerid, 0x0059FFFF, "[INFO]: You exited the LSPD Menu");
switch(listitem)
{
case 0:{
SendClientMessageToAll(0x0059FFFF, "Government: Dear Citizens of Los Santos, A LSPD Officer is now Currently ON Duty");
SetPlayerColor(playerid, 0x0059FFFF); //Soemthing here
}
case 1:{
SendClientMessage(playerid, 0x0059FFFF, "You have been set to OFF Duty, In the LSPD Service");
SetPlayerColor(playerid, 0xFFFFFFFF); //Something here
}
case 2:{
ShowPlayerDialog(playerid, 150, DIALOG_STYLE_LIST, "LSPD Equipment", "Cadet Equipment \nOfficer Equipment \nS.W.A.T Equipment", "Select", "Exit"); //Something here
}
case 3:{
ShowPlayerDialog(playerid, 200, DIALOG_STYLE_LIST, "LSPD Vehicles", "Cruiser \nS.W.A.T Tank \nRancher", "Select", "Exit");//Something here
}
}
}
//=================================================================
// ROOT SYSTEM - END OF
//=================================================================
//=================================================================
// LSPD Equipment
//=================================================================
if(dialogid == 150)
{
if(response == 0) return SendClientMessage(playerid, 0x0059FFFF, "[INFO]: You exited the LSPD Equipment Menu");
switch(listitem)
{
case 0:{
SetPlayerSkin(playerid, 71);
GivePlayerWeapon(playerid, 3, 100);
GivePlayerWeapon(playerid, 41, 500);
GivePlayerWeapon(playerid, 24, 150);
SendClientMessage(playerid, 0xFFFFFFFF, "LSPD: You have chosen the Cadet Equipment, Find a Officer and Patrol with him!");//Something here
}
case 1:{
SetPlayerSkin(playerid, 280);
GivePlayerWeapon(playerid, 3, 100);
GivePlayerWeapon(playerid, 41, 500);
GivePlayerWeapon(playerid, 24, 150);
GivePlayerWeapon(playerid, 25, 300);
GivePlayerWeapon(playerid, 29, 1000);
SendClientMessage(playerid, 0xFFFFFFFF, "LSPD: You have chosen the Police Officer Equipment, Grab a Cruiser and Bring Crime to justice!");//Something here
}
case 2:{
SetPlayerSkin(playerid, 285);
GivePlayerWeapon(playerid, 31, 100);
GivePlayerWeapon(playerid, 29, 500);
GivePlayerWeapon(playerid, 25, 150);
GivePlayerWeapon(playerid, 17, 300);
SendClientMessage(playerid, 0xFFFFFFFF, "LSPD: You have chosen the SWAT Team Equipment!");//Something here
}
}
}
//==========================================================
// END OF LSPD EQUIPMENT
//==========================================================
//==========================================================
// LSPD VEHICLES
//==========================================================
if(dialogid == 150)
{
if(response == 0) return SendClientMessage(playerid, 0x0059FFFF, "[INFO]: You exited the LSPD Vehicle Menu");
switch(listitem)
{
case 0:{
AddStaticVehicle(596,1560.1179,-1694.4215,5.6157,359.4467,0,1); // Trust Vehicle - Cruiser
//Something here
}
case 1:{
AddStaticVehicle(599,1560.1179,-1694.4215,5.6157,359.4467,0,1); // Trust Vehicle - Cruiser//Something here
}
case 2:{
AddStaticVehicle(601,1560.1179,-1694.4215,5.6157,359.4467,0,1); // Trust Vehicle - Cruiser//Something here
}
}
}
//==========================================================
// END OF LSPD VEHICLES
//==========================================================