just a question about keystatechange
#6

Quote:
Originally Posted by DJDhan
Посмотреть сообщение
Код:
public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
{
    if((newkeys & KEY_FIRE) && !(oldkeys & KEY_FIRE))
    {
        if(GetPlayerWeapon(playerid) != 0) SetPlayerWantedLevel(playerid,GetPlayerWantedLevel(playerid)+1);
    }
    return 1;
}
What if i try to parachute off of something ? What happends if im beating someone up with a parachute? What happens if i just simply hold down the fire button and spray everyone with bullets (would waste a whole clip, and only get 1 star lol) ?
Reply


Messages In This Thread
just a question about keystatechange - by Kar - 26.07.2010, 02:39
Re: just a question about keystatechange - by DJDhan - 26.07.2010, 03:05
Re: just a question about keystatechange - by Kar - 26.07.2010, 03:29
Re: just a question about keystatechange - by ViruZZzZ_ChiLLL - 26.07.2010, 03:32
Re: just a question about keystatechange - by Kar - 26.07.2010, 03:40
Re: just a question about keystatechange - by Kyosaur - 26.07.2010, 07:47
Re: just a question about keystatechange - by willsuckformoney - 26.07.2010, 07:48

Forum Jump:


Users browsing this thread: 2 Guest(s)