18.02.2014, 14:52
Quote:
|
I've written a tutorial on this in the past, the short answer is "YSI":
https://sampforum.blast.hk/showthread.php?tid=296907 Basically, you split your mode up in to logical pieces, such as streamer, vehicles, fishing job, etc. Each of these systems is in a separate file and all are included in to the main mode. However, you also include each system in to a separate filterscript and compile those individually. If you wrote your mode well (with minimal coupling between independent parts) this should be easy. Anyway, the key to this is y_master, so you declare a function as: pawn Code:
pawn Code:
The other advantage of this method is that when they send you their code, you can compile all the separate parts in to one huge script and not need to use the filterscripts and remote calls at all - without altering ANY code. These links might also help: https://sampforum.blast.hk/showthread.php?tid=194509 (old) https://sampforum.blast.hk/showthread.php?tid=475106 (new) |


