How should I proceed ?
#1

Hi,


I have a lot of admin CMDs and I want to put them in an include but how can I do it ?
Just create a file .inc and copy/paste all my CMDs in it then include this file in my GM ?

Thank you.
Reply
#2

well yes but it would be more complicated since you will need the server database i guess? which you use for admin system else if there is not something like that open new.pwn copy paste what you want. then save as yourfile.inc WARNING: DO NOT COMPILE
Reply
#3

Yes, but don't forget in the top of your include to include libraries of your codes (sscanf, streamer etc.)
Its untested but i think it work with cmds.
Reply
#4

Okay thank you, I will try

+Rep both of you
Reply
#5

I don't see why there'd be a problem with the database. You can include files literally everywhere within a script. Even within function bodies.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)