Raised This Month: $ Target: $400
 0% 

Hiding Timer AND Money


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
hlstriker
Green Gaben
Join Date: Mar 2006
Location: OH-IO!
Old 11-10-2007 , 20:47   Re: Hiding Timer AND Money
Reply With Quote #1

Very nice that worked

Thanks a ton, Alka!
hlstriker is offline
CAMEL
BANNED
Join Date: Dec 2007
Location: ANEAXSLAND
Old 12-09-2007 , 20:59   Re: Hiding Timer AND Money
Reply With Quote #2

Can u do a plugin for hide the money plz.. =$.. I don't know a lot of scripting =$
CAMEL is offline
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 12-09-2007 , 21:37   Re: Hiding Timer AND Money
Reply With Quote #3

Quote:
Originally Posted by CAMEL View Post
Can u do a plugin for hide the money plz.. =$.. I don't know a lot of scripting =$
Try this. Not tested.

Code:
    #include <amxmodx>         #define REMOVE_CROSSHAIR  0     #define HIDE_MONEY ( 1 << 5 )         new         g_iMsg_HideWeapon,         g_iMsg_Crosshair;         public plugin_init()     {         register_plugin( "Hide Money", "1.0", "Arksine" );         register_event( "ResetHUD", "eResethud", "be" );                 g_iMsg_HideWeapon = get_user_msgid( "HideWeapon" );         g_iMsg_Crosshair  = get_user_msgid( "Crosshair"  );     }         public eResetHud( id )     {         if( !is_user_connected( id ) )             return;         static Float:flast_time;         new Float:fCur_time = get_gametime();           if( fCur_time == flast_time )             return;                     flast_time = fCur_time;             set_task( 0.1, "PostResethud", id );     }         public PostResethud( id )     {         if( !is_user_alive( id ) )             return;                 HideMoney( id );     }         public HideMoney( id )     {         message_begin( MSG_ONE, g_iMsg_HideWeapon, _, id );         write_byte( HIDE_MONEY );         message_end();         message_begin( MSG_ONE, g_iMsg_Crosshair, _, id );         write_byte( REMOVE_CROSSHAIR );         message_end();     }
__________________
Arkshine is offline
Reply



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


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