Need some help with an include
#5

As MP2 said, it might be an include bug. However paste this and watch if the callback is working.

pawn Код:
public OnPlayerHeadshot(issuerid,playerid,weaponid)
{
    new temp_gun = GetPlayerWeapon(playerid);
    if(temp_gun == 34 || temp_gun == 23) // 34 is the sniper ID
    {
        SetPlayerHealth(issuerid, 0.0);
        printf(" player %d has been shot by player %d" , playerid, issuerid);
    }
    print(" Callback OnPlayerHeadshot has been called 2");
    return 1;
}
Reply


Messages In This Thread
Need some help with an include - by Don_Cage - 08.03.2013, 16:51
Re: Need some help with an include - by MP2 - 08.03.2013, 16:57
Re: Need some help with an include - by Don_Cage - 08.03.2013, 17:22
Re: Need some help with an include - by MP2 - 08.03.2013, 17:33
Re: Need some help with an include - by TheArcher - 08.03.2013, 19:21
Re: Need some help with an include - by Don_Cage - 08.03.2013, 22:10
Re: Need some help with an include - by TheArcher - 09.03.2013, 09:59

Forum Jump:


Users browsing this thread: 1 Guest(s)