Delay when including a script
#1

I use multiple includes to make my GM file look much nicer. Also, more organised.

When using this code, I think there is something wrong:
Код:
#include "test.pwn"
When you script something in test.pwn, save it, upload it, and restart the server completely it looks like the changes aren't saved.. I do save in the correct location.

I upload that script to the 'include' folder on the server. How comes the changes aren't made when I upload the edited part?
Reply
#2

As far as I know, you can't include .pwn files, only .inc files. Correct me if I'm wrong.
Reply
#3

Quote:
Originally Posted by Hiddos
As far as I know, you can't include .pwn files, only .inc files. Correct me if I'm wrong.
You're wrong, it is possible to include ".pwn" files, why else did it work before?
Reply
#4

Код:
#include "../include/test.pwn"
Works?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)