08.11.2014, 12:43
As provided above in the last 2nd post, or declare a new global variable and do this:
pawn Код:
//Before your callbacks & commands
new HSent[MAX_PLAYERS] = 0;
public OnPlayerUpdate(playerid)
{
if(HSent[playerid] == 0)
{
if(GetPlayerScore(playerid) >= 100)
{
SendClientMessage(playerid, -1, "hey");
HSent[playerid] = 1;
}
}
return 1;
}

