HELP! SetPlayerDrunkLevel - fucked up
#1

Код:
public hpcheck(playerid)
{
 	if(GetPlayerHealth(playerid) < 15)
  {
  SetPlayerDrunkLevel(playerid, 3000);
	}
 	else if(GetPlayerHealth(playerid) < 18)
  {
  SetPlayerDrunkLevel(playerid, 10000);
	}

	return 1;
}
The server crashes then, why?
Reply
#2

learn how to use callback functions https://sampwiki.blast.hk/wiki/GetPlayerHealth
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)