19.06.2017, 20:07
(
Последний раз редактировалось StR_MaRy; 20.06.2017 в 09:35.
)
Hey guys i have an event sistem that players should kill each other but the problem is if i or someone else kills someone i will say "Batman killed Unknown with a Deagle."
Код HTML:
public OnPlayerDeath(playerid, killerid, reason) { if(ZombieModePlayer[playerid] == 1) { if(HumanPlayer[playerid] == 1) { HumanPlayersOn--; HumanPlayer[playerid] = 0; format(gString, sizeof(gString), "{FF0000}[Zombie Event]: {A9C4E4}%s {FFFFFF}a fost omorit de {A9C4E4}%s {FFFFFF}rolul decedatului: Supravietuitor", GetName(playerid), GetName(killerid)); SendZmMessage(gString, COLOR_WHITE); } if(ZombiePlayer[playerid] == 1) { ZombiePlayersOn--; ZombiePlayer[playerid] = 0; format(gString, sizeof(gString), "{FF0000}[Zombie Event]: {A9C4E4}%s {FFFFFF}a fost omorit de {A9C4E4}%s {FFFFFF}rolul decedatului: Zombie", GetName(playerid), GetName(killerid)); SendZmMessage(gString, COLOR_WHITE); } } return 1; }