07.12.2010, 18:09
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...
Then does it need to be compiled? Do I need a .so file?
Cheers,
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();
Cheers,