SA-MP Forums Archive
problem with CreateDynamicObject - 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: problem with CreateDynamicObject (/showthread.php?tid=517843)



problem with CreateDynamicObject - EddieJackson - 07.06.2014

i put all my object in a filterscript........before, i was use CreateObject, its working but when i use CreateDynamicObject....it doesn't work, no object created when i inside the server :0

my script
Код:
#include <a_samp>
#include <streamer>

public OnFilterScriptInit()
{
//i put all CreateDynamicObject here
return 1;
}
please somebody help me :c


Re: problem with CreateDynamicObject - [D]ry[D]esert - 07.06.2014

Show one at least one of your CreateDynamicObjects..


Re: problem with CreateDynamicObject - EddieJackson - 07.06.2014

Quote:
Originally Posted by [D]ry[D]esert
Посмотреть сообщение
Show one at least one of your CreateDynamicObjects..
Код:
CreateDynamicObject(18621,-2010.3387500,-2310.1838400,33.8303000,0.0000000,0.0000000,90.0000000); //



Re: problem with CreateDynamicObject - Parallex - 07.06.2014

Quote:
Originally Posted by EddieJackson
Посмотреть сообщение
Код:
CreateDynamicObject(18621,-2010.3387500,-2310.1838400,33.8303000,0.0000000,0.0000000,90.0000000); //
Try anyone of these:


Re: problem with CreateDynamicObject - EddieJackson - 07.06.2014

Quote:
Originally Posted by BenJackster
Посмотреть сообщение
Try anyone of these:
  • Make sure Streamer Plugin is loaded,
  • Make sure you are using the latest Streamer,
  • Either you've just renamed CreateObject to CreateDynamicObject - use convertffs.com to convert it.
  • You haven't loaded the Filterscript.
I use the latest streamer plugins and it loaded, i used convertffs, and the filterscript is loaded.....


Re: problem with CreateDynamicObject - Parallex - 07.06.2014

Quote:
Originally Posted by EddieJackson
Посмотреть сообщение
I use the latest streamer plugins and it loaded, i used convertffs, and the filterscript is loaded.....
Well - why do you make them under a Filterscript? Just put them under OnGameModeInit in your main Game-mode.pwn.