Raised This Month: $ Target: $400
 0% 

TimeLeft & ScoreMessage:


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
Shinya.
Member
Join Date: Jun 2017
Location: Morocco
Old 06-23-2017 , 16:46   TimeLeft & ScoreMessage:
Reply With Quote #1

Hello guys, what is the problem with my code?
sorry if it is the wrong thread!

PHP Code:
/* Script generated by Pawn Studio */

#include < amxmodx >
#include < dodx.inc >

enum {
    
XMF_DAMAGE 0,
    
XMF_DEATH,
    
XMF_SCORE,
};

public 
plugin_init( )
{
    
register_plugin"Timeleft & Team Score""b0.1""Shinya." );
    
set_task(1.0"SHOW_HUD"___"a"); 
}

public 
SHOW_HUDid )
{
    new 
szTimeLeft get_timeleft( );
    new 
szTeamScore dod_get_user_scoreid );
    
    
set_hudmessage(1651651650.340.0206.01.0)
    
show_hudmessage(id"Time's Left: %i"szTimeLeft)
    
    
set_hudmessage(255000.160.0706.01.0)
    
show_hudmessage(id"Score: %d"szTeamScore)
    


Last edited by Shinya.; 06-23-2017 at 18:31.
Shinya. is offline
 


Thread Tools
Display Modes

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 22:56.


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