Posts: 143
Threads: 4
Joined: Dec 2014
Quote:
Originally Posted by Cerealguy
I not see a tutorial, I see a broken script without offending
i think:
pawn Код:
public OnPlayerText(playerid, text[]) { new string[128], name[MAX_PLAYER_NAME] ; GetPlayerName(playerid, name, sizeof(name)); if(PlayerInfo[playerid][pAdmin] >= 1) { format(string,sizeof(string),"{993300}[ADMIN] {33CC99}%s {999999}[%i]: {FFFFFF}%s", name, playerid, text); SendClientMessageToAll(GetPlayerColor(playerid), string); return 0; } else if(PlayerInfo[playerid][pDonator] >= 1) { format(string,sizeof(string),"{FF6600}[DONATOR] {990099}%s {999999}[%i]: {FFFFFF}%s", name, playerid, text); SendClientMessageToAll(GetPlayerColor(playerid), string); return 0; } else { format(string,sizeof(string),"%s {999999}[%i]: {FFFFFF}%s", name, playerid, text); SendClientMessageToAll(GetPlayerColor(playerid), string); return 0; } return 1; }
|
Total correct, People should first learn and then teach.