20.02.2014, 17:38
Over the past few days I have started to seperate my gamemode into seperate files.
I have included this under OnPlayerConnect
The links above are the right file names.
If I purposely change the link to the file include (to a bad link), there is no error in the CnR Gamemode, if on the other hand, I try this in a blank gamemode, it does error, saying that the link is invalid / cannot find file.
removedbuildings.pwn removes some buildings and stuff, so I have gone ingame and the buildings are still there, showing that the code isn't executed, or in this case, loaded.
Can anyone help. I would appreciate it.
I have included this under OnPlayerConnect
Код:
#include "../gamemodes/NEWCNR94/player/playertextdraws.pwn" // Textdraws #include "../gamemodes/NEWCNR94/player/removedbuildings.pwn" // RemovePlayerBuilding #include "../gamemodes/NEWCNR94/player/loops.pwn" // RemovePlayerBuilding
If I purposely change the link to the file include (to a bad link), there is no error in the CnR Gamemode, if on the other hand, I try this in a blank gamemode, it does error, saying that the link is invalid / cannot find file.
removedbuildings.pwn removes some buildings and stuff, so I have gone ingame and the buildings are still there, showing that the code isn't executed, or in this case, loaded.
Can anyone help. I would appreciate it.