Raised This Month: $ Target: $400
 0% 

Help mode CT Rounds


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Exolent[jNr]
Veteran Member
Join Date: Feb 2007
Location: Tennessee
Old 06-14-2012 , 10:15   Re: Help mode CT Rounds
Reply With Quote #6

Quote:
Originally Posted by hornet View Post
Do you mean like this?
Code:
//in plugin_init()     register_clcmd( "say /round", "Cmd_Round" ); // public Cmd_Round( id ) {     new szArg[ 32 ];     read_argv( 1, szArg, charsmax( szArg ) );         new iTarget = cmd_target( id, szArg, CMDTARGET_ALLOW_SELF );         if( iTarget )     {         get_user_name( iTarget, szArg, charsmax( szArg ) );         client_print( id, print_chat, "Player %s has played CT for %i / 15 rounds", szArg, CTRounds[ iTarget ] );     }     else     {         client_print( id, print_chat, "Player not found" );     } }
That's not how you use say command arguments, therefore will not work.
__________________
No private work or selling mods.
Quote:
Originally Posted by xPaw View Post
I love you exolent!
Exolent[jNr] 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 06:17.


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