[Include] first-blood.inc
#1

First Blood (v1.1)

View code and download: https://gist.github.com/AmirSavand/e...45576724f2d70c

Leave comments here or on the GitHub page if you have any questions/suggestions.


Installation

Just include it in the gamemode.


Usage

Watch OnPlayerFirstBlood(playerid, killedid) to handle first blood (announce, reward, etc.).


Example

PHP код:
hook OnPlayerFirstBlood(playeridkilledid)
{
    
printf("Player %i drew first blood by killing player %i"playeridkilledid);
    
// Reward player, announce, etc...

Reply


Messages In This Thread
first-blood.inc - by AmirSavand - 13.09.2018, 17:11
Re: first-blood.inc - by iLearner - 13.09.2018, 17:26
Re: first-blood.inc - by AmirSavand - 13.09.2018, 17:50
Re: first-blood.inc - by CodeStyle175 - 13.09.2018, 18:39
Re: first-blood.inc - by DTV - 13.09.2018, 18:57
Re: first-blood.inc - by AmirSavand - 13.09.2018, 19:17
Re: first-blood.inc - by AmirSavand - 13.09.2018, 19:19
Re: first-blood.inc - by KinderClans - 13.09.2018, 19:59
Re: first-blood.inc - by RogueDrifter - 13.09.2018, 20:27
Re: first-blood.inc - by DTV - 13.09.2018, 21:05
Re: first-blood.inc - by RogueDrifter - 13.09.2018, 21:21
Re: first-blood.inc - by NoahF - 14.09.2018, 15:25
Re: first-blood.inc - by coool - 14.09.2018, 16:15
Re: first-blood.inc - by AmirSavand - 15.09.2018, 05:55
Re: first-blood.inc - by XStormiest - 24.09.2018, 18:00
Re: first-blood.inc - by AmirSavand - 25.09.2018, 20:55
Re: first-blood.inc - by Y_Less - 25.09.2018, 23:13
Re: first-blood.inc - by ConnorW - 25.09.2018, 23:29
Re: first-blood.inc - by CoaPsyFactor - 25.09.2018, 23:39
Re: first-blood.inc - by AmirSavand - 26.09.2018, 10:15
Re: first-blood.inc - by Y_Less - 26.09.2018, 10:43
Re: first-blood.inc - by LiMPiTo - 26.09.2018, 18:14
Re: first-blood.inc - by AmirSavand - 24.10.2018, 01:02

Forum Jump:


Users browsing this thread: 1 Guest(s)