[Include] 3DTryg Functions
#51

Update v3.0.5:

- Added auto FCNPC MapAndreas init.
- Added compiler option:
PHP код:
#define DISABLE_3D_TRYG_ACTOR //Use before 3DTryg.inc for disable Actors Module 
- Added Internal functions:
PHP код:
NLTV(value,min);                    //NotLessThanValue
NMTV(value,max);                    //NotMoreThanValue
Float:NLTVF(Float:value,Float:min); //NotLessThanValueFloat
Float:NMTVF(Float:value,Float:max); //NotMoreThanValueFloat 
- Added Extended function:
PHP код:
GetTryg3DActiveCount(); //returns the number of scripts that were activated 3DTryg 
- Updated functions:
PHP код:
//parameter bool:testLOS only works with ColAndreas 
bool:IsPlayerOnPlayerScreen(playerid,targetid,Float:rx=INVALID_ROTATION,Float:rz=INVALID_ROTATION Float:vrx=VERTICAL_CAMERA_RADIUS,Float:vrz=HORIZONTAL_CAMERA_RADIUS,bool:testLOS=true);
bool:IsPlayerOnFakeScreen(Float:x,Float:y,Float:z,targetid,Float:rx,Float:rz,Float:vrx=VERTICAL_CAMERA_RADIUS,Float:vrz=HORIZONTAL_CAMERA_RADIUS,bool:testLOS=true); 
- Added functions:
PHP код:
GetPlayerCameraLookAt(playerid,&Float:x,&Float:y,&Float:z); //Not support camera move
//parameter bool:testLOS only works with ColAndreas
IsPointInSphericalSectorEx(Float:px,Float:py,Float:pz,Float:x,Float:y,Float:z,Float:rx,Float:rz,Float:radius,Float:vrx,Float:vrz,bool:testLOS=true);
 
bool:IsVehicleOnPlayerScreen(playerid,vehicleid,Float:rx=INVALID_ROTATION,Float:rz=INVALID_ROTATION,Float:vrx=VERTICAL_CAMERA_RADIUS,Float:vrz=HORIZONTAL_CAMERA_RADIUS,bool:testLOS=true);
bool:IsVehicleOnFakeScreen(Float:x,Float:y,Float:z,vehicleid,Float:rx,Float:rz,Float:vrx=VERTICAL_CAMERA_RADIUS,Float:vrz=HORIZONTAL_CAMERA_RADIUS,bool:testLOS=true);
bool:IsObjectOnPlayerScreen(playerid,objectid,Float:rx=INVALID_ROTATION,Float:rz=INVALID_ROTATION,Float:vrx=VERTICAL_CAMERA_RADIUS,Float:vrz=HORIZONTAL_CAMERA_RADIUS,bool:testLOS=true);
bool:IsObjectOnFakeScreen(Float:x,Float:y,Float:z,objectid,Float:rx,Float:rz,Float:vrx=VERTICAL_CAMERA_RADIUS,Float:vrz=HORIZONTAL_CAMERA_RADIUS,bool:testLOS=true);
bool:IsActorOnPlayerScreen(playerid,actorid,Float:rx=INVALID_ROTATION,Float:rz=INVALID_ROTATION,Float:vrx=VERTICAL_CAMERA_RADIUS,Float:vrz=HORIZONTAL_CAMERA_RADIUS,bool:testLOS=true);
bool:IsActorOnFakeScreen(Float:x,Float:y,Float:z,actorid,Float:rx,Float:rz,Float:vrx=VERTICAL_CAMERA_RADIUS,Float:vrz=HORIZONTAL_CAMERA_RADIUS,bool:testLOS=true); 
- Added Streamer functions:
PHP код:
SetPlayerAbsolutePosition(playerid,Float:x,Float:y,Float:z,Float:angle,worldid = -1,interiorid = -1,compensatedtime = -1);
SetPlayerAbsolutePositionVeh(playerid,Float:x,Float:y,Float:z,Float:angle,worldid = -1,interiorid = -1,compensatedtime = -1);
//parameter bool:testLOS only works with ColAndreas
bool:IsDynamicObjectOnPlayerScreen(playerid,objectid,Float:rx=INVALID_ROTATION,Float:rz=INVALID_ROTATION,Float:vrx=VERTICAL_CAMERA_RADIUS,Float:vrz=HORIZONTAL_CAMERA_RADIUS,bool:testLOS=true);
bool:IsDynamicObjectOnFakeScreen(Float:x,Float:y,Float:z,objectid,Float:rx,Float:rz,Float:vrx=VERTICAL_CAMERA_RADIUS,Float:vrz=HORIZONTAL_CAMERA_RADIUS,bool:testLOS=true); 
- Added Streamer functions (FCNPC):
PHP код:
SetNPCAbsolutePosition(npcid,Float:x,Float:y,Float:z,Float:angle,worldid = -1,interiorid = -1,compensatedtime = -1); 
Reply


Messages In This Thread
3DTryg Functions - by AbyssMorgan - 06.10.2015, 20:19
Re: Get Point In Front 2D 3D - by Stanford - 07.10.2015, 13:28
AW: Get Point In Front 2D 3D - by FSAOskar - 07.10.2015, 13:42
Re: Get Point In Front 2D 3D - by Crayder - 07.10.2015, 16:01
Re: Get Point In Front 2D 3D - by AbyssMorgan - 07.10.2015, 17:00
Re: Get Point In Front 2D 3D - by Crayder - 07.10.2015, 19:28
Re: Get Point In Front 2D 3D - by AbyssMorgan - 07.10.2015, 19:29
Re: Get Point In Front 2D 3D - by Crayder - 07.10.2015, 21:14
Re: Get Point In Front 2D 3D - by AbyssMorgan - 08.10.2015, 05:08
Re: Get Point In Front 2D 3D - by codectile - 08.10.2015, 06:04
Re: Get Point In Front 2D 3D - by Crayder - 08.10.2015, 11:29
Re: Get Point In Front 2D 3D - by AbyssMorgan - 08.10.2015, 14:05
Re: Get Point In Front 2D 3D - by AbyssMorgan - 08.10.2015, 15:55
Re: Get Point In Front 2D 3D - by Crayder - 08.10.2015, 15:59
Re: Get Point In Front 2D 3D - by AbyssMorgan - 08.10.2015, 16:01
Re: Get Point In Front 2D 3D - by Crayder - 08.10.2015, 16:26
Re: Get Point In Front 2D 3D - by AbyssMorgan - 28.10.2015, 17:16
Re: Get Point In Front 2D 3D - by AbyssMorgan - 05.06.2016, 19:23
Re: Get Point In Front 2D 3D - by Crayder - 05.06.2016, 19:44
Re: Get Point In Front 2D 3D - by AbyssMorgan - 05.06.2016, 19:52
Re: Get Point In Front 2D 3D - by AbyssMorgan - 05.07.2016, 07:16
Re: Get Point In Front 2D 3D - by Battlezone - 06.07.2016, 00:25
Re: Get Point In Front 2D 3D - by AbyssMorgan - 06.07.2016, 03:56
Re: Get Point In Front 2D 3D - by Battlezone - 06.07.2016, 07:40
Re: Get Point In Front 2D 3D - by AbyssMorgan - 06.07.2016, 10:46
Re: Get Point In Front 2D 3D - by GhostHacker - 06.07.2016, 10:49
Re: Get Point In Front 2D 3D - by AbyssMorgan - 06.07.2016, 17:52
Re: Get Point In Front 2D 3D - by AbyssMorgan - 07.07.2016, 16:06
Re: Get Point In Front 2D 3D - by AbyssMorgan - 09.07.2016, 08:01
Re: Get Point In Front 2D 3D - by AbyssMorgan - 24.07.2016, 09:18
Re: Get Point In Front 2D 3D - by AbyssMorgan - 05.09.2016, 15:59
Re: Get Point In Front 2D 3D - by AbyssMorgan - 17.09.2016, 08:13
Re: Get Point In Front 2D 3D - by AbyssMorgan - 02.10.2016, 07:55
Re: Get Point In Front 2D 3D - by ExTaZZ69 - 02.10.2016, 09:46
Re: Get Point In Front 2D 3D - by AbyssMorgan - 03.10.2016, 19:54
Re: Get Point In Front 2D 3D - by Unrea1 - 04.10.2016, 18:30
Re: Get Point In Front 2D 3D - by AbyssMorgan - 04.10.2016, 18:45
Re: Get Point In Front 2D 3D - by AbyssMorgan - 04.10.2016, 19:40
Re: Get Point In Front 2D 3D - by Unrea1 - 04.10.2016, 21:15
Re: Get Point In Front 2D 3D - by Crayder - 05.10.2016, 01:39
Re: 3DTryg Functions - by AbyssMorgan - 09.10.2016, 13:00
Re: 3DTryg Functions - by AbyssMorgan - 09.10.2016, 13:20
Re: 3DTryg Functions - by Pottus - 21.10.2016, 01:23
Re: 3DTryg Functions - by n0minal - 21.10.2016, 01:47
Re: 3DTryg Functions - by AbyssMorgan - 22.10.2016, 08:01
Re: 3DTryg Functions - by AbyssMorgan - 08.11.2016, 20:33
Re: 3DTryg Functions - by renatog - 09.11.2016, 21:00
Re: 3DTryg Functions - by AbyssMorgan - 10.11.2016, 05:19
Re: 3DTryg Functions - by Unrea1 - 11.11.2016, 01:09
Re: 3DTryg Functions - by Unrea1 - 12.11.2016, 17:46
Re: 3DTryg Functions - by AbyssMorgan - 13.11.2016, 13:42
Re: 3DTryg Functions - by Unrea1 - 13.11.2016, 22:18
Re: 3DTryg Functions - by AbyssMorgan - 14.11.2016, 06:51
Re: 3DTryg Functions - by AbyssMorgan - 14.11.2016, 16:39
Re: 3DTryg Functions - by Unrea1 - 16.11.2016, 23:59
Re: 3DTryg Functions - by AbyssMorgan - 19.11.2016, 15:54
Re: 3DTryg Functions - by Fynn. - 19.11.2016, 16:32
Re: 3DTryg Functions - by AbyssMorgan - 19.11.2016, 16:41
Re: 3DTryg Functions - by AbyssMorgan - 24.11.2016, 17:37
Re: 3DTryg Functions - by AbyssMorgan - 15.12.2016, 20:43
Re: 3DTryg Functions - by AbyssMorgan - 31.12.2016, 09:11
Re: 3DTryg Functions - by AbyssMorgan - 16.01.2017, 20:42
Re: 3DTryg Functions - by AbyssMorgan - 09.02.2017, 19:57
Re: 3DTryg Functions - by Unrea1 - 09.02.2017, 22:45
Re: 3DTryg Functions - by AbyssMorgan - 10.02.2017, 18:41
Re: 3DTryg Functions - by AbyssMorgan - 12.02.2017, 14:30
Re: 3DTryg Functions - by Roozevelt - 12.02.2017, 17:57
Re: 3DTryg Functions - by Unrea1 - 13.02.2017, 18:30
Re: 3DTryg Functions - by AbyssMorgan - 14.02.2017, 06:56
Re: 3DTryg Functions - by AbyssMorgan - 14.02.2017, 06:59
Re: 3DTryg Functions - by AbyssMorgan - 19.02.2017, 12:39
Re: 3DTryg Functions - by AbyssMorgan - 04.03.2017, 15:53
Re: 3DTryg Functions - by AbyssMorgan - 10.04.2017, 16:01
Re: 3DTryg Functions - by Crayder - 10.04.2017, 22:18
Re: 3DTryg Functions - by AbyssMorgan - 13.04.2017, 07:15
Re: 3DTryg Functions - by AbyssMorgan - 15.04.2017, 13:08
Re: 3DTryg Functions - by AbyssMorgan - 30.04.2017, 07:50
Re: 3DTryg Functions - by AbyssMorgan - 18.05.2017, 16:21
Re: 3DTryg Functions - by Dayvison_ - 30.05.2017, 19:28
Re: 3DTryg Functions - by AbyssMorgan - 31.05.2017, 06:31
Re: 3DTryg Functions - by Dayvison_ - 31.05.2017, 18:04
Re: 3DTryg Functions - by AbyssMorgan - 31.05.2017, 21:47
Re: 3DTryg Functions - by DRIFT_HUNTER - 01.06.2017, 14:27
Re: 3DTryg Functions - by AbyssMorgan - 01.06.2017, 16:58
Re: 3DTryg Functions - by AbyssMorgan - 13.07.2017, 14:35
Re: 3DTryg Functions - by AbyssMorgan - 11.08.2017, 16:59
Re: 3DTryg Functions - by AbyssMorgan - 16.08.2017, 13:18
Re: 3DTryg Functions - by AbyssMorgan - 21.08.2017, 16:03
Respuesta: 3DTryg Functions - by MeScript2212 - 30.08.2017, 14:39
Re: 3DTryg Functions - by AbyssMorgan - 10.09.2017, 16:20
Re: 3DTryg Functions - by AbyssMorgan - 19.09.2017, 06:33
Re: 3DTryg Functions - by Xeon™ - 19.09.2017, 12:07
Re: 3DTryg Functions - by Pottus - 19.09.2017, 21:10
Re: 3DTryg Functions - by Nero_3D - 20.09.2017, 01:41
Re: 3DTryg Functions - by AbyssMorgan - 21.09.2017, 07:04
Re: 3DTryg Functions - by CoaPsyFactor - 21.09.2017, 19:25
Re: 3DTryg Functions - by AbyssMorgan - 28.09.2017, 08:29
Re: 3DTryg Functions - by Gammix - 28.09.2017, 14:44
Re: 3DTryg Functions - by AbyssMorgan - 28.09.2017, 14:51
Re: 3DTryg Functions - by ToiletDuck - 19.10.2017, 04:00
Re: 3DTryg Functions - by AbyssMorgan - 19.10.2017, 05:50
Re: 3DTryg Functions - by kennydalglish - 04.12.2017, 17:30
Re: 3DTryg Functions - by Uberanwar - 15.04.2018, 05:11
Re: 3DTryg Functions - by BigETI - 15.04.2018, 09:10
Re: 3DTryg Functions - by Dayvison_ - 15.04.2018, 12:00
Re: 3DTryg Functions - by Chaprnks - 25.04.2018, 19:48
Re: 3DTryg Functions - by Speaker - 21.05.2018, 05:48
Re: 3DTryg Functions - by Azaroth - 02.11.2018, 11:23
Re: 3DTryg Functions - by tandytanz - 01.01.2019, 19:14
Re: 3DTryg Functions - by NoahAntilles - 27.01.2019, 11:52
Re: 3DTryg Functions - by SymonClash - 27.01.2019, 20:03
Re: 3DTryg Functions - by NoahAntilles - 28.01.2019, 09:18
Re: 3DTryg Functions - by Switel12 - 16.02.2019, 09:43
Re: 3DTryg Functions - by BigETI - 16.02.2019, 10:14
Re: 3DTryg Functions - by Switel12 - 16.02.2019, 11:29
Re: 3DTryg Functions - by BigETI - 16.02.2019, 15:57
Re: 3DTryg Functions - by Switel12 - 17.02.2019, 05:54
Re: 3DTryg Functions - by The King's Bastard - 17.02.2019, 06:42
Re: 3DTryg Functions - by Switel12 - 17.02.2019, 07:27
Re: 3DTryg Functions - by BigETI - 17.02.2019, 08:50
Re: 3DTryg Functions - by Switel12 - 19.02.2019, 05:50
Re: 3DTryg Functions - by BigETI - 19.02.2019, 11:23
Re: 3DTryg Functions - by Switel12 - 23.02.2019, 18:01
Re: 3DTryg Functions - by J0sh... - 23.02.2019, 18:02
Re: 3DTryg Functions - by Hazon - 23.02.2019, 18:54

Forum Jump:


Users browsing this thread: 14 Guest(s)