so, here's the code:
Code:
public plugin_init() {
register_plugin( PLUGIN, VERSION, AUTHOR );
register_cvar( "amx_teamA", "A" );
register_clcmd( "say" , "check" );
}
public check() {
new CheckSay[126]
read_args( CheckSay, 125 );
remove_quotes( CheckSay );
if( equali( CheckSay, "%s ready", get_cvar_float( "amx_team") ) ) {
set_cvar_num( "sv_restartround", 1 );
}
}
it keeps throwing out warning on that line...
how should i use it?