26.05.2009, 20:14
You don't have 'i' defined.
If you want to set score for everyone then you should do like this:
Or for one player:
Edit: Weirdosport was faster
pawn Code:
public Score()
{
SetPlayerScore(i,1);
}
pawn Code:
public Score()
{
for(new i = 0; i < MAX_PLAYERS, i++)
{
SetPlayerScore(i,1);
}
}
pawn Code:
public Score(playerid)
{
SetPlayerScore(playerid,1);
}
