how to fix this error? help Konstantinos - 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: how to fix this error? help Konstantinos (
/showthread.php?tid=469708)
how to fix this error? help Konstantinos -
Muslimzz - 14.10.2013
line= GivePlayerScore(player1,-1);
error=(1926) : error 017: undefined symbol "GivePlayerScore"
Re: how to fix this error? -
Sublime - 14.10.2013
pawn Код:
stock GivePlayerScore(playerid,Score)
{
SetPlayerScore(playerid,GetPlayerScore(playerid)+Score);
}
Re: how to fix this error? help Konstantinos -
[LCK]Chris - 14.10.2013
SetPlayerScore(playerid,-1);
But if you want GivePlayerScore then heres a function i wrote for you.
Quote:
#define GivePlayerScore(%1,%2) SetPlayerScore(%1,GetPlayerScore(%1)+%2)
|
put this at the top of your script
Re: how to fix this error? help Konstantinos -
Muslimzz - 14.10.2013
thanku my bro i make you admin in my server ok plz give me your skype name