SA-MP Forums Archive
I need help with GivePlayerScore error! - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: I need help with GivePlayerScore error! (/showthread.php?tid=323968)



I need help with GivePlayerScore error! - Reera - 07.03.2012

Problem solved!

Any admin close topic please!


Re: I need help with GivePlayerScore error! - Campbell- - 07.03.2012

https://sampwiki.blast.hk/wiki/SetPlayerScore


Re: I need help with GivePlayerScore error! - Reera - 07.03.2012

Quote:
Originally Posted by Campbell-
Посмотреть сообщение
That actually set his score, i dosen't give him score.
And i fixed the problem with this:
PHP код:
stock GivePlayerScore(playerid,Score)
{
SetPlayerScore(playerid,GetPlayerScore(playerid)+Score);

But now the text draw is gone and i dont get score.


Re: I need help with GivePlayerScore error! - Campbell- - 07.03.2012

Well, you didn't receive any errors so do you have the function 'GivePlayerScore' already defined somewhere?


Re: I need help with GivePlayerScore error! - Reera - 07.03.2012

Quote:
Originally Posted by Campbell-
Посмотреть сообщение
Well, you didn't receive any errors so do you have the function 'GivePlayerScore' already defined somewhere?
I just solved the problem.
I just placed the function wrong.

Thank you for trying to help me