Ladmin2 Score Save
#1

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.
Reply
#2

PAWN is case sensitive, so the "GetPlayerscore" is "GetPlayerScore".
Reply
#3

hmm can you explain me some more ?

"GetPlayerscore" is "GetPlayerScore".
Reply
#4

What's so hard to understand?

"GetPlayerscore" should be "GetPlayerScore"
Reply
#5

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.
Reply
#6

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


Helped?
Reply
#7

Код:
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.
Reply
#8

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


Helped?
Reply
#9

btw i dint find any code like this:

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

Код:
SetPlayerScore(player1, 0);
Reply
#10

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
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)