SA-MP Forums Archive
Npc programming a police officer - 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: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Npc programming a police officer (/showthread.php?tid=272685)



Npc programming a police officer - slymatt - 29.07.2011

Is it possible to make NPC's like Cops? For example if fights start in a part of the map they will come out of the police station and drive to where the disturbance is then do something?


Re: Npc programming a police officer - Guest3598475934857938411 - 29.07.2011

Not impossible, require OnPlayerShootPlayer if someone shoots player then the npc sets its location to the shooter then it asks to jail him, if he resists it shoots a missile or something.


Re: Npc programming a police officer - Skylar Paul - 29.07.2011

Using CNPC this is possible, unfortunately, it's banned from this forum. However, not from other places. *hint hint*


Re: Npc programming a police officer - IllidanS46 - 29.07.2011

Why it is banned?


Re: Npc programming a police officer - Snipa - 29.07.2011

Quote:
Originally Posted by IllidanS4
Посмотреть сообщение
Why it is banned?
A function was added for it that enabled fake players..

Memory hacking..


Re: Npc programming a police officer - slymatt - 29.07.2011

just got back and seen this thanks all is it possible with out any includes?

and whatsd wrong with adding fake players?


Re: Npc programming a police officer - Mean - 29.07.2011

Quote:
Originally Posted by slymatt
Посмотреть сообщение
and whatsd wrong with adding fake players?
Are you serious?
Some servers added like 200 players to their servers, and then everyone thought it was an epic server with a lot of players, so they joined it, and bam! No one there, except for the NPCs.


Re: Npc programming a police officer - slymatt - 29.07.2011

Alright i see =P


Re: Npc programming a police officer - slymatt - 29.07.2011

I cant find this CNPC anywhere haha


Re: Npc programming a police officer - slymatt - 29.07.2011

Is there any tutorials on the CNPC plugin that you know if i cant find any =S