SA-MP Forums Archive
There are commands included in my gamemode - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: There are commands included in my gamemode (/showthread.php?tid=626626)



There are commands included in my gamemode - AndreiWow - 17.01.2017

Uh there are some commands that are included in my gamemode, THY DON'T EXIST in my GM, are included but there are NO files with those, it say Inc/Commands/ticket.pwn but there is no Inc folder, neither Commands folder neither ticket.pwn, I searched every file, I got this gamemode from a guy, he DOESNT have those file so the files doesnt exist but they are working... how..


Re: There are commands included in my gamemode - Misiur - 17.01.2017

If the code looks like
pawn Код:
#include "Inc/Commands/ticket.pwn"
then the code would be at gamemodes/Inc/commands/ticket.pwn.
If the code looks like
pawn Код:
#include <Inc/Commands/ticket.pwn>
then the code would be at pawno/includes/Inc/Commands/ticket.pwn (I'm assuming standard architecture). Checked there?


Re: There are commands included in my gamemode - AndreiWow - 17.01.2017

Quote:
Originally Posted by Misiur
Посмотреть сообщение
If the code looks like
pawn Код:
#include "Inc/Commands/ticket.pwn"
then the code would be at gamemodes/Inc/commands/ticket.pwn.
If the code looks like
pawn Код:
#include <Inc/Commands/ticket.pwn>
then the code would be at pawno/includes/Inc/Commands/ticket.pwn (I'm assuming standard architecture). Checked there?
It was in pawno lol, thanks alot!