/enter, /exit
#10

pawn Код:
new newcar = GetPlayerVehicleID(playerid);
    if(newkeys & KEY_SPRINT)
    {
        if(gPlayerUsingLoopingAnim[playerid] == 1)
        {
            gPlayerUsingLoopingAnim[playerid] = 0;
            ApplyAnimation(playerid, "CARRY", "crry_prtial", 4.0, 0, 0, 0, 0, 0);
            animation[playerid] = 0;
            TextDrawHideForPlayer(playerid,txtAnimHelper);
        }
    }
    if(IsAnOwnableCar(newcar))
    {
        if(PlayerInfo[playerid][pPcarkey] == newcar) { }
        else if(PlayerInfo[playerid][pPcarkey2] == newcar) { }
        else if(PlayerInfo[playerid][pPcarkey3] == newcar) { }
        else { return 1; }
    }
This is everything under OnPlayerKeyStateChange, i added the CallLocalFunction at the first place
Reply


Messages In This Thread
/enter, /exit - by Dripac - 11.03.2012, 22:29
Re: /enter, /exit - by jameskmonger - 11.03.2012, 22:39
Re: /enter, /exit - by JJB562 - 11.03.2012, 22:44
Re: /enter, /exit - by Dripac - 11.03.2012, 22:48
Re: /enter, /exit - by JJB562 - 11.03.2012, 22:51
Re: /enter, /exit - by jameskmonger - 11.03.2012, 22:51
Re: /enter, /exit - by Dripac - 11.03.2012, 22:59
Re: /enter, /exit - by JJB562 - 11.03.2012, 23:29
Re: /enter, /exit - by IceCube! - 12.03.2012, 00:36
Re: /enter, /exit - by Dripac - 12.03.2012, 06:34

Forum Jump:


Users browsing this thread: 2 Guest(s)