Two errors :S
#1

I keep getting these errors:

C:\Users\Owner\Desktop\New Folder\gamemodes\Alliance.pwn(8427) : error 001: expected token: ";", but found "-identifier-"
C:\Users\Owner\Desktop\New Folder\gamemodes\Alliance.pwn(8427) : error 017: undefined symbol "playerid"
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


2 Errors.

And this is the line:
pawn Код:
RemovePlayerMapIcon (playerid, 36);
Thank you if you can help me.
Reply
#2

error 017= write this to other new's.
pawn Код:
new playerid;
Reply
#3

where is this code? under what public?
Reply
#4

OnGameModeInit
Reply
#5

OnGameModeInit should never ever have playerid, as it's initiating the gamemode, check the SA:MP wiki to verify the usage of certain callbacks.

https://sampwiki.blast.hk/wiki/OnGameModeInit

Clearly states that it has no parameters (This callback has no parameters). It is intended for initiating the game mode.
Reply
#6

So where do you think I should put it? or should I change it?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)