OnPlayerEnterVehicle to StateChange
#1

Could someone edit my OnPLayerEnterVehicle
pawn Код:
public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
{
    for(new i = 0; i < 12; i++)
    {
        new pFac = PlayerInfo[playerid][pMember];
        if(vehicleid == LSPDVehicles[i])
        {
            if(pFac != 1)
            {
                ClearAnimations(playerid);
                SendClientMessage(playerid, -1, "You don`t have the keys for this car.");
            }
        }
    }
    return 1;
}
And make it not let them inside if they try to drive it, but passengers allowed..

Make into ONPlayerStateChange
Reply


Messages In This Thread
OnPlayerEnterVehicle to StateChange - by Mriss - 29.03.2014, 09:45
Re: OnPlayerEnterVehicle to StateChange - by Mriss - 29.03.2014, 09:53
Re: OnPlayerEnterVehicle to StateChange - by EiresJason - 29.03.2014, 09:55
Re: OnPlayerEnterVehicle to StateChange - by Mriss - 29.03.2014, 10:12
Re: OnPlayerEnterVehicle to StateChange - by EiresJason - 29.03.2014, 10:18

Forum Jump:


Users browsing this thread: 1 Guest(s)