SA-MP Forums Archive
Reading CreateDynamicObject from include. - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Reading CreateDynamicObject from include. (/showthread.php?tid=484856)



Reading CreateDynamicObject from include. - Scrillex - 01.01.2014

Hello everyone I wanted to know how it's possible to read all objects from include, so I wouldn't waste a space under GameModeInt..

if some one didn't understand here is small explanation what I want to do..

#include <MyObjects>

OnGameModeInt

native or something to read objects out of include.


Re: Reading CreateDynamicObject from include. - Patrick - 01.01.2014

use y_hooks or als_hook to hook OnGameModeInit for example.

pawn Код:
hook OnGameModeInit()
{
//objects
}



Re: Reading CreateDynamicObject from include. - Scrillex - 01.01.2014

Ohh thanks mate I will read about it Big big thanks