Include load functions
#1

Hello everyone, I am editing a gamemode, and I've stumbled upon a problem. There is an .inc file which stores car prices, and whenever I compile it, it throws errors, because it doesn't find functions that are in THE GAMEMODE! What do I do? Is there anyway I can link inc with pwn and amx [gamemode] ?
Reply
#2

Quote:
Originally Posted by ******
Посмотреть сообщение
It will find those functions if there are no other errors, but the result may be obscured by things like incorrectly matched braces causing functions to be enclosed inside others. Make sure all of your mode is correctly indented and look for anywhere that there are missing braces.
But it doesn't compile..
Reply
#3

Quote:
Originally Posted by ******
Посмотреть сообщение
What's that got to do with what I said?
Sorry for being a bother. I mean about the functions, yes the gamemode recognizes it, BUT I can't edit because the include doesn't find them and throws errors, but the functions are in the gamemode.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)