Damage Control
#1

Hello Sa-mp Community

I need Help in my Damage Control I have Made idk if it will work or not :/


Код:
public OnPlayerTakeDamage(playerid, issuerid, Float: amount, weaponid)
{
if(issuerid != INVALID_PLAYER_ID)
{
new Float: health;
GetPlayerHealth(playerid, health);
if(weaponid == 1)
SetPlayerHealth(playerid,health-5);
if(weaponid == 16)
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)