Anyone know where to put objects under using Incognito's Streamer?
#1

Sorry I am only a n00b at scripting but where to I put the objects under using Incognito's Streamer?

If anyone helps me I will give them +1
Reply
#2

You add the objects like default (CreateObject) which is under OnGameModeInit
Reply
#3

Under "OnGameModeInit"!
Reply
#4

pawn Код:
public OnGameModeInit()
{
    // CreateObjectCode goes here.
    return 1;
}
This video is very helpful.
[ame="http://www.youtube.com/watch?v=7N4qd3HGi_U"]http://www.youtube.com/watch?v=7N4qd3HGi_U[/ame]
Reply
#5

Thanks guys! Now can I have my objects under another filter script?
Reply
#6

Yes you can. You would use OnFilterScriptInit() instead though.
Reply
#7

Yes, you can, but the streamer.inc file must be included in that filterscript as well. All scripts are ran on the same virtual machine which means the objects will be "shared" across the SA-MP server.
Reply
#8

Ok another question how come the objects do not stream? I am using Incognito's. Does anyone have a good tutorial?
Reply
#9

All you do is

pawn Код:
public OnGameModeInit()
{
   CreateDynamicObject(......);
   //all the other
}
Reply
#10

The objects will not stream. Someone help me!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)