Stunt System
#3

Quote:
Originally Posted by HighPitchedVoice
Посмотреть сообщение
Also, can you make a pawn code that the killer of a player will recieve 10 score and 1,500 money?
pawn Код:
public OnPlayerDeath(playerid, killerid, reason)
{
    if(killerid != INVALID_PLAYER_ID)
    {
        SetPlayerScore(killerid, GetPlayerScore(killerid) + 10); // +10 score
        GivePlayerMoney(killerid, 1500); // cash 1500
    }
    return 1;
}
Here's that code.

-FalconX
Reply


Messages In This Thread
Stunt System - by HighPitchedVoice - 15.05.2012, 17:48
Re: Stunt System - by HighPitchedVoice - 15.05.2012, 18:01
Re: Stunt System - by FalconX - 15.05.2012, 18:03
Re: Stunt System - by TheDominator - 15.05.2012, 18:03
Re: Stunt System - by HighPitchedVoice - 15.05.2012, 18:03
Re: Stunt System - by FalconX - 15.05.2012, 18:05
Re: Stunt System - by Andi_Evandy - 15.05.2012, 18:12

Forum Jump:


Users browsing this thread: 1 Guest(s)