\filterscripts\chris.pwn(13) : error 017: undefined symbol "playerid
#1

Hello, I need help with my filterscript
I think it should work, but I get error.

PHP код:
filterscripts\chris.pwn(13) : error 017undefined symbol "playerid" 
And on line 13;
PHP код:
     SetPlayerMapIcon(playerid461654.20, -1636.8083.78580); 
Please help.
Reply
#2

Did you put this in onfilterscriptinit?

OnFilterScriptInit does not return a playerid.
Reply
#3

I putted it there yes. So where should I put it ? I tryed on OnGameModeInit also
Reply
#4

Put it in OnPlayerConnect.
Reply
#5

Okey thanks.

EDIT: Now I get; [PHP] 8492) : error 021: symbol already defined: "SetPlayerMapIcon" [PHP]
Ё

Help please .
Reply
#6

Show all of your code inside OnPlayerConnect (Or at least 'till your SetPlayerMapIcon code).
Reply
#7

Fixed it.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)