Not with bikes
#10

Quote:
Originally Posted by Mean
Посмотреть сообщение
Full code? You've probbably placed it wrong.
pawn Код:
case 4:
            {
                if(GetPVarInt(playerid, "Engine") == 0)
                {
                    GetVehicleParamsEx(veh,engine,lights,alarm,doors,bonnet,boot,objective);
                    SetVehicleParamsEx(veh,VEHICLE_PARAMS_ON,lights,alarm,doors,bonnet,boot,objective);
                    if(IsABike(vehicleid))
                    SetPVarInt(playerid, "Engine", 1);
                }
                else if(GetPVarInt(playerid, "Engine") == 1)
                {
                    GetVehicleParamsEx(veh,engine,lights,alarm,doors,bonnet,boot,objective);
                    SetVehicleParamsEx(veh,VEHICLE_PARAMS_OFF,lights,alarm,doors,bonnet,boot,objective);
                    if(IsABike(vehicleid))
                    SetPVarInt(playerid, "Engine", 0);
                }
?
Reply


Messages In This Thread
Not with bikes - by Tachibana - 27.06.2011, 21:54
Re: Not with bikes - by BizzyD - 27.06.2011, 21:58
Re: Not with bikes - by randomkid88 - 27.06.2011, 22:13
Re: Not with bikes - by Tachibana - 27.06.2011, 22:25
Re: Not with bikes - by Luis- - 27.06.2011, 22:39
Re: Not with bikes - by Tachibana - 27.06.2011, 22:44
Re: Not with bikes - by Wesley221 - 27.06.2011, 22:52
Re: Not with bikes - by Tachibana - 27.06.2011, 22:55
Re: Not with bikes - by Mean - 27.06.2011, 23:09
Re: Not with bikes - by Tachibana - 27.06.2011, 23:11

Forum Jump:


Users browsing this thread: 1 Guest(s)