22.05.2016, 15:17
in game when i join it say
Example:
Martex [0][Admin: 10]: test
Martex [0]: test
i want if player admin only use the first one
and normal player the second one
Codes here:
Example:
Martex [0][Admin: 10]: test
Martex [0]: test
i want if player admin only use the first one
and normal player the second one
Codes here:
PHP код:
if(User[playerid][accountAdmin] > 1)
{
new stringbig[213];
format(stringbig,sizeof(stringbig),"%s [Admin: %d][%d]: {FF0000}%s",pName(playerid),User[playerid][accountAdmin],playerid, text);
SendClientMessageToAll(playerid,stringbig);
}
else
{
new stringbig[213];
format(stringbig,sizeof(stringbig),"[%d]: {FFFFFF}%s",playerid, text);
SendPlayerMessageToAll(playerid,stringbig);
}