11.05.2012, 21:53
To show it once, you could create a variable...
EG:
Edit: Above, you beat me. Nice
EG:
pawn Код:
new BoxShown[MAX_PLAYERS];
public OnPlayerConnect(playerid)
{
BoxShown[playerid] = 0;
}
if(IsPlayerInRangeOfPoint(playerid, 5.0, 1629.9722,147.9344,35.5146))
{
if(BoxShown[playerid] == 0) //This checks if the box is allowed to be shown.
{
CreateBox(playerid, "info", "Welcome to las venturas");
BoxShown[playerid] = 1; //This states that the box shouldn't be shown again.
}
}
