SetPlayerScore problem..
#5

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?
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: 1 Guest(s)