07.03.2018, 12:31
I don't know why, it just doesn't work, it sends this message on global chat
"@ t"
and everyone can see it.
"@ t"
and everyone can see it.
Код:
if(text[0] == '@' && pInfo[playerid][Admin] < 1) { foreach(new i : Player) { new str[128]; format(str, sizeof(str), "{F781F3}(ADMIN CHAT) %s(%d): %s", PlayerName[playerid],playerid, str); SendMessageToAdmins(str); if(pInfo[playerid][Admin] > 0) { SendClientMessage(i, 0x66CC66FF, str); } } } return 0; }