SA-MP Forums Archive
[Include] Controllable NPC - 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: Filterscripts (https://sampforum.blast.hk/forumdisplay.php?fid=17)
+---- Forum: Includes (https://sampforum.blast.hk/forumdisplay.php?fid=83)
+---- Thread: [Include] Controllable NPC (/showthread.php?tid=301370)

Pages: 1 2 3


Re: Controllable NPC - Brian_G - 17.01.2012

wow really nice.


Re: Controllable NPC - Deskoft - 17.01.2012

What a marvellous release.


Re: Controllable NPC - Scenario - 17.01.2012

This is awesome.


Re: Controllable NPC - SoUrAv - 17.01.2012

Are they gonna take slots !


Re: Controllable NPC - Lorenc_ - 17.01.2012

Quote:
Originally Posted by SoUrAv
View Post
Are they gonna take slots !
Of course, a NPC has to consume something from the server..


Re: Controllable NPC - usersamp - 17.01.2012

Yes, but when i go to point of NPC's spawn, it is correctly... (I Use /GoToPoint)
Is a Problem of MapAndreas Plugin? I dont have load it...

My Test Float: 1529.6, -1691.2, 13.3


Re: Controllable NPC - usersamp - 17.01.2012

Ahn, My Bots Spawn in AddPlayerClass Position! And SetPlayerPos doesn't work, how i can resolve this?


Re: Controllable NPC - Niko_boy - 17.01.2012

too awesome script to use ever!!


Re: Controllable NPC - Lorenc_ - 17.01.2012

Quote:
Originally Posted by usersamp
View Post
Yes, but when i go to point of NPC's spawn, it is correctly... (I Use /GoToPoint)
Is a Problem of MapAndreas Plugin? I dont have load it...

My Test Float: 1529.6, -1691.2, 13.3
Not sure? Maybe tweak the mapandreas option off for now?

pawn Code:
stock SetNpcPos( Npc: id, Float: X, Float: Y, Float: Z )
{
    if( !IsPlayerConnected( g_cnpcData[ _: id ] [ E_ID ] ) )
        return 0;
       
    SetPlayerPos( g_cnpcData[ _: id ] [ E_ID ], X, Y, Z );
    return 1;
}
Will add a bunch of functions soon, releasing a new thing now


Re: Controllable NPC - Lorenc_ - 02.04.2012

Quote:
Originally Posted by AlExAlExAlEx
View Post
Update would be appreciated, thanks.
Hmm, besides the weapon giving bug, what else before I work on the new version?

I'll recreate the script soon.


Re: Controllable NPC - clavador - 02.04.2012

Quote:
Originally Posted by Lorenc_
View Post
Hmm, besides the weapon giving bug, what else before I work on the new version?

I'll recreate the script soon.
I don't if it's your script. I tried to give a NPC a weapon and it wouldn't work neither.

I don't know for sure... tried giving an npc a weapon in 0.3e and 0.3d and it wouldn't work, and is not difficult to do... GivePlayerWeapon( npcid, 22, 100 ) and nothing else...


Re: Controllable NPC - [T]HeLLBoY - 02.04.2012

yeah... im sure u were thinking same... omg on 3 topics u just wrote same things :S stop with that.


Re: Controllable NPC - Snipa - 29.04.2012

Any updates?


Respuesta: Controllable NPC - [Vector] - 30.04.2012

Man, you're a fucking genius. You did it good and without the need of hack the SA-MP's internal memory like the old plugin. For sure, I'm gonna use this, thanks.


Re: Respuesta: Controllable NPC - TheArcher - 30.04.2012

Quote:
Originally Posted by [Vector]
View Post
Man, you're a fucking genius. You did it good and without the need of hack the SA-MP's internal memory like the old plugin. For sure, I'm gonna use this, thanks.
remember that the moviments of the NPC lags.


Re: Controllable NPC - Juninho_Oakley - 30.04.2012

Good Job


Re: Respuesta: Controllable NPC - mprofitt - 30.04.2012

Quote:
Originally Posted by TheArcher
View Post
remember that the moviments of the NPC lags.
They more than lag, they jump from one position to the next. It is not a workable solution but it is progress.


Re: Respuesta: Controllable NPC - TheArcher - 30.04.2012

Quote:
Originally Posted by mprofitt
View Post
They more than lag, they jump from one position to the next. It is not a workable solution but it is progress.
That's SA:MP fault. After 0.3a version NPC functions are quite difficult to use.


Re: Controllable NPC - Lorenc_ - 30.04.2012

Hey TheArcher, mind pming me the new version? Sorry that I don't update this, busy nowadays...

PM me all the modified bits as well if possible!!


Re: Controllable NPC - Manowar - 09.07.2012

Where can I download the version of the plug-in for samp 03e?