18.02.2012, 17:16
Hello everybody, I have a question.. So, Im creating a trucking gamemode and I am creating every system in other .pwn file (I am using y_hooks to hook callbacks).
The systems:
Everything is good with y_hooks, but for example: in classes.pwn there's variable iClass. And I am using that variable in players.pwn, but I get error that symbol iClass is undefined.
If I do
Then for example in players.pwn there's variables szIP, szName. And I am using those variables in classes.pwn, so I get error in classes.pwn that symbols szIP, szName are undefined.
Any solutions?
The systems:
pawn Код:
#include "System/settings.pwn"
#include "System/players.pwn"
#include "System/classes.pwn"
If I do
pawn Код:
#include "System/settings.pwn"
#include "System/classes.pwn"
#include "System/players.pwn"
Any solutions?