| #8 SickneSS |
05-24-2010 14:22 |
Re: Chat Message Evry 30 sec
Quote:
Originally Posted by #8 SickneSS
(Post 1189936)
PHP Code:
#include <amxmodx>
public plugin_init() register_plugin( "W", "T", "F");
public client_connect(id) set_task(30.0, "Message", id, _, _, "b"); public Message(id) client_print( id, print_chat, "HI");
public client_disconnect(id) remove_task(id);
|
This will be show every 30 seconds after the player join to server.
Quote:
Originally Posted by drekes
(Post 1189938)
PHP Code:
public plugin_init() set_task(30.0, "ChatMessage", 0, _, _, "b")
public ChatMessage() client_print(0, print_chat, "Welcome to our server!")
|
This will be show every 30 seconds to all players.
Quote:
Originally Posted by Exolent[jNr]
(Post 1189942)
... Why is everyone posting an example of something so simple?
I already told him to use set_task(), and you can find out how to use it properly by going to the funcwiki.
|
Because some ppl don't understand all functions or don't know how to made it.
|