15.12.2016, 20:43
Update v3.2.0:
- Code optimizations
- Fixed Timeline Sync (YSF)
- Updated function:
- Renamed function
- Added ATM Core functions / macros:
- Added YSF Functions:
- Update 3DTryg for Streamer Dynamic Actor (Coming Soon)
The function will be added only if the new version Streamer Plugin has been installed.
- Added Streamer functions:
- Added Streamer functions (ColAndreas):
- Added Streamer functions (FCNPC):
- Added Stream3D functions (Streamer):
- Code optimizations
- Fixed Timeline Sync (YSF)
- Updated function:
Code:
Tryg3D_GivePlayerDamage(targetid,Float:damage,playerid,weaponid,bool:force_spawn=true,bool:deathmsg=true);
PHP Code:
Tryg3D_swap_int -> Tryg3D_SwapInt
PHP Code:
T3D:GetSAMIncludeVersion(value,name[],maxdest = sizeof(name));
T3D:DisableADMLogging(bool:disable);
//Macro T3D:function
T3D:function test(alfa,beta){
return alfa + beta;
}
//Time Macros
T3D:SecToTimeDay(second); //Use: %d:%02d:%02d:%02d
T3D:MSToTimeDay(millisecond); //Use: %d:%02d:%02d:%02d
T3D:SecToTime(second); //Use: %02d:%02d:%02d
T3D:MSToTime(millisecond); //Use: %02d:%02d:%02d
T3D:SecToTimeMini(second); //Use: %02d:%02d
T3D:MSToTimeMini(millisecond); //Use: %02d:%02d
PHP Code:
CountTextDraw();
CountPlayerTextDraw(playerid);
CountVisibleTextDraw(playerid);
CountVisiblePlayerTextDraw(playerid);
The function will be added only if the new version Streamer Plugin has been installed.
- Added Streamer functions:
PHP Code:
Float:GetDynamicActorDistFromPoint(actorid,Float:x,Float:y,Float:z);
Float:GetPlayerDynamicActorDistance(playerid,actorid);
bool:IsDynamicActorInRangeOfPoint(actorid,Float:range,Float:x,Float:y,Float:z);
GetDynamicActorOrientationPos(actorid,element_orientation:orientation,Float:distance,&Float:tx,&Float:ty,&Float:tz);
bool:IsDynamicActorOnPlayerScreen(playerid,actorid,Float:rx=INVALID_ROTATION,Float:rz=INVALID_ROTATION,
Float:vrx=VERTICAL_CAMERA_RADIUS,Float:vrz=HORIZONTAL_CAMERA_RADIUS,bool:testLOS=true,
bool:testVW=true);
bool:IsDynamicActorOnFakeScreen(Float:x,Float:y,Float:z,actorid,Float:rx,Float:rz,
Float:vrx=VERTICAL_CAMERA_RADIUS,Float:vrz=HORIZONTAL_CAMERA_RADIUS,bool:testLOS=true);
PHP Code:
GetDynamicActorOrientPosCol(actorid,element_orientation:orientation,Float:distance,&Float:tx,&Float:ty,&Float:tz);
PHP Code:
Float:GetNPCDynamicActorDistance(npcid,actorid);
PHP Code:
bool:IsDynamicActorInStream(actorid,Stream:StreamData[Stream3D]);