04.08.2016, 06:58
Update v2.5.3:
- Added new functions (Beta):
Example:
- Added new functions (Beta):
PHP код:
GetStreamDatagram(type,id,data[]);
SetStreamDatagram(type,id,data[]);
RemoveStreamDatagram(type,id);
bool:IsSetStreamDatagram(type,id);
GetDynamicObjectDatagram(objectid,data[]);
SetDynamicObjectDatagram(objectid,data[]);
RemoveDynamicObjectDatagram(objectid,data[]);
bool:IsSetDynamicObjectDatagram(objectid);
GetDynamicPickupDatagram(pickupid,data[]);
SetDynamicPickupDatagram(pickupid,data[]);
RemoveDynamicPickupDatagram(pickupid,data[]);
bool:IsSetDynamicPickupDatagram(pickupid);
GetDynamicCPDatagram(checkpointid,data[]);
SetDynamicCPDatagram(checkpointid,data[]);
RemoveDynamicCPDatagram(checkpointid,data[]);
bool:IsSetDynamicCPDatagram(checkpointid);
GetDynamicRaceCPDatagram(checkpointid,data[]);
SetDynamicRaceCPDatagram(checkpointid,data[]);
RemoveDynamicRaceCPDatagram(checkpointid,data[]);
bool:IsSetDynamicRaceCPDatagram(checkpointid);
GetDynamicMapIconDatagram(iconid,data[]);
SetDynamicMapIconDatagram(iconid,data[]);
RemoveDynamicMapIconDatagram(iconid,data[]);
bool:IsSetDynamicMapIconDatagram(iconid);
GetDynamic3DTextDatagram(Text3D:id,data[]);
SetDynamic3DTextDatagram(Text3D:id,data[]);
RemoveDynamic3DTextDatagram(Text3D:id,data[]);
bool:IsSetDynamic3DTextDatagram(Text3D:id);
GetDynamicAreaDatagram(areaid,data[]);
SetDynamicAreaDatagram(areaid,data[]);
RemoveDynamicAreaDatagram(areaid,data[]);
bool:IsSetDynamicAreaDatagram(areaid);
PHP код:
new obj = CreateDynamicObject(4563,1586.7998000,-830.4003900,1053.0000000,90.0000000,90.0000000,0.0000000);
SetDynamicObjectDatagram(obj,"Test Object Datagram");
new buf[MAX_STREAM_SIZE];
GetDynamicObjectDatagram(obj,buf);
printf("Object: %d Datagram: '%s'",obj,buf);