31.07.2011, 04:37
Код:
public OnPlayerCommandPerformed(playerid, cmdtext[], success) { if( GetPVarInt( playerid,"AntiCommand" )> GetTickCount( ) ) { SendClientMessage( playerid, 0xFF0000FF ,"Please don't spamm" ); return 0; } SetPVarInt( playerid,"AntiCommand",GetTickCount( )+2000 ); if ( !success ) { SendClientMessage(playerid, COLOR_YELLOW,"This command no exist.All command /cmd"); } return 1; }