Has vehicle no roof?
#3

pawn Код:
switch(GetVehicleModel(GetPlayerVehicleID(playerid)))
{
    case 461, 462, 463, 468, 471, 424, 430, 448, 446, 452, 457, 472, 473, 481, 484, 485, 486, 493, 509, 510, 521, 522, 523, 530, 531, 539, 571, 572, 581, 586, 595:
    {
        APlayerData[playerid][Windows] = 3;
        GetVehicleParamsEx(vehicleid, Engine, Lights, Alarm, Doors, Bonnet, Boot, Objective);
        SetVehicleParamsEx(vehicleid, 0, 1, Alarm, Doors, Bonnet, Boot, Objective);
        APlayerData[playerid][EngineStarted] = 0;
        APlayerData[playerid][gEngine] = 0;
        return 1;
    }
    default:
    {
        GetVehicleParamsEx(vehicleid, Engine, Lights, Alarm, Doors, Bonnet, Boot, Objective);
        SetVehicleParamsEx(vehicleid, 0, 1, Alarm, Doors, Bonnet, Boot, Objective);
        APlayerData[playerid][EngineStarted] = 0;
        APlayerData[playerid][gEngine] = 0;
        APlayerData[playerid][Windows] = 1;
    }
}
Reply


Messages In This Thread
Has vehicle no roof? - by thimo - 10.01.2012, 14:07
Re: Has vehicle no roof? - by thimo - 10.01.2012, 14:40
Re: Has vehicle no roof? - by SuperViper - 10.01.2012, 14:42
Re: Has vehicle no roof? - by thimo - 10.01.2012, 14:57
Re: Has vehicle no roof? - by thimo - 10.01.2012, 15:08
Re: Has vehicle no roof? - by T0pAz - 10.01.2012, 15:11

Forum Jump:


Users browsing this thread: 1 Guest(s)