13.09.2018, 17:11
(
Последний раз редактировалось AmirSavand; 24.10.2018 в 01:04.
)
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
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(playerid, killedid)
{
printf("Player %i drew first blood by killing player %i", playerid, killedid);
// Reward player, announce, etc...
}