To make one command
#1

How to make one command discovery cowl closing?


Код:
if (strcmp("/bonneton", cmdtext, true, 10) == 0)
	{
        GetVehicleParamsEx(carid,engine,lights,alarm,doors,bonnet,boot,objective);
       	SetVehicleParamsEx(carid,engine,lights,alarm,doors,true,boot,objective);
		return 1;
	}
Код:
if (strcmp("/bonnetoff", cmdtext, true, 10) == 0)
	{
        GetVehicleParamsEx(carid,engine,lights,alarm,doors,bonnet,boot,objective);
       	SetVehicleParamsEx(carid,engine,lights,alarm,doors,false,boot,objective);
		return 1;
	}
Here so:
/boonect - to open/close
Reply


Messages In This Thread
To make one command - by Roma555 - 11.01.2011, 22:42
Re: To make one command - by Haydz - 11.01.2011, 23:22
Re: To make one command - by Roma555 - 11.01.2011, 23:29
Re: To make one command - by Haydz - 11.01.2011, 23:31
Re: To make one command - by Steven82 - 12.01.2011, 01:08

Forum Jump:


Users browsing this thread: 2 Guest(s)