21.12.2013, 10:59
pawn Код:
// Global:
new
bool: First_Spawn[MAX_PLAYERS char];
// OnPlayerConnect:
First_Spawn{playerid} = true;
// OnPlayerSpawn:
if (First_Spawn{playerid})
{
ShowPlayerDialog(playerid, Radio, DIALOG_STYLE_MSGBOX, "Would you torn off the radio.", "Yes", "No");
First_Spawn{playerid} = false;
}