PHP Code:
new gCommandUses[ 33 ];
public plugin_init()
register_clcmd( "command", "command_function" );
public command_function( id )
{
gCommandUses[id]++;
//...
}
lol ok example ill use this :
PHP Code:
new gCommandUses[ 33 ];
public plugin_init()
register_clcmd( say /hi", "command_function" );
public command_function( id )
{
gCommandUses[id]++;
//...
}
now a if:
if(gCommandUses[id] == 5 ) <<< is this right?
__________________