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
Including a killerid with SetPlayerHealth?
JamesS
Little Clucker
Posts: 46
Threads: 12
Joined: Feb 2013
Reputation:
0
#1
09.05.2013, 13:46
Is it possible?
Find
Reply
newbienoob
High-roller
Posts: 1,534
Threads: 129
Joined: Jan 2012
Reputation:
0
#2
09.05.2013, 13:48
In OnPlayerDeath? Yes
Find
Reply
MrTinder
Big Clucker
Posts: 148
Threads: 29
Joined: Sep 2012
Reputation:
0
#3
09.05.2013, 13:48
Only in "OnPlayerDeath(playerid, killerid, reason)" see how:
pawn Код:
OnPlayerDeath
(
playerid, killerid, reason
)
{
SetPlayerHealth
(
killerid,
100
)
;
return
1
;
}
Find
Reply
JamesS
Little Clucker
Posts: 46
Threads: 12
Joined: Feb 2013
Reputation:
0
#4
09.05.2013, 13:50
Nah, when I use SetPlayerHealth(playerid, 0). Including a usseid, my mistake.
Find
Reply
JamesS
Little Clucker
Posts: 46
Threads: 12
Joined: Feb 2013
Reputation:
0
#5
09.05.2013, 13:52
Isn't there a way to still succeed in doing so?
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