cuff help
#6

pawn Код:
public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
{
    if((newkeys & KEY_NO) && !(oldkeys & KEY_NO))//If player presses N (Key no)
    {
        if(CopVariable[playerid] = certainvalue)
        {
            if(GetPlayerWantedLevel(playerid) >= 1)
            {
                TogglePlayerControllable(GetClosestPlayerToPlayer(playerid),0);
            }
        }
    }
    return 1;
}
Seriously, why doesn't anyone learn basic coding before asking questions?
Reply


Messages In This Thread
cuff help - by jimis - 25.07.2012, 13:10
Re: cuff help - by Kindred - 25.07.2012, 13:17
Re: cuff help - by jimis - 25.07.2012, 13:21
Re: cuff help - by Kindred - 25.07.2012, 13:31
Re: cuff help - by jimis - 25.07.2012, 13:36
Re: cuff help - by Kindred - 25.07.2012, 13:37

Forum Jump:


Users browsing this thread: 1 Guest(s)