28.09.2017, 08:29
Update v4.5.2:
- Removed deprecated MapAndreas v1.1.0 support
- Update init system (more error detection, information)
- Minor code optimization
- Fix possibility double death in Tryg3D::GivePlayerDamage
- Removed Line3D Module
- Update ColAndreas / MapAndreas support
- Added FCNPC function (ColAndreas):
- Added Universal Functions (Streamer):
- Removed deprecated functions:
- Updated FCNPC function names (preserved old)
- Renamed functions:
Download:
3DTryg.inc
Bugs Report
- Removed deprecated MapAndreas v1.1.0 support
- Update init system (more error detection, information)
- Minor code optimization
- Fix possibility double death in Tryg3D::GivePlayerDamage
- Removed Line3D Module
- Update ColAndreas / MapAndreas support
- Added FCNPC function (ColAndreas):
PHP код:
FCNPC::SetFloorPos(npcid); //fix z for current floor
PHP код:
IsElementInDynamicArea(TRYG3D_ELEMENT_TAG elementid,Item3D_Type:element_type,STREAMER_TAG_AREA areaid);
GetElementsInDynamicArea(STREAMER_TAG_AREA areaid,Item3D_Type:element_type,element_list[],max_element=sizeof(element_list));
PHP код:
ConvertMTARaceRotation(Float:rotation1,Float:rotation2,Float:rotation3,&Float:rx,&Float:ry,&Float:rz);
ConvertToMTARaceRotation(Float:rx,Float:ry,Float:rz,&Float:rotation1,&Float:rotation2,&Float:rotation3);
PHP код:
IsNPCInRangeOfPoint -> FCNPC::InRangeOfPoint
GetNPCTargetAngle -> FCNPC::GetTargetAngle
SetNPCTargetAngle -> FCNPC::SetTargetAngle
GetNPCSpeed -> FCNPC::GetSpeed
GetPointInFrontOfNPC -> FCNPC::GetPointInFront
GetPointInFrontOfNPCCol -> FCNPC::GetPointInFrontCol
SetNPCAbsolutePosition -> FCNPC::SetAbsolutePosition
PHP код:
IsMapAndreasInit -> Tryg3D::IsMapAndreasInit
SafeMapAndreasInit -> Tryg3D::SafeMapAndreasInit
IsColAndreasInit -> Tryg3D::IsColAndreasInit
SafeColAndreasInit -> Tryg3D::SafeColAndreasInit
3DTryg.inc
Bugs Report