how to make a attacking npc
#1

beacuse CNPC cant not be used
i wan't to make a attacking npc to attack player
Reply
#2

Good idea.

Now get to it.
Reply
#3

@clavador - Are you retarded? I can see why you have 0 rep.

@peterory - Mate, NPC's are simply bots that auto-connect and run a recorded macro, either once or repeatedly.
Without some seriously insane and more than likely extremely inefficient and buggy code, there is no way of achieving this YET.

Possibly in later versions of SA-MP there will be functionality to create dynamic NPC's, but at the current time I don't believe there is such a thing. (Correct me if i'm wrong)
Reply
#4

Hi robby, Its me nader from wcrp lol
Reply
#5

Quote:
Originally Posted by peterory
Посмотреть сообщение
beacuse CNPC cant not be used
i wan't to make a attacking npc to attack player
Not possible...

Quote:
Originally Posted by viddo
Посмотреть сообщение
Hi robby, Its me nader from wcrp lol
Are you dumb? If your not helping him then you have NOT ONE reason to be posting here!
Reply
#6

This is impossible? I remember seeing a tutorial similar to this on the forums. Can't you make a stock like SetPlayerFacingPlayer and use that on the NPC, and use OnPlayerUpdate and a shitload of if's? This is just my way of thinking. My fault if it isn't possible.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)