19.02.2017, 12:39
(
Последний раз редактировалось AbyssMorgan; 16.09.2017 в 07:35.
)
Update v4.0.2:
- Added support for STREAMER_ENABLE_TAGS
- Updated functions:
- Removed functions:
- Removed option:
- Removed extra names:
- Marked as deprecated:
- Added element tag definition:
- Added universal functions:
Download:
3DTryg.inc
Stock ammount: 229
- Added support for STREAMER_ENABLE_TAGS
- Updated functions:
PHP код:
//Old Syntax:
Tryg3D_GivePlayerDamage(targetid,Float:damage,playerid,weaponid,bool:force_spawn=true,bool:death_msg=true,bool:death_call=true);
//New Syntax:
Tryg3D_GivePlayerDamage(targetid,Float:amount,playerid,weaponid,bodypart)
//Auto call
OnPlayerGiveDamage
OnPlayerTakeDamage
OnPlayerDeath - before player "fake death"
SpawnPlayer - after player "fake death"
PHP код:
IsPointInWaterFrontOfNPC //Use IsPointInWaterOrientOfElement
GetRandomClockPos //Use GetRandomPointOnClock
{
GetDynamicActorOrientationPos
GetNPCOrientationPos
GetPlayerOrientationPos
GetVehicleOrientationPos
GetObjectOrientationPos
GetDynamicObjectOrientationPos
} -> GetElementOrientationPos
{
GetPlayerOrientationPosCol
GetVehicleOrientationPosCol
GetObjectOrientationPosCol
GetNPCOrientationPosCol
GetDynamicObjectOrientPosCol
GetDynamicActorOrientPosCol
} -> GetElementOrientationPosCol
PHP код:
USE_DEPRECATED_SCREEN_FUNCTION
PHP код:
GetPointInFront -> GetPointInFront3D
GetXYInFrontOfPlayer -> GetPointInFrontOfPlayer
GetXYInFrontOfPlayerCol -> GetPointInFrontOfPlayerCol
GetPointInFrontOfCamera -> GetPointInFrontOfCamera3D
GetXYZInFrontOfVehicle -> GetPointInFrontOfVehicle3D (Attention, different syntax)
GetVehicleAngle -> GetVehicleRotation
IsPointInCylinder -> IsPointInCylinder3D
IsPlayerInCylinder -> IsPlayerInCylinder3D
GetXYInFrontOfNPC -> GetPointInFrontOfNPC
GetXYInFrontOfNPCCol -> GetPointInFrontOfNPCCol
GetPointInFrontCol -> GetPointInFront3DCol
GetPointInFrontOfCameraCol -> GetPointInFrontOfCamera3DCol
PHP код:
bool:IsPointInWaterFrontOfPlayer(playerid,Float:radius);
PHP код:
TRYG3D_ELEMENT_TAG
PHP код:
bool:GetElementOrientationPos(TRYG3D_ELEMENT_TAG elementid,Item3D_Type:element_type,element_orientation:orientation,Float:distance,&Float:tx,&Float:ty,&Float:tz);
bool:GetElementOrientationPosCol(TRYG3D_ELEMENT_TAG elementid,Item3D_Type:element_type,element_orientation:orientation,Float:distance,&Float:tx,&Float:ty,&Float:tz);
bool:IsPointInWaterOrientOfElement(TRYG3D_ELEMENT_TAG elementid,Item3D_Type:element_type,Float:radius,element_orientation:orientation=o_front);
3DTryg.inc
Stock ammount: 229
