SA-MP Forums Archive
Undefined symbol "GetPlayerArea" - 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: Undefined symbol "GetPlayerArea" (/showthread.php?tid=382147)



Undefined symbol "GetPlayerArea" - tsonn1 - 02.10.2012

Hi!
I'm getting the next error compiling my script:
pawn Код:
C:\Program Files (x86)\Rockstar Games\GTASanAndreas\SAMP Server\gamemodes\rp.pwn(29020) : error 017: undefined symbol "GetPlayerArea"
Here's the lines:
pawn Код:
29019:   new string[128];
29020:   format(string, sizeof(string),"%s", GetPlayerArea(i));
29021:   TextDrawSetString(Text:LocationDraw[i], string);



Re: Undefined symbol "GetPlayerArea" - Maniek - 02.10.2012

You need to find somethink like this:
Код:
public GetPlayerArea(playerid)
{
//some code here.
}
and paste


Re: Undefined symbol "GetPlayerArea" - Lordzy - 02.10.2012

You must have the GetPlayerArea stock or public function.