[Plugin] FCNPC - Fully Controllable NPC sa-mp 0.3x R2 - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Plugin Development (
https://sampforum.blast.hk/forumdisplay.php?fid=18)
+--- Thread: [Plugin] FCNPC - Fully Controllable NPC sa-mp 0.3x R2 (
/showthread.php?tid=469691)
Re: FCNPC - Fully Controllable NPC sa-mp 0.3x R2 -
FShiwani - 13.11.2013
Quote:
Originally Posted by caoraivoso3
how i can change maxnpc limit?
|
Edit your server.cfg file
Re: FCNPC - Fully Controllable NPC sa-mp 0.3x R2 -
420Scripter - 13.11.2013
Wow nice work!
Re: FCNPC - Fully Controllable NPC sa-mp 0.3x R2 -
caoraivoso3 - 15.11.2013
very good but how i can put my npc for all the virtual worlds?
Re: FCNPC - Fully Controllable NPC sa-mp 0.3x R2 -
AIped - 16.11.2013
Quote:
Originally Posted by caoraivoso3
very good but how i can put my npc for all the virtual worlds?
|
You cant put them in all virtual worlds at once.
Re: FCNPC - Fully Controllable NPC sa-mp 0.3x R2 -
caoraivoso3 - 16.11.2013
i want to put the npc being watched in all virtualworlds
Re: FCNPC - Fully Controllable NPC sa-mp 0.3x R2 -
AIped - 16.11.2013
iknow and it is impossible
Re: FCNPC - Fully Controllable NPC sa-mp 0.3x R2 -
caoraivoso3 - 16.11.2013
ok then thanks anyway i can do this with checkpoints but i cant do it with npcs, but in some servers i see npcs in diferent virtualworlds well i think i see it is the same npcs for diferent vitualworlds i dont know.
Re: FCNPC - Fully Controllable NPC sa-mp 0.3x R2 -
AIped - 16.11.2013
for example;
you can set npc with id 0 into virtual world 1
but you cant set npc with id 0 into world 1 and 2 and 3.
The only way of doing it is adding another npc for each virtual world but thats pretty lame because you dont want to take so much playerslots for just adding them into different virtual worlds..well..i wouldnt.
Re: FCNPC - Fully Controllable NPC sa-mp 0.3x R2 -
sagosagi1 - 16.05.2014
Is it works on 0.3z?
Re: FCNPC - Fully Controllable NPC sa-mp 0.3x R2 -
kurta999 - 16.05.2014
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;