Raised This Month: $ Target: $400
 0% 

I have error


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
DarkGod
SourceMod DarkCrab
Join Date: Jul 2007
Location: Sweden
Old 08-09-2010 , 09:52   Re: I have error
Reply With Quote #2

Something like this...

Code:
#include <amxmodx> #define PLUGIN "Timelimit" #define VERSION "1.0" #define AUTHOR "ZiruAl" new timelimit public plugin_init() {     register_plugin(PLUGIN, VERSION, AUTHOR)     register_clcmd( "say time", "Timelimite" );     register_clcmd( "say /time", "Timelimite" );     register_clcmd( "say_team time", "Timelimite" );       register_clcmd( "say_team /time", "Timelimite" );         timelimit = get_cvar_pointer("mp_timelimit") } public Timelimite( id ) {     if( is_user_alive( id ))     {         set_hudmessage(200, 255, 255, 0.70, 0.0, 0, 6.0)         show_hudmessage(id, "Timeleft: %i", get_pcvar_num(timelimit) - floatround(get_gametime() / 60)  )     } }
__________________

Last edited by DarkGod; 08-09-2010 at 09:55.
DarkGod is offline
Send a message via AIM to DarkGod Send a message via MSN to DarkGod
 



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 00:16.


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