Forum
Search
Members
Help
Hello There, Guest!
Login
Username:
Password:
Lost Password?
Remember me
SA-MP Forums Archive
SA-MP Scripting and Plugins
Scripting Help
Threaded Mode
vulnerable npcs
xDeadlyBoy
Big Clucker
Posts: 140
Threads: 28
Joined: Jul 2010
Reputation:
0
#1
25.04.2014, 22:50
is it possible to make npcs vulnerable so you can shoot and kill them?
Find
Reply
quark
Big Clucker
Posts: 63
Threads: 15
Joined: Dec 2011
Reputation:
0
#2
25.04.2014, 23:01
yes it is, search and u'll find
Find
Reply
Ramoboss
Big Clucker
Posts: 115
Threads: 4
Joined: Nov 2012
Reputation:
0
#3
25.04.2014, 23:36
look at this
Find
Reply
Pottus
High-roller
Posts: 4,885
Threads: 57
Joined: Jun 2012
Reputation:
0
#4
25.04.2014, 23:37
Quote:
Originally Posted by
Ramoboss
look at this
Are you kidding me dude? That is very old OnPlayerGiveDamage() is called when you shoot NPCs now.
Find
Reply
Ramoboss
Big Clucker
Posts: 115
Threads: 4
Joined: Nov 2012
Reputation:
0
#5
26.04.2014, 00:09
no i'm not kidding x)
but it can be useful
I'm not gonna give him the full code, so i gave him an exemple, so he can see how doing a vulnerable NPC
Find
Reply
xDeadlyBoy
Big Clucker
Posts: 140
Threads: 28
Joined: Jul 2010
Reputation:
0
#6
26.04.2014, 08:21
Quote:
Originally Posted by
quark
yes it is, search and u'll find
thanks for the help -.-
Quote:
Originally Posted by
Ramoboss
look at this
does OnPlayerTakeDamage applies to NPCs? because if so, it'll be easier than i expected...
Find
Reply
quark
Big Clucker
Posts: 63
Threads: 15
Joined: Dec 2011
Reputation:
0
#7
26.04.2014, 08:22
Quote:
Originally Posted by
xDeadlyBoy
thanks for the help -.-
does OnPlayerTakeDamage applies to NPCs? because if so, it'll be easier than i expected...
learn how to search
Find
Reply
xDeadlyBoy
Big Clucker
Posts: 140
Threads: 28
Joined: Jul 2010
Reputation:
0
#8
26.04.2014, 08:26
Quote:
Originally Posted by
quark
learn how to search
wait, you think i didn't? you think i rather wait for "helpful" answers like yours instead of getting the answer immidately?
if you can't actually help - don't post.
Find
Reply
«
Next Oldest
|
Next Newest
»
View a Printable Version
Forum Jump:
Private Messages
User Control Panel
Who's Online
Search
Forum Home
SA-MP
-- News and Updates
-- General
-- Client Support
-- Bug Reports
-- Screenshots and Videos
SA-MP Server
-- Server Support
-- Server Advertisements
SA-MP Scripting and Plugins
-- Scripting Help
---- Tutorials
---- Discussion
---- Help Archive
-- Gamemode Scripts
-- Filterscripts
---- Includes
---- Tools and Files
---- Maps
-- Plugin Development
SA-MP DL Edition
-- SA-MP 0.3.DL
---- Model Releases
Other
-- Everything and Nothing
Non-English
-- Languages
---- Nederlands/Dutch
------ Scripting Showroom en Discussie
------ Off topic
---- Español/Spanish
------ Lanzamientos/Releases
---- Français/French
------ Showroom
---- Русский/Russian
------ Релизы/Releases
---- Português/Portuguese
------ Lançamentos/Releases
---- Română/Romanian
------ Salonul Scripturilor
---- Archive
Users browsing this thread: 2 Guest(s)
SA-MP Forums Archive
SA-MP Scripting and Plugins
Scripting Help