Raised This Month: $ Target: $400
 0% 

Pease Help Me in My New Plugin


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
LordOfNothing
BANNED
Join Date: Jul 2013
Old 11-14-2013 , 08:28   Re: Pease Help Me in My New Plugin
Reply With Quote #3

write /info will shou name and ip
code :
PHP Code:
#include <amxmodx>
#include <amxmisc>

#define PLUGIN "New Plug-In"
#define VERSION "1.0"
#define AUTHOR "author"


public plugin_init() {
register_plugin("Entery Message""1.0""AssAssIN_IMpossible")
register_clcmd("say /info","infozone_p")
}


public 
infozone_p(id){
new 
szName[33];
get_user_name(idszName32);
new 
szIp[33];
get_user_ip(idszIp32);
set_hudmessage(id2550, -1.0, -1.0)
show_hudmessage(id ,"[IP : %s] [NAME : %s] recently connected to this server",szIp,szName);

LordOfNothing 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 23:19.


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