18.08.2009, 00:50
On top of the script.
OnPlayerConnect
OnPlayerSpawn
pawn Код:
new dontspeak[MAX_PLAYERS];
pawn Код:
dontspeak[playerid] = 1;
pawn Код:
public OnPlayerText(playerid, text[])
{
if(dontspeak[playerid] == 1)
{
SendClientMessage(playerid, COLOR_BRIGHTRED, "You can't speak now, please spawn first!");
return 0;
}
return 1;
}
pawn Код:
dontspeak[playerid] = 0;

