Client Connect Messages......
I want a plugin which displays chat messages to a specific client when he connects......
below is my code /* Plugin generated by AMXX-Studio */ #include <amxmodx> #include <amxmisc> #define PLUGIN "Client connect messages" #define VERSION "1.0" #define AUTHOR "AssAssIN_IMpossible" public plugin_init() { register_plugin(PLUGIN, VERSION, AUTHOR) // Add your code here... } public client_connect(id) { client_print(id, print_chat, "[DHASSASSINS] A new client just joined the gaming competition") } I want a hudmessage which shows the player name and player IP /* I am expert in Java and a beginner with pawn and c++*/ |
Re: Client Connect Messages......
Code:
public client_connect(id)-------------> Code:
public client_connect(id) |
Re: Client Connect Messages......
Nope.
client_putinserver + set_task. |
Re: Client Connect Messages......
Not tested, but should work.
EDIT: Changed PHP Code:
PHP Code:
PHP Code:
PHP Code:
|
Re: Client Connect Messages......
in CmdShowHud, you must to check if user is still connected
gUserName is bad created, look it, it's a string with no lenght |
Re: Client Connect Messages......
Quote:
Works without it, but thx anyways. :) |
| All times are GMT -4. The time now is 23:13. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.