SA-MP Forums Archive
Ladmin2 Score Save - 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Ladmin2 Score Save (/showthread.php?tid=114912)



Ladmin2 Score Save - rs2fun111 - 21.12.2009

i Changed all giveplayermoney to giveplayerscore and getplayermoney to getplayerscore

but i got some errors can someone help?

Код:
D:\GTA San Andreas\filterscripts\ladmin2.pwn(617) : error 017: undefined symbol "GivePlayerscore"
D:\GTA San Andreas\filterscripts\ladmin2.pwn(676) : error 017: undefined symbol "GivePlayerscore"
D:\GTA San Andreas\filterscripts\ladmin2.pwn(711) : error 017: undefined symbol "GetPlayerscore"
D:\GTA San Andreas\filterscripts\ladmin2.pwn(2056) : error 017: undefined symbol "GetPlayerscore"
D:\GTA San Andreas\filterscripts\ladmin2.pwn(3039) : error 017: undefined symbol "ResetPlayerscore"
D:\GTA San Andreas\filterscripts\ladmin2.pwn(3039) : error 017: undefined symbol "GivePlayerscore"
D:\GTA San Andreas\filterscripts\ladmin2.pwn(3282) : error 017: undefined symbol "ResetPlayerscore"
D:\GTA San Andreas\filterscripts\ladmin2.pwn(3329 -- 3330) : error 017: undefined symbol "GetPlayerscore"
D:\GTA San Andreas\filterscripts\ladmin2.pwn(3643) : error 017: undefined symbol "ResetPlayerscore"
D:\GTA San Andreas\filterscripts\ladmin2.pwn(3643) : error 017: undefined symbol "GivePlayerscore"
D:\GTA San Andreas\filterscripts\ladmin2.pwn(3666) : error 017: undefined symbol "GivePlayerscore"
D:\GTA San Andreas\filterscripts\ladmin2.pwn(4812) : error 017: undefined symbol "GetPlayerscore"
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


12 Errors.



Re: Ladmin2 Score Save - Correlli - 21.12.2009

PAWN is case sensitive, so the "GetPlayerscore" is "GetPlayerScore".


Re: Ladmin2 Score Save - rs2fun111 - 21.12.2009

hmm can you explain me some more ?

"GetPlayerscore" is "GetPlayerScore".


Re: Ladmin2 Score Save - Correlli - 21.12.2009

What's so hard to understand?

"GetPlayerscore" should be "GetPlayerScore"


Re: Ladmin2 Score Save - rs2fun111 - 21.12.2009

Changed them but now 8 errors

Код:
D:\GTA San Andreas\filterscripts\ladmin2.pwn(617) : error 017: undefined symbol "GivePlayerScore"
D:\GTA San Andreas\filterscripts\ladmin2.pwn(676) : error 017: undefined symbol "GivePlayerScore"
D:\GTA San Andreas\filterscripts\ladmin2.pwn(3039) : error 017: undefined symbol "ResetPlayerScore"
D:\GTA San Andreas\filterscripts\ladmin2.pwn(3039) : error 017: undefined symbol "GivePlayerScore"
D:\GTA San Andreas\filterscripts\ladmin2.pwn(3282) : error 017: undefined symbol "ResetPlayerScore"
D:\GTA San Andreas\filterscripts\ladmin2.pwn(3643) : error 017: undefined symbol "ResetPlayerScore"
D:\GTA San Andreas\filterscripts\ladmin2.pwn(3643) : error 017: undefined symbol "GivePlayerScore"
D:\GTA San Andreas\filterscripts\ladmin2.pwn(3666) : error 017: undefined symbol "GivePlayerScore"
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


8 Errors.



Re: Ladmin2 Score Save - Jeffry - 21.12.2009

pawn Код:
SetPlayerScore
instead of GivePlayerScore.
pawn Код:
SetPlayerScore(playerid, 0);
instead of ResetPlayerScore


Helped?


Re: Ladmin2 Score Save - rs2fun111 - 21.12.2009

Код:
D:\GTA San Andreas\filterscripts\ksf_savescore.pwn(3069) : error 017: undefined symbol "GivePlayerScore"
D:\GTA San Andreas\filterscripts\ksf_savescore.pwn(3279) : error 017: undefined symbol "ResetPlayerScore"
D:\GTA San Andreas\filterscripts\ksf_savescore.pwn(3616) : error 017: undefined symbol "GivePlayerScore"
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


3 Errors.



Re: Ladmin2 Score Save - wafffllesss - 21.12.2009

Quote:
Originally Posted by Jeffry
pawn Код:
SetPlayerScore
instead of GivePlayerScore.
pawn Код:
SetPlayerScore(playerid, 0);
instead of ResetPlayerScore


Helped?



Re: Ladmin2 Score Save - rs2fun111 - 21.12.2009

btw i dint find any code like this:

Код:
SetPlayerScore(playerid, 0);
got only this

Код:
SetPlayerScore(player1, 0);



Re: Ladmin2 Score Save - wafffllesss - 21.12.2009

Quote:
Originally Posted by rs2fun111
btw i dint find any code like this:

Код:
SetPlayerScore(playerid, 0);
You have to do SetPlayerScore(playerid, 0); instead of ResetPlayerScore. as Jeffry said