- 0
Cum pot face cand ma sui in masina
-
Recently Browsing 0 members
- No registered users viewing this page.
We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.
Question
tantan_andrey
Salut. Cum pot sa fac cand ma sui in masina, sa fie oprit motorul, si sa imi zica, pentru a porni motorul apasa tasta 2?
Uitati tasta 2..
if((newkeys == KEY_SUBMISSION)&&(IsPlayerInAnyVehicle(playerid))&&(GetPlayerState(playerid)==PLAYER_STATE_DRIVER)) { new vid = GetPlayerVehicleID(playerid); if(EngineSTATE[vid] == 0) { GetVehicleParamsEx(vid,engine,lights,alarm,doors,bonnet,boot,objective); SetVehicleParamsEx(vid,VEHICLE_PARAMS_ON,lights,alarm,doors,bonnet,boot,objective); EngineSTATE[vid] = 1; SendClientMessage(playerid, 0xFFFFFFAA, "{FFFFFF}Ai {2F991A}pornit {FFFFFF} motorul!"); } else { GetVehicleParamsEx(vid,engine,lights,alarm,doors,bonnet,boot,objective); SetVehicleParamsEx(vid,VEHICLE_PARAMS_OFF,lights,alarm,doors,bonnet,boot,objective); EngineSTATE[vid] = 0; SendClientMessage(playerid, 0xFFFFFFAA, "{FFFFFF}Ai {E31919}oprit {FFFFFF} motorul!"); } } return 1; }Cum pot face, ca motorul sa fie oprit in toate masinile, si sa le pornesc numai apasand tasta 2. Acum ele au motorul pornit, si vreau sa fie oprit:(
Sa iti dea Deumnezeu sanatate TzAkS
0 answers to this question
Recommended Posts