#include <a_samp>
new armyclose;
new army;
#define COLOR_YELLOW 0xFFFF00AA
#if defined FILTERSCRIPT
public OnFilterScriptInit()
{
print("\n-----------eGoR-------------------");
print("----------www.samp-rus.com----------");
print("-------------eGoR-----------------\n");
return 1;
}
public OnFilterScriptExit()
{
return 1;
}
#else
main()
{
print("\n-----------eGoR-------------------");
print("----------www.samp-rus.com----------");
print("-------------eGoR-----------------\n");
}
#endif
public OnGameModeInit()
{
CreateObject(9625,1465.526123,-689.972961,94.750000,0.000000,0.000000,179.927780);
return 1;
}
public OnGameModeExit()
{
return 1;
}
public OnPlayerConnect(playerid)
{
SendClientMessage(playerid,COLOR_YELLOW,"Besucht mal unser Forum: www.Dread-Reallife.de.vu");
return 1;
}
public OnPlayerCommandText(playerid, cmdtext[])
{
if (strcmp(cmdtext, "/armyclose", true) == 0){
MoveObject(army, -1531.323120, 482.229584, 3.167624, 2.5);
return 1;
}
if (strcmp(cmdtext, "/armyopen", true) == 0){
MoveObject(armyclose, 2337.110840, 2447.060059, 4.950408, 2.5);
return 1;
}
return 0;
}