Burgershot
  • Home
  • Members
  • Team
  • Help
  • Search
  • Register
  • Login
  • Home
  • Members
  • Help
  • Search
Burgershot SA-MP Pawn Scripting [Pawn] A weird problem with includes

 
  • 0 Vote(s) - 0 Average
Pawn A weird problem with includes
mouiz
Offline

Burgershot Member
Posts: 27
Threads: 11
Joined: May 2019
Reputation: 0
#1
2019-07-14, 01:00 PM
Quote:#include <../../gamemodes/modes/mode_robbery.pwn>
#include <../../gamemodes/modes/mode_dogfight.pwn>

These are ^ two includes in the 'gamemodes/modes' folder.


If i arrange them like this: 

Quote:#include <../../gamemodes/modes/mode_dogfight.pwn>
#include <../../gamemodes/modes/mode_robbery.pwn>

the 'mode_dogfight' works (gets included) and the second one is ignored (it shows undefined symbol errors since the definitions of the functions are in the include)

If i arrange them oppositely then the 'mode_robbery' works, the second one is ignore.

How can i fix this?
« Next Oldest | Next Newest »



Messages In This Thread
A weird problem with includes - by mouiz - 2019-07-14, 01:00 PM
RE: A weird problem with includes - by Manyula - 2019-07-14, 01:22 PM
RE: A weird problem with includes - by mouiz - 2019-07-14, 01:29 PM
RE: A weird problem with includes - by mouiz - 2019-07-14, 01:34 PM
RE: A weird problem with includes - by Freaksken - 2019-07-14, 03:12 PM
RE: A weird problem with includes - by Y_Less - 2019-07-14, 03:55 PM
RE: A weird problem with includes - by mouiz - 2019-07-14, 04:51 PM
RE: A weird problem with includes - by dakyskye - 2019-07-17, 07:48 PM

  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Burgershot - Powered by our Community and MyBB Original Theme by Emerald

Linear Mode
Threaded Mode