[HELP!] Define playerid
#1

SOLVED


Basically I put this (line 56 btw):
Код:
SetPVarInt(playerid, "top", 0);
in the OnFilterScriptInit() callback and the error recieved is
Код:
C:\Users\Jack\Desktop\samp\filterscripts\lspdlift.pwn(56) : error 017: undefined symbol "playerid"
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


1 Error.
any idea how to define 'playerid'?

Thanks, Jack_Rocker
Reply
#2

In OnFilterScriptInit there is no playerid indeed.
USe:

pawn Код:
for(new i = 0; i < MAX_PLAYERS; i++){
    SetPVarInt(i, "top", 0);
}
Reply
#3

Thanks
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)