SA-MP Forums Archive
Stock - 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: Stock (/showthread.php?tid=536677)



Stock - FishyZ - 11.09.2014

This is in the bottom of the script

Quote:

stock GivePlayerScore(playerid, scorenumber)
{
SetPlayerScore(playerid, GetPlayerScore(playerid) + scorenumber);
return 1;
}

Error
Quote:

C:\Users\Azozy\Desktop\Pawno\gamemodes\tdm.pwn(87) : error 017: undefined symbol "GivePlayerScore"

Line
Quote:

GivePlayerScore(killerid,1);




Re: Stock - FishyZ - 11.09.2014

Bump!


Re: Stock - [D]ry[D]esert - 11.09.2014

The place where you put the function is wrong.
Change it to somewhere better.