22.02.2013, 12:08
How do I do after the count will be the command GMX?
Tnx alot for who's help!
PHP код:
if(strcmp("/GMX",cmdtext,true) == 0)
{
if(!IsPlayerAdmin(playerid) && Ad[playerid][Level] < 20) return SendClientMessage(playerid,0xff0000ff,"тм оръ мбцт фчегд же тмйк мдйеъ агойп бшод 20");
gmx_time = 60;
StartCD = SetTimer("CountDown",1000,1);
new string[1];
format(string,sizeof(string),"тщд айфес мщшъ %s ордм дщшъ",GetName(playerid));
SendClientMessageToAll(0xff9900ff,string);
SendRconCommand("gmx");
return 1;
}