Jump to content
  • 0

Cum pot face cand ma sui in masina



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)
		EngineSTATE[vid] = 1;
  		SendClientMessage(playerid, 0xFFFFFFAA, "{FFFFFF}Ai {2F991A}pornit {FFFFFF} motorul!");
		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

Link to comment
Share on other sites

3 answers to this question

Recommended Posts

This topic is now closed to further replies.
  • Create New...

Important Information

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.