Server Problem - OnPlayerDeath
#2

You should check if killerid is valid or not before using it as an index.When a player kills himself the callback is called with INVALID_PLAYER_ID value for killerid parameter.

Refer: https://sampwiki.blast.hk/wiki/OnPlayerDeath
Reply


Messages In This Thread
Server Problem - OnPlayerDeath - by PoniStar - 27.12.2018, 10:58
Re: Server Problem - OnPlayerDeath - by SyS - 27.12.2018, 11:15
Re: Server Problem - OnPlayerDeath - by PoniStar - 02.01.2019, 09:23
Re: Server Problem - OnPlayerDeath - by GhostHacker9 - 02.01.2019, 09:26
Re: Server Problem - OnPlayerDeath - by Vizi10 - 02.01.2019, 09:26
Re: Server Problem - OnPlayerDeath - by PoniStar - 02.01.2019, 11:45

Forum Jump:


Users browsing this thread: 1 Guest(s)