[Help]Question
#1

It's possible to make some objects to appear only when a player type a command? and see in a different virtual world?.i mean in virtual world 0 if i go there i don't wanna see the objects.Only if i type the command
Reply
#2

There are two solutions for this :

1 - Streamer , by Incognito. using this callback : ( Plugin + include available on SAMP forums. )
Код:
CreateDynamicObject(modelid, Float:x, Float:y, Float:z, Float:rx, Float:ry, Float:rz, worldid = -1, interiorid = -1, playerid = -1, Float:streamdistance = 200.0, Float:drawdistance = 0.0);
2 - Need the include and plugin above + define the object var,
Код:
new myobject; 

when player types command :
myobject = CreateDynamicObject .... 

when he wants to remove the object with a commad : 
DestroyDynamicObject(myobject);
Link : https://sampforum.blast.hk/showthread.php?tid=102865
Reply
#3

Unfortunately, created objects will appear in all worlds (and that's very annoying). Perhaps the new version 0.3.7 will add this parameter to "CreateObject"

Edit to say that I forget the Streamer, of course... Thanks Golimad !
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)