chat help
#7

For the first part:
PHP код:
new string[128], name[MAX_PLAYER_NAME];
GetPlayerName(playeridnamesizeof(name));
format(stringsizeof(string),"%s[%i]: %s"nameplayeridtext);
if (
PlayerIgnored[i][playerid] == 0SendClientMessage(iCOLOR_WHITEstring); 
For the get player colour:

PHP код:
new ptext[256], pname[MAX_PLAYER_NAME];
GetPlayerName(playeridpnamesizeof(pname));
format(ptextsizeof(ptext), "{%06x}%s[%d]:{FFFFFF} %s"GetPlayerColor(playerid) >>> 8pnameplayeridtext);
if (
PlayerIgnored[i][playerid] == 0SendClientMessage(,COLOR_WHITE,ptext); 
Reply


Messages In This Thread
chat help - by silverms - 15.04.2017, 20:48
Re: chat help - by DarkSkull - 15.04.2017, 20:55
Re: chat help - by silverms - 15.04.2017, 21:12
Re: chat help - by DarkSkull - 15.04.2017, 21:16
Re: chat help - by silverms - 15.04.2017, 21:25
Re: chat help - by silverms - 15.04.2017, 21:29
Re: chat help - by DarkSkull - 15.04.2017, 21:38
Re: chat help - by silverms - 15.04.2017, 22:04

Forum Jump:


Users browsing this thread: 2 Guest(s)