Neopry 0 Odesláno: 24. Červenec, 2013 Share Odesláno: 24. Červenec, 2013 Ahoj, Mám nastavený startování motoru přes TAB ale chci to změnít na Levý Alt protže TAB vám přece ukáže ve hře tabulku s online hráčema a to se mi nelíbí. Nevíte jak mám změnit ten příkaz tak aby to šlo na Levý Alt ? Startování motoru : forward Motor(playerid); new bool:MotorStarted[MAX_PLAYERS]; #define KEY_L.ALT (1) public OnPlayerExitVehicle(playerid, vehicleid) { MotorStarted[playerid] = false; //Vypne motor return 1; } public OnPlayerStateChange(playerid, newstate, oldstate) if(GetPlayerState(playerid) == 2) { TogglePlayerControllable(playerid, false); SendClientMessage(playerid, 0x33AA33AA, "Pro nastartování motoru, zmáčkni Levý Alt."); } public OnPlayerKeyStateChange(playerid, newkeys, oldkeys) if(newkeys == KEY_L.ALT ) { if(GetPlayerState(playerid) == 2) { SendClientMessage(playerid, 0x33AA33AA, "Startuji motor..."); MotorStarted[playerid] = true; SetTimerEx("Motor",2000,0,"i",playerid); } } public Motor(playerid) { TogglePlayerControllable(playerid, true); SendClientMessage(playerid, 0x33AA33AA, "Motor nastartován."); } Link to comment Share on other sites More sharing options...
0 Arthom 6 Odesláno: 24. Červenec, 2013 Share Odesláno: 24. Červenec, 2013 namiesto KEY_L.ALT daj KEY_WALK Link to comment Share on other sites More sharing options...
0 Neopry 0 Odesláno: 24. Červenec, 2013 Author Share Odesláno: 24. Červenec, 2013 Díky Lock Link to comment Share on other sites More sharing options...
Dotaz
Neopry 0
Ahoj,
Mám nastavený startování motoru přes TAB ale chci to změnít na Levý Alt protže TAB vám přece ukáže ve hře tabulku s online hráčema a to se mi nelíbí. Nevíte jak mám změnit ten příkaz tak aby to šlo na Levý Alt ?
Startování motoru :
Link to comment
Share on other sites
2 odpovědí na tuto otázku
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now