[Include] Streamer Functions
#13

Update StreamerFunction.inc to v2.3C now.
Streamer Version: 2.8.2

Completing additional function to all elements of the streamer:
PHP код:
Objects Functions:
GetDynamicObjectModel(objectid);
SetDynamicObjectModel(objectid,modelid);
GetDynamicObjectVW(objectid);
SetDynamicObjectVW(objectid,worldid);
GetDynamicObjectINT(objectid);
SetDynamicObjectINT(objectid,interiorid);
GetDynamicObjectSD(objectid,&Float:streamdistance);
SetDynamicObjectSD(objectid,Float:streamdistance);
GetDynamicObjectDD(objectid,&Float:drawdistance);
SetDynamicObjectDD(objectid,Float:drawdistance);
GetDynamicObjectPosAndRot(objectid,&Float:x,&Float:y,&Float:z,&Float:rx,&Float:ry,&Float:rz);
SetDynamicObjectPosAndRot(objectid,Float:x,Float:y,Float:z,Float:rx,Float:ry,Float:rz);
GetDynamicObjectMoveSpeed(objectid,&Float:speed);
SetDynamicObjectMoveSpeed(objectid,Float:speed);
GetDynamicObjectMovePos(objectid,&Float:x,&Float:y,&Float:z);
SetDynamicObjectMovePos(objectid,Float:x,Float:y,Float:z);
GetDynamicObjectMoveRot(objectid,&Float:rx,&Float:ry,&Float:rz);
SetDynamicObjectMoveRot(objectid,Float:rx = -1000.0,Float:ry = -1000.0,Float:rz = -1000.0);
GetDynamicObjectMoveTime(objectid,&objstate,&rtime);
SetDynamicObjectAttachSync(objectid,syncrotation);
ResetDynamicObjectMaterial(objectid,materialindex);
ResetDynamicObjectMaterialAll(objectid);
DeattachObjectDynamicObject(objectid);
DeattachDynamicObjectComponent(objectid,type);
DestroyDynamicObjectComponent(objectid,type);
RebuildDynamicObject(objectid,...);
GetDynamicObjectArea(objectid);
SetDynamicObjectArea(objectid,areaid);
GetDynamicObjectPriority(objectid);
SetDynamicObjectPriority(objectid,priority);
SAMP Functions:
GetObjectPosAndRot(objectid,&Float:x,&Float:y,&Float:z,&Float:rx,&Float:ry,&Float:rz);
SetObjectPosAndRot(objectid,Float:x,Float:y,Float:z,Float:rx,Float:ry,Float:rz);
CountObjects();
CountVehicles();
CountPlayerObjects(playerid,bool:streamer false);
DestroyObjects();
DestroyVehicles();
DestroyPlayerObjects(playerid,bool:streamer false);
GangZoneDestroyAll();
Cube Functions:
DestroyDynamicObjectsInCube(Float:minx,Float:miny,Float:minz,Float:maxx,Float:maxy,Float:maxz,worldid = -1,interiorid = -1);
DestroyDynamicObjectsInCubeFM(modelid,Float:minx,Float:miny,Float:minz,Float:maxx,Float:maxy,Float:maxz,worldid = -1,interiorid = -1);
IsPointInArea(Float:x,Float:y,Float:z,Float:minx,Float:miny,Float:minz,Float:maxx,Float:maxy,Float:maxz);
IsPointInAreaEx(Float:x,Float:y,Float:z,Float:minx,Float:miny,Float:minz,Float:maxx,Float:maxy,Float:maxz,vw1,int1,vw2,int2);
Vehicle Functions:
DestroyVehicleDynamicObject(vehicleid);
DeattachVehicleDynamicObject(vehicleid);
Check Point Functions:
GetDynamicCPPos(checkpointid,&Float:x,&Float:y,&Float:z);
SetDynamicCPPos(checkpointid,Float:x,Float:y,Float:z);
GetDynamicCPSize(checkpointid,&Float:size);
SetDynamicCPSize(checkpointid,Float:size);
GetDynamicCPVW(checkpointid);
SetDynamicCPVW(checkpointid,worldid);
GetDynamicCPINT(checkpointid);
SetDynamicCPINT(checkpointid,interiorid);
GetDynamicCPSD(checkpointid,&Float:streamdistance);
SetDynamicCPSD(checkpointid,Float:streamdistance);
GetDynamicCPArea(checkpointid);
SetDynamicCPArea(checkpointid,areaid);
GetDynamicCPPriority(checkpointid);
SetDynamicCPPriority(checkpointid,priority);
Race Check Point Functions:
GetDynamicRaceCPPos(checkpointid,&Float:x,&Float:y,&Float:z);
SetDynamicRaceCPPos(checkpointid,Float:x,Float:y,Float:z);
GetDynamicRaceCPNext(checkpointid,&Float:nextx,&Float:nexty,&Float:nextz);
SetDynamicRaceCPNext(checkpointid,Float:nextx,Float:nexty,Float:nextz);
GetDynamicRaceCPType(checkpointid);
SetDynamicRaceCPType(checkpointid,type);
GetDynamicRaceCPSize(checkpointid,&Float:size);
SetDynamicRaceCPSize(checkpointid,Float:size);
GetDynamicRaceCPVW(checkpointid);
SetDynamicRaceCPVW(checkpointid,worldid);
GetDynamicRaceCPINT(checkpointid);
SetDynamicRaceCPINT(checkpointid,interiorid);
GetDynamicRaceCPSD(checkpointid,&Float:streamdistance);
SetDynamicRaceCPSD(checkpointid,Float:streamdistance);
GetDynamicRaceCPArea(checkpointid);
SetDynamicRaceCPArea(checkpointid,areaid);
GetDynamicRaceCPPriority(checkpointid);
SetDynamicRaceCPPriority(checkpointid,priority);
Player Functions:
DestroyPlayerDynamicObject(playerid);
DeattachPlayerDynamicObject(playerid);
MapIcon Functions:
GetDynamicMapIconPos(iconid,&Float:x,&Float:y,&Float:z);
SetDynamicMapIconPos(iconid,Float:x,Float:y,Float:z);
GetDynamicMapIconType(iconid);
SetDynamicMapIconType(iconid,type);
GetDynamicMapIconStyle(iconid);
SetDynamicMapIconStyle(iconid,style);
GetDynamicMapIconVW(iconid);
SetDynamicMapIconVW(iconid,worldid);
GetDynamicMapIconINT(iconid);
SetDynamicMapIconINT(iconid,interiorid);
GetDynamicMapIconSD(iconid,&Float:streamdistance);
SetDynamicMapIconSD(iconid,Float:streamdistance);
SetDynamicMapIconColor(iconid,color);
GetDynamicMapIconColor(iconid);
GetDynamicMapIconArea(iconid);
SetDynamicMapIconArea(iconid,areaid);
GetDynamicMapIconPriority(iconid);
SetDynamicMapIconPriority(iconid,priority);
Pickup Functions:
GetDynamicPickupPos(pickupid,&Float:x,&Float:y,&Float:z);
SetDynamicPickupPos(pickupid,Float:x,Float:y,Float:z);
GetDynamicPickupModel(pickupid);
SetDynamicPickupModel(pickupid,modelid);
GetDynamicPickupVW(pickupid);
SetDynamicPickupVW(pickupid,worldid);
GetDynamicPickupINT(pickupid);
SetDynamicPickupINT(pickupid,interiorid);
GetDynamicPickupSD(pickupid,&Float:streamdistance);
SetDynamicPickupSD(pickupid,Float:streamdistance);
GetDynamicPickupType(pickupid);
SetDynamicPickupType(pickupid,type);
GetDynamicPickupArea(pickupid);
SetDynamicPickupArea(pickupid,areaid);
GetDynamicPickupPriority(pickupid);
SetDynamicPickupPriority(pickupid,priority);
3DText Functions:
GetDynamic3DTextPos(Text3D:id,&Float:x,&Float:y,&Float:z);
SetDynamic3DTextPos(Text3D:id,Float:x,Float:y,Float:z);
GetDynamic3DTextDD(Text3D:id,Float:drawdistance);
SetDynamic3DTextDD(Text3D:id,Float:drawdistance);
GetDynamic3DTextSD(Text3D:id,&Float:streamdistance);
SetDynamic3DTextSD(Text3D:id,Float:streamdistance);
GetDynamic3DTextVW(Text3D:id);
SetDynamic3DTextVW(Text3D:id,worldid);
GetDynamic3DTextINT(Text3D:id);
SetDynamic3DTextINT(Text3D:id,interiorid);
GetDynamic3DTextColor(Text3D:id);
SetDynamic3DTextColor(Text3D:id,color);
GetDynamic3DTextArea(Text3D:id);
SetDynamic3DTextArea(Text3D:id,areaid);
GetDynamic3DTextPriority(Text3D:id);
SetDynamic3DTextPriority(Text3D:id,priority);
SetDynamic3DTextTestLos(Text3D:id,testlos);
SetDynamic3DTextAttachPlayer(Text3D:id,attachedplayer);
SetDynamic3DTextAttachVehicle(Text3D:id,attachedvehicle);
Area Functions:
GetDynamicCirclePos(areaid,&Float:x,&Float:y);
SetDynamicCirclePos(areaid,Float:x,Float:y);
GetDynamicCylinderPos(areaid,&Float:x,&Float:y,&Float:minz,&Float:maxz);
SetDynamicCylinderPos(areaid,Float:x,Float:y,Float:minz,Float:maxz);
GetDynamicSpherePos(areaid,&Float:x,&Float:y,&Float:z);
SetDynamicSpherePos(areaid,Float:x,Float:y,Float:z);
GetDynamicRectanglePos(areaid,&Float:minx,&Float:miny,&Float:maxx,&Float:maxy);
SetDynamicRectanglePos(areaid,Float:minx,Float:miny,Float:maxx,Float:maxy);
GetDynamicCubePos(areaid,&Float:minx,&Float:miny,&Float:minz,&Float:maxx,&Float:maxy,&Float:maxz);
SetDynamicCubePos(areaid,Float:minx,Float:miny,Float:minz,Float:maxx,Float:maxy,Float:maxz);
GetDynamicCuboidPos(areaid,&Float:minx,&Float:miny,&Float:minz,&Float:maxx,&Float:maxy,&Float:maxz);
SetDynamicCuboidPos(areaid,Float:minx,Float:miny,Float:minz,Float:maxx,Float:maxy,Float:maxz);
GetDynamicAreaVW(areaid);
SetDynamicAreaVW(areaid,worldid);
GetDynamicAreaINT(areaid);
SetDynamicAreaINT(areaid,interiorid);
GetDynamicAreaSize(areaid,Float:size);
SetDynamicAreaSize(areaid,Float:size);
Anti Area Functions:
IsPointInAntiArea(areaid,Float:x,Float:y,Float:z);
IsPlayerInAntiArea(playerid,areaid,recheck 0);
IsPlayerInAnyAntiArea(playerid,recheck 0);
IsAnyPlayerInAntiArea(areaid,recheck 0);
IsAnyPlayerInAnyAntiArea(recheck 0);
Anti Area Callbacks:
OnPlayerEnterAntiArea(playerid,areaid);
OnPlayerLeaveAntiArea(playerid,areaid);
Pool Size Functions:
GetDynamicObjectPoolSize();
GetDynamicPickupPoolSize();
GetDynamicCPPoolSize();
GetDynamicRaceCPPoolSize();
GetDynamicMapIconPoolSize();
GetDynamic3DTextPoolSize();
GetDynamicAreaPoolSize();
Update Functions:
UpdateAllDynamicElements();
UpdateAllDynamicObjects();
UpdateAllDynamicPickups();
UpdateAllDynamicCPs();
UpdateAllDynamicRaceCPs();
UpdateAllDynamicMapIcons();
UpdateAllDynamic3DTextLabels();
UpdateAllDynamicAreas();
Foreach 
Functions:
ForDynamicObjects(variable);
ForDynamicPickups(variable);
ForDynamicCPs(variable);
ForDynamicRaceCPs(variable);
ForDynamicMapIcons(variable);
ForDynamic3DTextLabels(variable);
ForDynamicAreas(variable);
Extended Functions:
bool:IsValidStreamer(version);
GetStreamerVersion();
GetValidStreamerVersion();
GetStreamerVersionName(name[], value GET_STREAMER_VERSIONmaxdest sizeof name); 
Reply


Messages In This Thread
Streamer Functions - by AbyssMorgan - 05.10.2015, 13:09
Re: Additional feature to streamer - by Gammix - 05.10.2015, 13:20
Re: Additional feature to streamer - by AbyssMorgan - 05.10.2015, 13:23
Re: Additional feature to streamer - by amirab - 05.10.2015, 18:57
Re: Additional feature to streamer - by Pottus - 06.10.2015, 00:09
Re: Additional feature to streamer - by AbyssMorgan - 09.10.2015, 19:30
Re: Additional feature to streamer - by Crayder - 09.10.2015, 20:57
Re: Additional feature to streamer - by AbyssMorgan - 10.10.2015, 06:46
Re: Additional feature to streamer - by n0minal - 10.10.2015, 07:00
Re: Additional feature to streamer - by AbyssMorgan - 10.10.2015, 07:02
Re: Additional feature to streamer - by AbyssMorgan - 10.10.2015, 07:19
Re: Additional feature to streamer - by AbyssMorgan - 29.10.2015, 20:53
Re: Additional feature to streamer - by AbyssMorgan - 05.06.2016, 20:02
Re: Additional feature to streamer - by AbyssMorgan - 04.07.2016, 12:14
Re: Additional feature to streamer - by AbyssMorgan - 05.07.2016, 19:16
Re: Additional feature to streamer - by AbyssMorgan - 06.07.2016, 17:55
Re: Additional feature to streamer - by AbyssMorgan - 04.08.2016, 06:58
Re: Streamer Functions - by AbyssMorgan - 08.11.2016, 20:35
Re: Streamer Functions - by MerryDeer - 13.11.2016, 14:59
Re: Streamer Functions - by AbyssMorgan - 13.11.2016, 15:03
Re: Streamer Functions - by SickAttack - 13.11.2016, 16:11
Re: Streamer Functions - by jlalt - 13.11.2016, 16:27
Re: Streamer Functions - by SickAttack - 13.11.2016, 16:38
Re: Streamer Functions - by jlalt - 13.11.2016, 16:48
Re: Streamer Functions - by AbyssMorgan - 13.11.2016, 18:13
Re: Streamer Functions - by AbyssMorgan - 13.11.2016, 19:20
Re: Streamer Functions - by Unrea1 - 22.11.2016, 20:11
Re: Streamer Functions - by AbyssMorgan - 22.11.2016, 20:35
Re: Streamer Functions - by renatog - 28.11.2016, 18:46
Re: Streamer Functions - by AbyssMorgan - 28.11.2016, 19:24
Re: Streamer Functions - by AbyssMorgan - 14.02.2017, 15:18
Re: Streamer Functions - by AbyssMorgan - 26.03.2017, 06:18
Re: Streamer Functions - by OstGot - 16.05.2017, 16:54
Re: Streamer Functions - by AbyssMorgan - 16.05.2017, 18:18
Re: Streamer Functions - by AbyssMorgan - 28.09.2017, 13:37
Re: Streamer Functions - by KatarinaCalzaghe - 13.02.2018, 13:43

Forum Jump:


Users browsing this thread: 2 Guest(s)