Pease Help Me in My New Plugin
Hi AlliedModders!
I tried to create a plugin which shows a player's name and IP address here is the code /* Plugin generated by AMXX-Studio */ #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") // Add your code here... } public infozone(){ set_hudmessage(0, 255, 0, -1.0, -1.0) show_hudmessage(0 ,get_user_name(, , )+" recently connected to this server^n"+get_user_name+(, ,)"\'s IP is "+get_user_ip(, ,)) } So please can anyone debug it... :wink: |
Re: Pease Help Me in My New Plugin
infozone never gets called and you are using the functions get_user_name and get_user_ip incorrectly
|
Re: Pease Help Me in My New Plugin
write /info will shou name and ip :D
code : PHP Code:
|
Re: Pease Help Me in My New Plugin
Why are you formating string in Java style, when Pawn Language supports only c format style
|
Re: Pease Help Me in My New Plugin
thanks LordOfNothing.......
Now the plugin works |
Re: Pease Help Me in My New Plugin
Quote:
|
Re: Pease Help Me in My New Plugin
Quote:
|
Re: Pease Help Me in My New Plugin
Quote:
|
| All times are GMT -4. The time now is 23:19. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.