[Tutorial] How to make an Include file for Sa-Mp.
#13

Some tips by me:

- It's not necessary to an include have the .inc extension. and not Necessary to place it in pawno/include. but importing way is different.

In my case i have an .pwn file contain some definitions.

pawn Code:
#include "../gamemodes/definitions.pwn"
#include "../include/colors.inc"
#include "../../ifarbod.txt"
- Making functions in not too hard!
- Those are functions, not callbacks!
- You must replace :
pawn Code:
stock StopAudioStreamForAll(url[])
to
pawn Code:
stock StopAudioStreamForAll()
For Stop the stream you no need the url[] parameter.
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)