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
Knife problem
Dusan01
Huge Clucker
Posts: 484
Threads: 131
Joined: Jul 2011
Reputation:
0
#1
18.01.2015, 17:33
Hi guys im using FCNPC plugin for NPC and how can i make to NPC cant be knifed?
Find
Reply
nezo2001
Gangsta
Posts: 680
Threads: 143
Joined: Nov 2014
Reputation:
0
#2
18.01.2015, 18:15
I don't know how to work with npc well but i think
UnderOnPlayerTakeDamage
PHP код:
if(
IsPlayerNPC
&&
GetPlayerWeapon
(
issuerid
) ==
4
)
{
return
0
;
}
I think !!!
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