MySQL car system
#5

You could always use a system like this, and when the player locks the vehicle just lock the car (doors are the locks), and when you spawn the vehicle (when you load them) change the variables too.

pawn Код:
forward Encode_Vehicle(vehicleid, engine, lights, alarm, doors, bonnet, boot, objective);
public Encode_Vehicle(vehicleid, engine, lights, alarm, doors, bonnet, boot, objective)
{
    SetVehicleParamsEx(vehicleid, engine, lights, alarm, doors, bonnet, boot, objective);
}
Reply


Messages In This Thread
MySQL car system - by Delgad0 - 21.11.2014, 16:16
Re: MySQL car system - by BigGroter - 21.11.2014, 16:30
Re: MySQL car system - by Delgad0 - 21.11.2014, 16:35
Re: MySQL car system - by Delgad0 - 21.11.2014, 19:00
Re: MySQL car system - by zT KiNgKoNg - 21.11.2014, 19:14
Re: MySQL car system - by BigGroter - 21.11.2014, 23:14
Re: MySQL car system - by Delgad0 - 22.11.2014, 07:19

Forum Jump:


Users browsing this thread: 1 Guest(s)