14.11.2012, 05:03
What about this? I still get the same sort of problem, the words just come AFTER your name not UNDER, like this;
Heres the code so far;
Код:
Now - Socan: Socan[0]:Test
Before -Socan:Socan[0]:Test
Socan:Test
Код:
public OnPlayerText(playerid, text[])
{
new textv2[128], name[MAX_PLAYER_NAME];
GetPlayerName(playerid, name, sizeof (name));
if(PlayerMuted[playerid] == 1) {
GameTextForPlayer(playerid,"~n~~r~ERROR:~n~~y~You are muted!", 1000, 1);
return 0;
}
format(textv2, sizeof (textv2), "%s[%d]: %s", name, playerid, text);
SendPlayerMessageToAll(playerid, textv2);
return 0;
}

