Objects Loading Issue - 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: Objects Loading Issue (
/showthread.php?tid=281352)
Objects Loading Issue -
spd_sahil - 05.09.2011
Guys i made this Filterscript with only objects.. which is visibly less than 400 in number..
and it compiles properly.. and its in
OnGameModeInit()
{
Objects Blah
return 1;
}
but when i get ingame.. the objects are not there.. hmmm
Re: Objects Loading Issue -
[GTA-PR]Temper - 05.09.2011
Are you using streamer?
EDIT:
https://sampforum.blast.hk/showthread.php?tid=102865 try with this..
Re: Objects Loading Issue -
Kingunit - 05.09.2011
Did you re-load the filterscript? And like said above are you using a streamer? If you are using Incognito's streamer (what I recommend) you need to write them like:
pawn Код:
CreateDynamicObject...
// Go on
// Go on
Re: Objects Loading Issue -
spd_sahil - 05.09.2011
But my objects dont show at all.. how would the streamer help ??
Also.. all this is in a filterscript.. when i put the same in the gamemode.. all of them appear
Re: Objects Loading Issue -
[GTA-PR]Temper - 05.09.2011
OnFilterScriptInit..
add objects there...
Re: Objects Loading Issue -
spd_sahil - 05.09.2011
and what about the streamer.. ?? its a plugin right ?? how does it helpp ?
Re: Objects Loading Issue -
Kingunit - 05.09.2011
Quote:
Originally Posted by spd_sahil
But my objects dont show at all.. how would the streamer help ??
Also.. all this is in a filterscript.. when i put the same in the gamemode.. all of them appear
|
Oh wait, like above said - You need to drop it under OnFilterScriptInit since it's a filterscript not a gamemode.
// Streamer
Yes it's a include - then you can load more objects and faster I think.
Re: Objects Loading Issue -
[GTA-PR]Temper - 05.09.2011
You can load more objects..
I think that you can add only 400 objects without streamer (unsure)..
EDIT: Guy above was faster :/
Re: Objects Loading Issue -
spd_sahil - 05.09.2011
yupp 400 ..
thanks guys
and for a streamer..
i have to include in the FS and in the plugin ??
Re: Objects Loading Issue -
[GTA-PR]Temper - 05.09.2011
yes
you need to include it in GM/fs and add on plugins line in server.cfg
EDIT: Again