Help[Rep]
#1

ok look hello i need soo much help my command i looked at tutorials i put in this cmd and when i go i type /engineon and i cant drive the car,i cant even move the wheels left,right. IJust want to drive the car /engineon engineoff i simple engine...Please help me fix it [rep]


HERE:

Код:
new engine, lights, alarm, doors, bonnet, boot, objective;

if(strcmp(cmd, "/engine", true) == 0)
	{
	new vid = GetPlayerVehicleID(playerid);
    SendClientMessage(playerid, COLOR_GRAD1, "Engine ON!");
	GetVehicleParamsEx(vid,engine,lights,alarm,doors,bonnet,boot,objective);
	SetVehicleParamsEx(vid,1,lights,alarm,doors,bonnet,boot,objective);
    CommandLog(string);
	return 1;
	}
	if(strcmp(cmd, "/engineoff", true) == 0)
	{
	new vid = GetPlayerVehicleID(playerid);
    SendClientMessage(playerid, COLOR_GRAD1, " Engine off!");
	GetVehicleParamsEx(vid,engine,lights,alarm,doors,bonnet,boot,objective);
	SetVehicleParamsEx(vid,0,lights,alarm,doors,bonnet,boot,objective);
    TogglePlayerControllable(playerid, 0);
    CommandLog(string);
	return 1;
	}
Please help me fix it![rep]



I Have this a Ongamemodeinit!::: ManualVehicleEngineAndLights(); ::: Please help dont forget im giving rep!
Reply


Messages In This Thread
Help[Rep] - by Dan_Barocu - 17.02.2012, 22:49
Re: Help[Rep] - by Dan_Barocu - 17.02.2012, 23:32
Re: Help[Rep] - by ReneG - 17.02.2012, 23:46
Re: Help[Rep] - by Dan_Barocu - 17.02.2012, 23:48
Re: Help[Rep] - by ReneG - 17.02.2012, 23:55
Re: Help[Rep] - by Dan_Barocu - 18.02.2012, 00:02
Re: Help[Rep] - by ReneG - 18.02.2012, 00:04
Re: Help[Rep] - by Dan_Barocu - 18.02.2012, 00:07
Re: Help[Rep] - by HighFlyer - 18.02.2012, 00:08
Re: Help[Rep] - by Dan_Barocu - 18.02.2012, 00:12

Forum Jump:


Users browsing this thread: 1 Guest(s)