help death
#3

When a player commits suicide the 'killerid' becomes equal to INVALID_PLAYER_ID.
Put this inside 'OnPlayerDeath' callback.
Код:
if(killerid==INVALID_PLAYER_ID)
{
     //Tell the player about suicide
}
Reply


Messages In This Thread
help death - by nbx2000 - 27.10.2018, 07:27
Re: help death - by GTLS - 27.10.2018, 10:23
Re: help death - by slxsh - 27.10.2018, 10:38
Re: help death - by nbx2000 - 27.10.2018, 19:25
Re: help death - by GTLS - 28.10.2018, 06:34

Forum Jump:


Users browsing this thread: 3 Guest(s)