public OnPlayerText(playerid,text[]) { new szChat[144]; if(APlayerData[playerid][PlayerLevel] >= 1) format(szChat,sizeof (szChat),\"[Admin]{%06x}%s{007f9c}(%d): {ffffff}%s\", GetPlayerColor(playerid) >>> 8, pName(playerid), playerid, text); else{ if(APlayerData[playerid][PlayerLevel] == 5) format(szChat,sizeof (szChat),\"[Vip]{%06x}%s{007f9c}(%d): {ffffff}%s\", GetPlayerColor(playerid) >>> 8, pName(playerid), playerid, text); else format(szChat,sizeof (szChat),\"{%06x}%s{007f9c}(%d): {ffffff}%s\", GetPlayerColor(playerid) >>> 8, pName(playerid), playerid, text);//Ez pedig az a rész hogy ha se nem Admin se nem V.I.P. akkor is küldjön üzenetet } SendClientMessageToAll(-1, szChat); return 0;}//Ha ilyened már van vedd ki.stock pName(playerid) {new name[24];GetPlayerName(playerid,name,24);return name;}
C:\\Users\\user\\Desktop\\pawno\\include\\PPC_Dialogs.inc(530) : warning 219: local variable \"pName\" shadows a variable at a preceding levelC:\\Users\\user\\Desktop\\pawno\\include\\PPC_Dialogs.inc(607) : warning 219: local variable \"pName\" shadows a variable at a preceding levelC:\\Users\\user\\Desktop\\pawno\\include\\PPC_Dialogs.inc(673) : warning 219: local variable \"pName\" shadows a variable at a preceding levelC:\\Users\\user\\Desktop\\pawno\\include\\PPC_Dialogs.inc(739) : warning 219: local variable \"pName\" shadows a variable at a preceding levelC:\\Users\\user\\Desktop\\pawno\\include\\PPC_Dialogs.inc(771) : warning 219: local variable \"pName\" shadows a variable at a preceding level
:\\Users\\user\\Desktop\\sajat2.pwn(1765) : warning 217: loose indentationC:\\Users\\user\\Desktop\\sajat2.pwn(1765) : warning 202: number of arguments does not match definitionC:\\Users\\user\\Desktop\\sajat2.pwn(1765) : warning 202: number of arguments does not match definitionC:\\Users\\user\\Desktop\\sajat2.pwn(1767) : warning 202: number of arguments does not match definitionC:\\Users\\user\\Desktop\\sajat2.pwn(1767) : warning 202: number of arguments does not match definitionC:\\Users\\user\\Desktop\\sajat2.pwn(1768) : warning 202: number of arguments does not match definitionC:\\Users\\user\\Desktop\\sajat2.pwn(1768) : warning 202: number of arguments does not match definition
if(APlayerData[playerid][PlayerLevel] >= 1) format(szChat,sizeof (szChat),\"[Admin]{%06x}%s{007f9c}(%d): {ffffff}%s\", GetPlayerColor(playerid) >>> 8, GetPlayerName(playerid), playerid, text);
if(APlayerData[playerid][PlayerLevel] == 5) format(szChat,sizeof (szChat),\"[Vip]{%06x}%s{007f9c}(%d): {ffffff}%s\", GetPlayerColor(playerid) >>> 8, GetPlayerName(playerid), playerid, text);
else format(szChat,sizeof (szChat),\"{%06x}%s{007f9c}(%d): {ffffff}%s\", GetPlayerColor(playerid) >>> 8, GetPlayerName(playerid), playerid, text);
new neve[MAX_PLAYER_NAME];GetPlayerName(playerid, neve, sizeof(neve));
if(APlayerData[playerid][PlayerLevel] >= 1) format(szChat,sizeof (szChat),\"[Admin]{%06x}%s{007f9c}(%d): {ffffff}%s\", GetPlayerColor(playerid) >>> 8, neve, playerid, text);
if(APlayerData[playerid][PlayerLevel] == 5) format(szChat,sizeof (szChat),\"[Vip]{%06x}%s{007f9c}(%d): {ffffff}%s\", GetPlayerColor(playerid) >>> 8, neve, playerid, text);
else format(szChat,sizeof (szChat),\"{%06x}%s{007f9c}(%d): {ffffff}%s\", GetPlayerColor(playerid) >>> 8, neve, playerid, text);