Detect Damage
#9

I know how to run a server, i just ask for help, so that i will be better in scripting, btw will this code work?

Код:
    if(team[issuerid] == TEAM_HUMAN)
    {
    new Float:hpp;
    GetPlayerHealth(playerid,hpp);
    new str[228];
    format(str,sizeof(str),"~n~~n~~n~~n~~n~~w~ DAMAGE GIVEN: ~g~%.2f ~n~ ~w~PLAYER HP: ~g~%.2f", amount,hpp);
    GameTextForPlayer(issuerid,str, 5, 2000);
    }
I will that it only send it when it is the Player Player who shot and when he is in Human Team.
Reply


Messages In This Thread
Detect Damage - by Blackazur - 16.07.2013, 21:33
Re: Detect Damage - by Twizted - 16.07.2013, 21:40
AW: Detect Damage - by Blackazur - 17.07.2013, 00:07
Re: Detect Damage - by jamesbond007 - 17.07.2013, 00:09
AW: Detect Damage - by Blackazur - 17.07.2013, 09:56
Re: Detect Damage - by Bakr - 17.07.2013, 09:59
AW: Detect Damage - by Blackazur - 17.07.2013, 10:00
Re: Detect Damage - by Bakr - 17.07.2013, 10:03
AW: Detect Damage - by Blackazur - 17.07.2013, 10:56
Re: Detect Damage - by JimmyCh - 17.07.2013, 11:11

Forum Jump:


Users browsing this thread: 3 Guest(s)