#include <a_samp>
#include <a_objects>
// This is a comment
// uncomment the line below if you want to write a filterscript
//#define FILTERSCRIPT
#if defined FILTERSCRIPT
public OnFilterScriptInit()
{
print("\n--------------------------------------");
print(" Blank Filterscript by your name here");
print("--------------------------------------\n");
return 1;
}
public OnFilterScriptExit()
{
return 1;
}
#else
main()
{
print("\n----------------------------------");
print(" Blank Gamemode by your name here");
print("----------------------------------\n");
}
#endif
public OnGameModeInit()
{
print("GameModeInit()");
SetGameModeText("Chilliad Madness");
AddPlayerClass(0,-1337.3860,457.2493,7.1875,357.6635,34,50,0,0,0,0);
AddStaticVehicle(595,-1441.7676,504.1941,0.2177,91.0889,112,20); // armyboat
AddStaticVehicle(595,-1440.8063,510.5264,0.2043,89.6635,112,20); // armyboat2
AddStaticVehicle(520,-1414.4436,495.0235,18.9563,316.0897,0,0); // hydra2
AddStaticVehicle(425,-1282.7461,496.4413,18.8133,56.6499,43,0); // hunter2
CreateObject(16082,-1432.7931,495.1765,18.9532,320.3869,320.3869,320.3869); //test
AddStaticVehicle(539,-1471.0013,455.4701,7.1808,1.1802,112,112); // patriot1
AddStaticVehicle(539,-1466.7762,455.5430,7.1796,2.4491,20,112); // patriot2
AddStaticVehicle(539,-1462.5156,455.6400,7.1771,1.9462,84,113); // patriot3
CreateObject(5130,-1335.093848,478.734528,8.201679,0.0,0.0,225.0); //bridge army new
CreateObject(16770,-1268.932739,457.854828,7.778059,0.0,0.0,0.0); //shootinrange
CreateObject(14620,-1227.536133,455.377899,6.641451,0.0,0.0,30.0); //shootinrange table
return 1;
}
public OnPlayerCommandText(playerid, cmdtext[]);
if(strcmp(cmdtext, "/gbot",true)==0)
{
CreateObject(1544,-1223.918091,456.908234,6.985775,0.0,0.0,0.0); //bottle green 1
CreateObject(1544,-1223.820679,458.456360,6.985775,0.0,0.0,0.0); //bottle green 2
CreateObject(1544,-1225.295166,451.858429,6.985775,0.0,0.0,0.0); //bottle green 3
CreateObject(1544,-1226.045166,450.608429,6.985775,0.0,0.0,0.0); //bottle green 4
return 1;
}
if(strcmp(cmdtext, "/rbot",true)==0)
{
CreateObject(1543,-1222.957520,459.142456,6.182988,0.0,0.0,0.0); //bottle red 1
CreateObject(1543,-1225.588501,465.457306,6.389360,0.0,0.0,0.0); //bottle red 2
CreateObject(1543,-1225.683960,449.825928,6.347894,0.0,0.0,0.0); //bottle red 3
return 1;
}
if(strcmp(cmdtext, "/bbot",true)==0)
{
CreateObject(1543,-1224.632935,463.867157,6.985775,0.0,0.0,0.0); //bottle black 1
CreateObject(1543,-1224.686890,463.961304,6.985775,0.0,0.0,0.0); //bottle black 2
CreateObject(1543,-1224.713745,464.056580,6.985775,0.0,0.0,0.0); //bottle black 3
CreateObject(1543,-1224.739380,464.145844,6.985775,0.0,0.0,0.0); //bottle black 4
CreateObject(1544,-1224.700317,464.009613,7.283471,0.0,0.0,0.0); //bottle white
CreateObject(1543,-1224.660156,463.908630,7.333857,0.0,0.0,0.0); //bottle black 5
CreateObject(1543,-1224.727051,464.101898,7.333857,0.0,0.0,0.0); //bottle black 6
CreateObject(1543,-1224.681396,464.024323,7.649799,0.0,0.0,0.0); //bottle black 7
return 1;
}