HELP COMPLITING
#1

can somebody complite fs with it

Код:
public OnPlayerTakeDamage(playerid, issuerid, Float: amount, weaponid,bodypart)
{
    if(issuerid != INVALID_PLAYER_ID)
    {
 if(GetPlayerTeam(issuerid) != GetPlayerTeam(playerid))
 {
                if((weaponid == 34) && bodypart == 9)
                {
                    SetPlayerHealth(playerid, 0.0);
                    GameTextForPlayer(issuerid, "~r~Headshot", 3000, 3);
                    GameTextForPlayer(playerid, "~r~Headshot", 3000, 3);
                }
    else return PlayerPlaySound(issuerid,17802,0.0,0.0,0.0);
 }else {GameTextForPlayer(issuerid, "~r~Team killing not allowed", 3000, 3);}
 }
   return 1;
}
pls when i complite i have errors with this line
Код:
public OnPlayerTakeDamage(playerid, issuerid, Float: amount, weaponid,bodypart)
pls complite and send me pwn and amx
Reply
#2

Here You go download Attachments..
Reply
#3

thanks
Reply
#4

but can u change text head shot to head shot!
and team killing not allowed to team killing is not allowed!
Reply
#5

If you get "function heading differs from prototype"-error. You have to update your includes to sa:mp 0.3z
Reply
#6

Just update your a_samp to the latest version and it will work.
Reply
#7

can u send me download link pls pls
Reply
#8

http://sa-mp.com/download.php
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)