SA-MP Forums Archive
Dynamic objects - 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: Dynamic objects (/showthread.php?tid=584748)



Dynamic objects - Fancy - 07.08.2015

The objects does not appear when i use it with my gamemode,the objects work fine in other gamemodes but not in mine.I have streamer plugin loaded.Even the CreateObject() doest not work


Re: Dynamic objects - SoFahim - 07.08.2015

Maybe CreateObject() is overlimited


Re: Dynamic objects - Fancy - 07.08.2015

Quote:
Originally Posted by SoFahim
Посмотреть сообщение
Maybe CreateObject() is overlimited
I
Fixed
It
Now


Re: Dynamic objects - Michael B - 07.08.2015

Make sure that your place the code under OnGameModeInIt callback.

PHP код:
public OnGameModeInIt()
{
    
CreateObject(coords);
    return 
1;




Re: Dynamic objects - Fancy - 07.08.2015

Quote:
Originally Posted by Michael B
Посмотреть сообщение
Make sure that your place the code under OnGameModeInIt callback.

PHP код:
public OnGameModeInIt()
{
    
CreateObject(coords);
    return 
1;

Quote:
Originally Posted by Fancy
Посмотреть сообщение
I
Fixed
It
Now
^
^
^
^