\filterscripts\chris.pwn(13) : error 017: undefined symbol "playerid - 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: \filterscripts\chris.pwn(13) : error 017: undefined symbol "playerid (
/showthread.php?tid=274700)
\filterscripts\chris.pwn(13) : error 017: undefined symbol "playerid -
Meinstad - 06.08.2011
Hello, I need help with my filterscript
I think it should work, but I get error.
PHP код:
filterscripts\chris.pwn(13) : error 017: undefined symbol "playerid"
And on line 13;
PHP код:
SetPlayerMapIcon(playerid, 46, 1654.20, -1636.80, 83.78, 58, 0);
Please help.
Re: \filterscripts\chris.pwn(13) : error 017: undefined symbol "playerid -
SchurmanCQC - 06.08.2011
Did you put this in onfilterscriptinit?
OnFilterScriptInit does not return a playerid.
Re: \filterscripts\chris.pwn(13) : error 017: undefined symbol "playerid -
Meinstad - 06.08.2011
I putted it there yes. So where should I put it ? I tryed on OnGameModeInit also
Re: \filterscripts\chris.pwn(13) : error 017: undefined symbol "playerid -
=WoR=Varth - 06.08.2011
Put it in OnPlayerConnect.
Re: \filterscripts\chris.pwn(13) : error 017: undefined symbol "playerid -
Meinstad - 06.08.2011
Okey thanks.
EDIT: Now I get; [PHP] 8492) : error 021: symbol already defined: "SetPlayerMapIcon" [PHP]
Ё
Help please .
Re: \filterscripts\chris.pwn(13) : error 017: undefined symbol "playerid -
=WoR=Varth - 06.08.2011
Show all of your code inside OnPlayerConnect (Or at least 'till your SetPlayerMapIcon code).
Re: \filterscripts\chris.pwn(13) : error 017: undefined symbol "playerid -
Meinstad - 06.08.2011
Fixed it.