Raised This Month: $ Target: $400
 0% 

Restarted scripting,some problems :S


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
c0rdawg
Senior Member
Join Date: Jan 2006
Old 02-28-2006 , 16:16  
Reply With Quote #9

This compiles

Code:
/* Plugin generated by AMXX-Studio */ #include <amxmodx> #include <amxmisc> #define PLUGIN "Announce + Client info" #define VERSION "1.0" #define AUTHOR "Broertje" public plugin_init() {     register_plugin(PLUGIN, VERSION, AUTHOR)     } public client_putinserver(id)     {     new name[33]     get_user_name(id,name,32)     if(is_user_admin(id))         {         set_hudmessage(255, 0, 0, -1.0, 0.0, 0, 6.0, 12.0)         show_hudmessage(0, "%s has joined the n00bs",name)                 return PLUGIN_HANDLED     }         set_hudmessage(85, 255, 0, 0.00, -1.0, 0, 6.0, 12.0)     show_hudmessage(0,"Welcome %s. Have fun here!",name)         return PLUGIN_HANDLED } public client_disconnect(id)     {     new name[33]     get_user_name(id,name,32)     if(is_user_admin(id))         {         set_hudmessage(255, 0, 0, -1.0, 0.0, 0, 6.0, 12.0)         show_hudmessage(0, "%s has left the house",name)                 return PLUGIN_HANDLED     }         set_hudmessage(85, 255, 0, 0.00, -1.0, 0, 6.0, 12.0)     show_hudmessage(0,"%s has left. Goodbye!",name)         return PLUGIN_HANDLED } public advertising(id)     {     new ping, loss, curtime     get_user_ping(id,ping, loss)     get_user_time(id,curtime)     if(is_user_alive(id))         if(is_user_connected(id))         {         client_print(id, print_chat, "Your ping is: %s , You've been playing: %s on server.",ping,curtime)     } }
c0rdawg is offline
Send a message via AIM to c0rdawg Send a message via MSN to c0rdawg
 



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 20:23.


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