17.03.2013, 12:23
Can I have two OnPlayerCommandText somehow? or how do I make so I have two..
Код:
public OnPlayerCommandText(playerid, cmdtext[]) { new string[128]; SpamStrings[playerid] +=2; if(SpamStrings[playerid] >= MAX_SPAM) { format(string,sizeof(string),"Please do not spam in %s. Please wait before typing again.",sabbv); SendClientMessage(playerid, COLOR_ERROR, string); return 1; }
Код:
public OnPlayerCommandText(playerid, cmdtext[]) { dcmd(siren,5,cmdtext); return 1; }