Hi all, I need help because I'm trying to do something "I" complicated this problem and I've tried before, but with no solution, I'll post an example:
Code:
/* Plugin generated by AMXX-Studio */
#include <amxmodx>
#include <fakemeta>
#define PLUGIN "New Plug-In"
#define VERSION "1.0"
#define AUTHOR "author"
public plugin_init()
{
register_plugin(PLUGIN, VERSION, AUTHOR)
register_forward(FM_CmdStart, "CmdStart")
}
public CmdStart(Client)
{
if(is_user_connected(Client))
{
client_print(Client, print_chat, "Example...")
}
}
(Is an example), but when test it so to speak, has created many, many client_prints for every 0.1 seconds or so I think, and this happens to me with almost everything I do in this type of forwards, as PlayerPreThink, PlayerPostThink , FM_CmdStart and FM_Spawn. Tell me if there is a healthier way to do it because I like to create plugins that take these or other types of data without creating many client_prints or temporal entities.