OnPlayertext
#1

Hello all,

i want to make a thing so when you talk in chat that it shows ur ID.
i did this code but dont working

new name[128];
GetPlayerName(playerid, name, sizeof(name));
new string[128];
format(string, sizeof(string), "%s( %s): %s", name, playerid, text);
SendClientMessage(playerid, GetPlayerColor(playerid), text);


I hope someone can help me.
Thanks!
Reply


Messages In This Thread
OnPlayertext - by NeverKnow - 21.09.2010, 14:32
Re: OnPlayertext - by Mauzen - 21.09.2010, 14:36
Re: OnPlayertext - by Rachael - 21.09.2010, 14:46
Re: OnPlayertext - by NeverKnow - 22.09.2010, 19:04
Re: OnPlayertext - by Vince - 22.09.2010, 20:11
Re: OnPlayertext - by NeverKnow - 03.10.2010, 07:55
Re: OnPlayertext - by playbox12 - 03.10.2010, 08:14

Forum Jump:


Users browsing this thread: 1 Guest(s)