Raised This Month: $ Target: $400
 0% 

Restarted scripting,some problems :S


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
broertje
Senior Member
Join Date: Mar 2005
Old 02-28-2006 , 14:57   Restarted scripting,some problems :S
Reply With Quote #1

Hi,i just restarted scripting and i tried to make a script without i relearned something.

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 new ping[33] new curtime[33] get_user_ping(id,ping,32) get_user_time(id,curtime,32) if(is_user_alive(id)) if(is_user_connected(0)) { client_print(id, print_chat, "Your ping is: %s , And the time: %s",ping,curtime) {
broertje 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 20:23.


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