Issue with filterscripts?
#1

When I uncomment #define FILTERSCRIPT I get 4 errors.
PHP код:
C:\Documents and Settings\Customer\Desktop\FreeRoam\filterscripts\laptop.pwn(34) : error 017undefined symbol "PlayerInfo"
C:\Documents and Settings\Customer\Desktop\FreeRoam\filterscripts\laptop.pwn(34) : warning 215expression has no effect
C
:\Documents and Settings\Customer\Desktop\FreeRoam\filterscripts\laptop.pwn(34) : error 001expected token";"but found "]"
C:\Documents and Settings\Customer\Desktop\FreeRoam\filterscripts\laptop.pwn(34) : error 029invalid expressionassumed zero
C
:\Documents and Settings\Customer\Desktop\FreeRoam\filterscripts\laptop.pwn(34) : fatal error 107too many error messages on one line 
For like every line.
but if I comment the #define FILTERSCRIPT I get no errors.
Reply
#2

You are missing the PlayerInfo variable. If you are copy and pasting from scripts, I would recommend not doing that. You will probably need to add it by
pawn Код:
new PlayerInfo[MAX_PLAYERS][ENUM_NAME]; //You will have to change ENUM_NAME to the player enum.
Reply
#3

Oh, No I didn't copy and paste, just forgot to write down PlayerInfo[MAX_PLAYERS][pInfo];, Got the original system from a tutorial and just attempted to rewrite it on the filterscript without looking at the tutorial and failed, but meh,
Thanks - Repped.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)