Hy all
1 error van amodban d enem tudom kijavitani :S:
error:
[pawn]dark.pwn(188) : error 001: expected token: \")\", but found \"-identifier-\"[/pawn]
sor:
[pawn]format(astring, sizeof(astring), \"{00FF00}[Admin] (%x)%s: {FFFFFF}%s\",ShiftRGBAToHex(GetPlayerColor(playerid)),PlayerName(playerid), text);[pawn]
egész OnPLayerText:
[pawn]public OnPlayerText(playerid, text[])
{
if(PlayerData[playerid][Muted]) return SendClientMessage(playerid, -1, \"Le vagy némítva, így nem veszélhetsz\"), 0;
if((PlayerData[playerid][Level] > 1)
format(astring, sizeof(astring), \"{00FF00}[Admin] (%x)%s: {FFFFFF}%s\",ShiftRGBAToHex(GetPlayerColor(playerid)),PlayerName(playerid), text);
SendClientMessageToAll(FIXES_gsPlayerColors[(playerid % 30)], astring);
new name[MAX_PLAYER_NAME];
GetPlayerName(playerid,name,sizeof(name));
format(text,256,\"%s(%i) {FFFFFF}%s\",name,playerid,text);
SendClientMessageToAll(FIXES_gsPlayerColors[(playerid % 30)],text);
return 0;
}[/pawn]