Wasted levels.. +1 rep
#2

You mean wanted levels? SA-MP Wiki is your friend
As for the buttons: Simple search can bring miracles

Example:
pawn Code:
GivePlayerMoney(playerid, 200); //Gives the player 200$
SetPlayerWantedLevel(playerid, GetPlayerWantedLevel(playerid) + 2); //Gets the player's wanted level then adds to it
Button:
pawn Code:
//Definition is from SA-MP wiki
#define PRESSED(%0) \
    (((newkeys & (%0)) == (%0)) && ((oldkeys & (%0)) != (%0)))

public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
{
    if (PRESSED(KEY_LOOK_BEHIND))
    {
        //your code here
    }
    return 1;
}
Well that's in my script, just edit it to your liking.
Reply


Messages In This Thread
Wasted levels.. +1 rep - by jimis - 07.04.2012, 06:12
Re: Wasted levels.. +1 rep - by DBan - 07.04.2012, 06:29
Re: Wasted levels.. +1 rep - by Harish - 07.04.2012, 06:53

Forum Jump:


Users browsing this thread: 1 Guest(s)