17.02.2012, 22:49
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:
Please help me fix it![rep]
I Have this a Ongamemodeinit!::: ManualVehicleEngineAndLights(); ::: Please help dont forget im giving 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; }
I Have this a Ongamemodeinit!::: ManualVehicleEngineAndLights(); ::: Please help dont forget im giving rep!