OnPlayerEnterVehicle Problem
#2

PHP код:
 if(IsAnOwnableCar(vehicleid))
                    {
                        if(
CarInfo[vehicleid][cOwned] == || CarInfo[vehicleid][cLock] == 1)// cOwner = 1 cLock = 1... so basically if the car is locked then alarm - 0
                        
{
                            
SendClientMessage(playeridCOLOR_RED"This Vehicle is Closed");//this message and alarm..
                            
GetVehicleParamsEx(vehicleid,engine,lights,alarm,doors,bonnet,boot,objective);
                            
SetVehicleParamsEx(vehicleid,engine,lights,VEHICLE_PARAMS_ON,doors,bonnet,boot,objective);
                            
SetPVarInt(playerid"Alarm"1);
                        }
                        if(
CarInfo[vehicleid][cOwned] == 0)
                        {
                            
format(string,sizeof(string),"Intri in masina %s (%d)  Proprietar: Dealership",vehiclevehicleid);
                            
SendClientMessage(playeridCOLOR_LIGHTBLUEstring);
                        }
                    }
                    else..............
Other
Reply


Messages In This Thread
OnPlayerEnterVehicle Problem - by Akcent_Voltaj - 03.01.2014, 16:53
Re: OnPlayerEnterVehicle Problem - by camaro8 - 03.01.2014, 17:30
Re: OnPlayerEnterVehicle Problem - by Akcent_Voltaj - 03.01.2014, 17:45
Re: OnPlayerEnterVehicle Problem - by Akcent_Voltaj - 03.01.2014, 20:29
Re: OnPlayerEnterVehicle Problem - by Scrillex - 04.01.2014, 00:14

Forum Jump:


Users browsing this thread: 2 Guest(s)