Search

open.mp forum

RegisterLogin

Discussion

General
Chat
Tech
Life
Art
Programming
open.mp
Development Updates
Questions and Suggestions
SA-MP
General Discussions
Videos and Screenshots
Support
Pawn Scripting
Tutorials
Releases
Plugins
Libraries
Filterscripts
Gamemodes
Maps
Advertisements
Other languages
Spanish/Espa?ol
Programaci?n
Discusi?n GTA SA Multijugador
Mods
Offtopic
Juegos
Portuguese/Portugu?s
Russian/???????
Italian/Italiano
Dutch/Nederlands
German/Deutsch
Romanian/Rom?na
Ex-Yu
Polish/Polski
Og?lne
Serwery
Skryptowanie
Filmiki i zdjecia
Lithuanian/Lietuvi?kas
French/Fran?ais
Hungarian/Magyar
Hindi/Urdu
Turkish
Other
Internal
Team
Hidden
Archived

Library

 Collections Links Members Roles

A weird problem with includes

Quote

ID
d6ouivfilegovhg7bcc0
author
mouiz's avatar

mouiz

@mouiz


View profile
Copy link
  Report member
started
Jul 14, 2019
replies
0
participating
No

scroll to top

powered by storyden

Login
Discussion
Pawn Scripting
A weird problem with includes
mouiz's avatar

mouiz

@mouiz


View profile
Copy link
  Report member
• 6y
Pawn Scripting

A weird problem with includes

pawn

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?

0 likes0 replies

    Please sign up or log in to reply