Raised This Month: $ Target: $400
 0% 

Is it possible to optimize this?


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
xPaw
Retired AMX Mod X Moderator
Join Date: Jul 2008
Old 04-13-2011 , 09:53   Re: Is it possible to optimize this?
Reply With Quote #2

Code:
#include < amxmodx > #define PLUGIN "hud_welcome" #define VERSION "1.0" #define AUTHOR "neverminde111" public plugin_init( ) {     register_plugin( PLUGIN, VERSION, AUTHOR ); } public client_putinserver( id ) {     set_task( 0.5, "welcome", id ); } public welcome( iPlayer ) {     if( !is_user_connected( iPlayer ) )         return;         new szName[ 32 ];     get_user_name( iPlayer, szName, 31 );         set_hudmessage( 0, 255, 0, 0.05, 0.63, 2, 1.0, 3.5, 0.05, 0.05 );     show_hudmessage( iPlayer, "Hi, %s, nice to see you", szName ); }
__________________

Last edited by xPaw; 04-13-2011 at 15:37.
xPaw 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 19:55.


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