Raised This Month: $ Target: $400
 0% 

add cvar number in message


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
Burnzy
Veteran Member
Join Date: Apr 2004
Old 07-17-2004 , 10:56   add cvar number in message
Reply With Quote #1

How would u add a cvar number in a text message

Code:
new WAITTIME[32]

Code:
    if( waiting_time[id]==true )     {         get_cvar_num("sv_tmine_wait",WAITTIME,31)         client_print( id, print_chat, "You have to wait %s seconds before you can plant another mine.",WAITTIME)         return PLUGIN_HANDLED     }

Code:
    register_cvar("sv_tmine_wait","10")

when i compiled it, it would give me arguments
Attached Files
File Type: sma Get Plugin or Get Source (amx_tripmine.sma - 187 views - 9.7 KB)
__________________
Burnzy is offline
Send a message via AIM to Burnzy
 



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 14:45.


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