Including
#1

I'm wondering if its possible, i want to make anti cheat but in a different module from the original server pwn file, is it possible to include that other .pwn file in gamemode that im using to start server ?
Reply
#2

Quote:
Originally Posted by ShoortyFl
Посмотреть сообщение
I'm wondering if its possible, i want to make anti cheat but in a different module from the original server pwn file, is it possible to include that other .pwn file in gamemode that im using to start server ?
Read this
Reply
#3

Quote:
Originally Posted by Alex1990
Посмотреть сообщение
Read this
That's not what OP asked for.


Quote:
Originally Posted by ShoortyFl
Посмотреть сообщение
I'm wondering if its possible, i want to make anti cheat but in a different module from the original server pwn file, is it possible to include that other .pwn file in gamemode that im using to start server ?
Yes, you could make it a filterscript or you could save the .pwn file in the server's 'include' folder and add this to your gamemode:
pawn Код:
#include "../include/(name of script).pwn"
Reply
#4

Thanks, Onfroi, it works, but the problem is now, when u compile the gamemode with the included module, the module will give errors such colors are not defined and other things, how can i fix that ?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)