Score Wont Save
#10

Quote:
Originally Posted by Beryllium
Посмотреть сообщение
Well.

Here.

Write:
PHP код:
INI_WriteInt(File,"Score",GetPlayerScore(playerid)); 
Instead of:
PHP код:
INI_WriteInt(File,"Score",PlayerInfo[playerid][pScore]); 
That's in OnPlayerDisconnect.

And here.

PHP код:
INI_WriteInt(File,"Score",GetPlayerScore(playerid)); 
Instead of:

PHP код:
INI_WriteInt(File,"Score",PlayerInfo[playerid][pScore]); 
SetPlayerScore(playerid, PlayerInfo[playerid][pKill]);

TOTALLY WRONG!

It will set the player score only the kills that he made.

I suggest you to send me your source for a good solution for this problem.

Loose Indentation is even not a error, You can ignore it.
Thanks realy it works, rep++ both
Reply


Messages In This Thread
Score Wont Save - by RoX123 - 30.06.2017, 20:58
Re: Score Wont Save - by Eoussama - 30.06.2017, 21:09
Re: Score Wont Save - by RoX123 - 30.06.2017, 21:15
Re: Score Wont Save - by Eoussama - 30.06.2017, 22:12
Re: Score Wont Save - by RoX123 - 30.06.2017, 22:35
Re: Score Wont Save - by Toroi - 30.06.2017, 22:39
Re: Score Wont Save - by RoX123 - 30.06.2017, 22:47
Re: Score Wont Save - by RoX123 - 01.07.2017, 00:26
Re: Score Wont Save - by Beryllium - 01.07.2017, 02:05
Re: Score Wont Save - by RoX123 - 01.07.2017, 09:41

Forum Jump:


Users browsing this thread: 2 Guest(s)