Lagging When shoot in player
#1

Samp Version - 0.3e,I have DM Server in 0.3e

There is no OnPlayerTakeDamage

But is

Код:
public OnPlayerGiveDamage(playerid, damagedid, Float: amount, weaponid)
{
	if(PlayerInfo[playerid][Class] == 13)
	{
	    if(playerType[playerid] != playerType[damagedid])
	    {
	    	if(weaponid == 6) SetPlayerHealth(damagedid, 0);
	    }
	}
    return 1;
}
When shoot in player,sometimes HP does not change... (Players Online 10-30)

Sorry for my Bad English..
Reply
#2

OnPlayerGiveDamagenot always working(script bug) and 0.3e very old version
Reply
#3

Quote:
Originally Posted by Slicebook
Посмотреть сообщение
OnPlayerGiveDamagenot always working(script bug) and 0.3e very old version
if i change OnPlayerGiveDamage to OnPlayerTakeDamage,it will work better?
Reply
#4

yes,try it
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)