Raised This Month: $ Target: $400
 0% 

equali with cvar


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
shino
Senior Member
Join Date: May 2006
Old 07-02-2006 , 12:28   equali with cvar
Reply With Quote #1

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?
shino is offline
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 08:02.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode