SA-MP Forums Archive
Help with streamer - 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Help with streamer (/showthread.php?tid=197048)



Help with streamer - 06leachr - 07.12.2010

so yes, I have a streamer.inc and I want some objects and cars ect.

I would like someone to tell me what I need to do for each individual object/car in the streamer...

pawn Код:
// Natives (objects)

native CreateDynamicObject(modelid, Float:x, Float:y, Float:z, Float:rx, Float:ry, Float:rz, worldid = -1, interiorid = -1, playerid = -1, Float:distance = 200.0);
native DestroyDynamicObject(objectid);
native SetDynamicObjectPos(objectid, Float:x, Float:y, Float:z);
native GetDynamicObjectPos(objectid, &Float:x, &Float:y, &Float:z);
native SetDynamicObjectRot(objectid, Float:rx, Float:ry, Float:rz);
native GetDynamicObjectRot(objectid, &Float:rx, &Float:ry, &Float:rz);
native IsValidDynamicObject(objectid);
native MoveDynamicObject(objectid, Float:x, Float:y, Float:z, Float:speed);
native StopDynamicObject(objectid);
native DestroyAllDynamicObjects();
native CountDynamicObjects();
Then does it need to be compiled? Do I need a .so file?

Cheers,


Re: Help with streamer - iggy1 - 07.12.2010

Read the streamer topic theres more information in that thread than people can give you here. By the sounds of it you need to do the scripting tuorials on the wiki/samp forums.


Re: Help with streamer - 06leachr - 07.12.2010

Thank you.