OnPlayerDeath
#1

Hi?

Can i ask for help??

So, recently i added the hunt system at my script. then i want it OnPlayerDeath, when the hunt dies it will say "Please forgive PLAYERNAME as he kill his self. while if the hunt killed by killerid, it will say "Father, Please forgive PlAYernAMe as he killed Playername.
Reply
#2

https://sampwiki.blast.hk/wiki/SendClientMessage

SendClientMessage(playerid, ...)
SendClientMessage(killerid, ...)
Reply
#3

Quote:
Originally Posted by Aerotactics
Посмотреть сообщение
https://sampwiki.blast.hk/wiki/SendClientMessage

SendClientMessage(playerid, ...)
SendClientMessage(killerid, ...)
i did not mean "SendClientMessage" i mean "SendCLientMessageToAll
Reply
#4

Quote:
Originally Posted by PawnOX
Посмотреть сообщение
So, recently i added the hunt system at my script.
I have no idea what "the hunt system" is.
Reply
#5

Quote:
Originally Posted by Aerotactics
Посмотреть сообщение
I have no idea what "the hunt system" is.
When admin sets you as "Hunted" youll become pink blimp on radar, and player will go to you and kill. So when you got killed. it will send message to all like
Код:
"Father, Please forgive %s as he kill the hunted %s", GetPlayerNameEx(killerid), GetPlayerNameEx(playerid)
and When the hunted kill himself or died from explosions it will Send message to all like
Код:
"Father, Please forgive %s as he kill himself, What a dumbfuck!", GetPlayerNameEx(playerid)
I hope i can get this system

Thanks bro
Reply
#6

(fill in the blanks)
pawn Код:
//onplayerdeath...
if(killerid == INVALID_PLAYER_ID) SendClientMessageToAll(killed themself)
else SendClientMessageToAll(%s killed %s)
Reply
#7

Quote:
Originally Posted by Aerotactics
Посмотреть сообщение
(fill in the blanks)
pawn Код:
//onplayerdeath...
if(killerid == INVALID_PLAYER_ID) SendClientMessageToAll(killed themself)
else SendClientMessageToAll(%s killed %s)
bro, thank you very much!
Reply
#8

NVM Fixed
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)