SetPlayerScore problem..
#6

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?
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?
Reply


Messages In This Thread
SetPlayerScore problem.. - by SiJ - 04.08.2009, 14:20
Re: SetPlayerScore problem.. - by XtremeChio - 04.08.2009, 14:24
Re: SetPlayerScore problem.. - by SiJ - 04.08.2009, 14:34
Re: SetPlayerScore problem.. - by Dark_Kostas - 04.08.2009, 14:37
Re: SetPlayerScore problem.. - by MenaceX^ - 04.08.2009, 14:38
Re: SetPlayerScore problem.. - by SiJ - 04.08.2009, 14:41
Re: SetPlayerScore problem.. - by Dark_Kostas - 04.08.2009, 14:47
Re: SetPlayerScore problem.. - by SiJ - 04.08.2009, 14:56

Forum Jump:


Users browsing this thread: 2 Guest(s)