[Plugin] FCNPC - Fully Controllable NPC sa-mp 0.3x R2
#50

Maybe useful:

Код:
class CAimSyncData
{
	public:
		BYTE			byteCameraMode;			// 0x0000 - 0x0001
		CVector			vecFront;				// 0x0001 - 0x000D
		CVector			vecPosition;			// 0x000D - 0x0019
		float			fZAim;					// 0x0019 - 0x001D
		BYTE			byteWeaponStateAndZoom;	// 0x001D - 0x001E
		BYTE			unk;		// 0x001E - 0x001F
		// Size = 0x1F

};

Weapon state:
result = (unsigned int)*(_BYTE *)(byteWeaponStateAndZoom) >> 6;

Camera zoom:
v6 = (double)(*(_BYTE *)(byteWeaponStateAndZoom) & 0x3F) * 0.01587301678955555 * 35.0 + 35.0;
Reply


Messages In This Thread
FCNPC - Fully Controllable NPC sa-mp 0.3x R2 - by [LCK]Chris - 14.10.2013, 11:56
Re: FCNPC - Fully Controllable NPC sa-mp 0.3x R2 - by Mauzen - 14.10.2013, 12:14
Re: FCNPC - Fully Controllable NPC sa-mp 0.3x R2 - by Bingo - 14.10.2013, 12:40
Re: FCNPC - Fully Controllable NPC sa-mp 0.3x R2 - by kurta999 - 14.10.2013, 13:45
Re: FCNPC - Fully Controllable NPC sa-mp 0.3x R2 - by TonyII - 14.10.2013, 14:26
Re: FCNPC - Fully Controllable NPC sa-mp 0.3x R2 - by [LCK]Chris - 14.10.2013, 15:07
Re: FCNPC - Fully Controllable NPC sa-mp 0.3x R2 - by TonyII - 14.10.2013, 15:14
Re: FCNPC - Fully Controllable NPC sa-mp 0.3x R2 - by iZN - 14.10.2013, 15:57
Re: FCNPC - Fully Controllable NPC sa-mp 0.3x R2 - by [LCK]Chris - 14.10.2013, 16:24
Re: FCNPC - Fully Controllable NPC sa-mp 0.3x R2 - by Bingo - 14.10.2013, 17:19
Re: FCNPC - Fully Controllable NPC sa-mp 0.3x R2 - by Pottus - 14.10.2013, 17:24
Re: FCNPC - Fully Controllable NPC sa-mp 0.3x R2 - by Bingo - 14.10.2013, 17:36
Re: FCNPC - Fully Controllable NPC sa-mp 0.3x R2 - by OrMisicL - 14.10.2013, 19:59
Respuesta: FCNPC - Fully Controllable NPC sa-mp 0.3x R2 - by Swedky - 14.10.2013, 21:17
Re: FCNPC - Fully Controllable NPC sa-mp 0.3x R2 - by Pottus - 14.10.2013, 21:21
Respuesta: FCNPC - Fully Controllable NPC sa-mp 0.3x R2 - by Swedky - 14.10.2013, 21:42
Re: FCNPC - Fully Controllable NPC sa-mp 0.3x R2 - by DanishHaq - 14.10.2013, 23:09
Re: FCNPC - Fully Controllable NPC sa-mp 0.3x R2 - by [SF]OutLawZ - 15.10.2013, 04:49
Re: FCNPC - Fully Controllable NPC sa-mp 0.3x R2 - by KeNTos - 15.10.2013, 12:45
Re: FCNPC - Fully Controllable NPC sa-mp 0.3x R2 - by [LCK]Chris - 15.10.2013, 13:04
Re: FCNPC - Fully Controllable NPC sa-mp 0.3x R2 - by KeNTos - 15.10.2013, 13:55
Re: FCNPC - Fully Controllable NPC sa-mp 0.3x R2 - by Pottus - 15.10.2013, 15:40
Re: FCNPC - Fully Controllable NPC sa-mp 0.3x R2 - by [D]ry[D]esert - 16.10.2013, 00:01
Re: FCNPC - Fully Controllable NPC sa-mp 0.3x R2 - by whatthefuck123 - 16.10.2013, 00:15
Re: FCNPC - Fully Controllable NPC sa-mp 0.3x R2 - by Pottus - 16.10.2013, 00:18
Re: FCNPC - Fully Controllable NPC sa-mp 0.3x R2 - by whatthefuck123 - 16.10.2013, 00:19
Re: FCNPC - Fully Controllable NPC sa-mp 0.3x R2 - by [SF]OutLawZ - 16.10.2013, 01:46
Re: FCNPC - Fully Controllable NPC sa-mp 0.3x R2 - by [LCK]Chris - 16.10.2013, 03:02
Re: FCNPC - Fully Controllable NPC sa-mp 0.3x R2 - by [LCK]Chris - 16.10.2013, 03:06
Re: FCNPC - Fully Controllable NPC sa-mp 0.3x R2 - by [D]ry[D]esert - 16.10.2013, 16:44
Re: FCNPC - Fully Controllable NPC sa-mp 0.3x R2 - by leong124 - 04.11.2013, 03:33
Re: AW: FCNPC - Fully Controllable NPC sa-mp 0.3x R2 - by OrMisicL - 04.11.2013, 21:58
Re: AW: FCNPC - Fully Controllable NPC sa-mp 0.3x R2 - by whatthefuck123 - 04.11.2013, 23:33
Re: FCNPC - Fully Controllable NPC sa-mp 0.3x R2 - by Pottus - 05.11.2013, 00:27
Re: FCNPC - Fully Controllable NPC sa-mp 0.3x R2 - by whatthefuck123 - 05.11.2013, 02:40
Re: FCNPC - Fully Controllable NPC sa-mp 0.3x R2 - by leong124 - 05.11.2013, 08:06
Re: FCNPC - Fully Controllable NPC sa-mp 0.3x R2 - by KeNTos - 05.11.2013, 15:23
Re: FCNPC - Fully Controllable NPC sa-mp 0.3x R2 - by Smacky - 10.11.2013, 21:10
Re: FCNPC - Fully Controllable NPC sa-mp 0.3x R2 - by [D]ry[D]esert - 11.11.2013, 12:23
Re: FCNPC - Fully Controllable NPC sa-mp 0.3x R2 - by caoraivoso3 - 13.11.2013, 17:32
Re: FCNPC - Fully Controllable NPC sa-mp 0.3x R2 - by FShiwani - 13.11.2013, 18:12
Re: FCNPC - Fully Controllable NPC sa-mp 0.3x R2 - by 420Scripter - 13.11.2013, 20:22
Re: FCNPC - Fully Controllable NPC sa-mp 0.3x R2 - by caoraivoso3 - 15.11.2013, 20:33
Re: FCNPC - Fully Controllable NPC sa-mp 0.3x R2 - by AIped - 16.11.2013, 07:29
Re: FCNPC - Fully Controllable NPC sa-mp 0.3x R2 - by caoraivoso3 - 16.11.2013, 08:19
Re: FCNPC - Fully Controllable NPC sa-mp 0.3x R2 - by AIped - 16.11.2013, 09:55
Re: FCNPC - Fully Controllable NPC sa-mp 0.3x R2 - by caoraivoso3 - 16.11.2013, 12:39
Re: FCNPC - Fully Controllable NPC sa-mp 0.3x R2 - by AIped - 16.11.2013, 12:56
Re: FCNPC - Fully Controllable NPC sa-mp 0.3x R2 - by sagosagi1 - 16.05.2014, 14:08
Re: FCNPC - Fully Controllable NPC sa-mp 0.3x R2 - by kurta999 - 16.05.2014, 14:16

Forum Jump:


Users browsing this thread: 2 Guest(s)