Maximum includes in a gamemde?
#1

Well like the title says, What's the maximum of includes that you can have defined in a gamemode? I looked up in ****** and wiki sa-mp and nothing came up, if someone knows please share.

EDIT: Also is there any disadvantages if you use too many includes?

Thanks.
Reply
#2

Just look it up in pawn-lang.pdf
There is no limit ?, it just puts the code from the include into your mode
The best thing is that each include uses variables only within its scope and that it works on its own
Reply
#3

Quote:
Originally Posted by Nero_3D
Посмотреть сообщение
The best thing is that each include uses variables only within its scope and that it works on its own
That's not strictly speaking true. If you create two globals with the same name in two different files you will still get an error. Static globals, however, are indeed restricted to their own file.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)