06.02.2012, 01:56
So I have no errors compiling the script but I have the problem.
When player reaches 11 score it starts spamming him with this. It gives his all this things every second....
Code:
When player reaches 11 score it starts spamming him with this. It gives his all this things every second....
Code:
PHP код:
public OnPlayerUpdate(playerid)
if(GetPlayerScore(playerid) == 11)
{
GivePlayerMoney(playerid, 1000);
SendClientMessage(playerid, COLOR_LIGHTBLUE, "<!>Congradulations! You have reached 10 score and you have became Private 2!");
SendClientMessage(playerid, COLOR_LIGHTBLUE, "<!>You have been awarded with 1000$!");
return 1;
}