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



error 17 - Ritchie999 - 07.11.2009

Код:
(964) : error 017: undefined symbol "playerid"
pawn Код:
CreateStreamedMapIcon(playerid, 1699.741577, 411.898254, 30.673496, 0.000000, 0.000000, -19.767044, 28, 0);
i am using Icons++ by LavaMike and have #include <IPP> MapIconConnect(playerid); and MapIconDisconnect(playerid); in my game mode...

also i have put "CreateStreamedMapIcon" in my "public OnGameModeInit" section where all the vehicle spawns go.. what am i doing wrong?

please don't refer me back to the Icon++ topic, because the topic is pretty dead


Re: error 17 - Correlli - 07.11.2009

OnGameModeInit doesn't have 'playerid' param, put your streamed MapIcons somewhere else (OnPlayerConnect, OnPlayerSpawn, ..).