03.03.2015, 23:11
There are two solutions for this :
1 - Streamer , by Incognito. using this callback : ( Plugin + include available on SAMP forums. )
2 - Need the include and plugin above + define the object var,
Link : https://sampforum.blast.hk/showthread.php?tid=102865
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);
Код:
new myobject; when player types command : myobject = CreateDynamicObject .... when he wants to remove the object with a commad : DestroyDynamicObject(myobject);