[pawn]
new bool:hahahe[MAX_PLAYERS];
public OnPlayerConnect(playerid)
{
hahahe[playerid] = true;
return 1;
}
public OnPlayerText(playerid,text)
{
if(hahahe[playerid] == true)
{
new str[128],name[24];
GetPlayerName(playerid,name,24);
format(str,128,\"%s: %s\",name,text);
SendClientMessageToAll(-mienszinûenakarod-,str);
return 0;
}
return 1;
}
[/pawn]
Rögtönzött de szerintem nincs benne hiba..