Detect "custom deaths"
#6

pawn Код:
new HaveBomb[MAX_PLAYERS];
When you plant a bomb on someone or w/e is your script work ^^
pawn Код:
HaveBomb[playerid] = 1;
then set a timer on him to " explode or low his health till death " and use OnPlayerDeath like i said
and OnPlayerDeath
pawn Код:
If(!HaveBomb[playerid] == 1) SendDeathMessage(killerid, playerid, reason);
Reply


Messages In This Thread
Detect "custom deaths" - by Kyance - 20.02.2014, 16:47
Re: Detect "custom deaths" - by xo - 20.02.2014, 17:00
Re: Detect "custom deaths" - by Kyance - 20.02.2014, 17:05
Re: Detect "custom deaths" - by xo - 20.02.2014, 17:07
Re: Detect "custom deaths" - by Kyance - 20.02.2014, 17:17
Re: Detect "custom deaths" - by xo - 20.02.2014, 17:33
Re: Detect "custom deaths" - by Kyance - 20.02.2014, 17:33
Re: Detect "custom deaths" - by Kyance - 21.02.2014, 04:39

Forum Jump:


Users browsing this thread: 1 Guest(s)