[help] need help !!
#7

What you exactly want to do?

This will give the killer +1 score each time he kill someone.
And who die will lose -1 score
pawn Код:
public OnPlayerDeath(playerid, killerid, reason)
{
    if(killerid != INVALID_PLAYER_ID) SetPlayerScore(killerid, GetPlayerScore(killerid) + 1);
    SetPlayerScore(playerid, GetPlayerScore(playerid) -1);
    return 1;
}
Reply


Messages In This Thread
[help] need help !! - by NuLIO - 25.07.2012, 15:59
Re: [help] need help !! - by [KHK]Khalid - 25.07.2012, 16:04
Re: [help] need help !! - by Captain_Mani - 25.07.2012, 16:19
Re: [help] need help !! - by NuLIO - 25.07.2012, 18:06
Re: [help] need help !! - by Rudy_ - 25.07.2012, 18:09
Re: [help] need help !! - by NuLIO - 25.07.2012, 18:32
Re: [help] need help !! - by Rudy_ - 25.07.2012, 21:35

Forum Jump:


Users browsing this thread: 1 Guest(s)