[FilterScript] Dynamic Gates
#21

No compille ! problem Has anyone compiled it?
Reply
#22

: error 001: expected token: "-identifier-", but found "-integer value-"
: warning 219: local variable "id" shadows a variable at a preceding level
: error 017: undefined symbol "foreach"
: error 029: invalid expression, assumed zero
: error 017: undefined symbol "i"
: fatal error 107: too many error messages on one line


HELP ME TO FIX THAT PLEASE
Reply
#23

where the amx file?
Reply
#24

Quote:
Originally Posted by wisnuken
View Post
where the amx file?
Compile the filterscript to get it



OT:
Code:
#define FILTERSCRIPT
You don't have to define that it is a filterscript, its there because the blank code contains both code for a gamemode and filterscirpt
(OnFilterscriptInIt & OnGameModeInit)

Code:
EditingGateID[playerid] = -1;
        EditingGateType[playerid] = -1;
        for(new i; i < MAX_GATES; i++) HasGateAuth[playerid][i] = false;
Would suggest to create a default array and use memset to copy from it to the desired array than to use this with a 100 long loop;


You code pretty nicely, although I'd use a switch for the dialogresponse for better readability.
Reply
#25

Quote:
Originally Posted by wisnuken
View Post
where the amx file?
in the programme click the run button to compile the .pwn
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)