/lock and /unlock
#9

Quote:
Originally Posted by JuanStone
Посмотреть сообщение
pawn Код:
public OnPlayerExitVehicle(playerid, vehicleid) //When you exit the vehicle will automatically unlock.
{
    if(vehicle_loock[GetPlayerVehicleID(playerid)] == 1)
    {
        for(new i = 0; i < MAX_PLAYERS; i++)
        {
            SetVehicleParamsForPlayer(GetPlayerVehicleID(playerid), i, 0, 0);
        }
        vehicle_loock[GetPlayerVehicleID(playerid)] = 0;
    }
    return true;
}
Don't just post up code.

He needs to give more info instead of blindly ++reping people who also paste up code...
Reply


Messages In This Thread
/lock and /unlock - by ATGOggy - 21.12.2014, 10:00
Re: /lock and /unlock - by Write - 21.12.2014, 10:06
Re: /lock and /unlock - by ATGOggy - 21.12.2014, 10:09
Re: /lock and /unlock - by ATGOggy - 21.12.2014, 10:21
Re: /lock and /unlock - by Sew_Sumi - 21.12.2014, 10:22
Re: /lock and /unlock - by ATGOggy - 21.12.2014, 10:35
Re: /lock and /unlock - by Sew_Sumi - 21.12.2014, 11:25
Respuesta: /lock and /unlock - by JuanStone - 22.12.2014, 06:49
Re: Respuesta: /lock and /unlock - by Sew_Sumi - 22.12.2014, 12:04
Re: /lock and /unlock - by ATGOggy - 02.01.2015, 06:11

Forum Jump:


Users browsing this thread: 1 Guest(s)