22.02.2013, 12:13
karni you could like this
pawn Код:
//commands
if(strcmp("/gmx",cmdtext,true) == 0)
{
if(!IsPlayerAdmin(playerid) && Ad[playerid][Level] < 20) return SendClientMessage(playerid,0xff0000ff,"тм оръ мбцт фчегд же тмйк мдйеъ агойп бшод 20");
StartCD = SetTimer("startgmx",10000,0); //countdown 10 seconds
new string[1];
format(string,sizeof(string),"тщд айфес мщшъ %s ордм дщшъ",GetName(playerid));
SendClientMessageToAll(0xff9900ff,string);
return 1;
}
//call back
forward startgmx();
public startgmx()
{
SendRconCommand("gmx");
return 1;
}