Quote:
Originally Posted by MenaceX^
No not really it can't check the money of not connected people.
Quote:
Originally Posted by [DK
AzaxYo ]
Quote:
Originally Posted by Justas [SiJ
]
public OnGameModeInit()
{
SetTimer("UpdateScore",58000,1);
//Other stuff...
}
public UpdateScore()
{
for (new i = 0; i < MAX_PLAYERS; i++)
{
SetPlayerScore(i,GetPlayerMoney(i));
}
return 1;
}
Would IsPlayerConnected(i) change something?
|
Why GetPlayerMoney? Do you mean maybe GetPlayerScore? ![Cheesy](images/smilies/biggrin.png)
|
The level will never change if he does so.
if the level is 0, it sets again to 0.
If it's 1, it sets again to 1.
What's the point?
|
Maybe samp cannot show scores in client which value are very big (cause sometimes it is 1 000 000 )
EDIT: I just had score 500 and it showed ok.. And now I have 5000 and it shows 0.. So maybe it just cannot show big values?