LORD BENDTNER 0 Odesláno: 13. Září, 2013 Share Odesláno: 13. Září, 2013 Zdravim hladam lock system na cauta cez Key hladam aj tu aj na origo foru a nenašiel som neviete ako nato? Link to comment Share on other sites More sharing options...
0 The hidden face 77 Odesláno: 13. Září, 2013 Share Odesláno: 13. Září, 2013 Čau pokud tě správně chápu chceš zamykat auto přes klávesu a odemikat také tohle to je script od uživatele Mr.Ewwe.Takže nevím zda to vůbec funguje.Má to být ,že klávesou + odemykáš i zamykáš auto. Odkaz na Script : http://pawno.cz/topi...y-vehicle-lock/ (Je tam úplně to samé co jsem napsal jsem). #include <a_samp> new CarLocked[MAX_VEHICLES char] = {0,...}; public OnPlayerKeyStateChange(playerid, newkeys, oldkeys) { if(newkeys == KEY_SUBMISSION) { if(IsPlayerInAnyVehicle(playerid) && GetPlayerState(playerid) == PLAYER_STATE_DRIVER) { if(CarLocked{GetPlayerVehicleID(playerid)} == 0) { for(new i=0; i < MAX_PLAYERS; i++) { if(i == playerid) continue; SetVehicleParamsForPlayer(GetPlayerVehicleID(playerid),i,0,1); } CarLocked{GetPlayerVehicleID(playerid)} = 1; SendClientMessage(playerid,-1,"[Auto] Zamkl jsi."); }else{ for(new i=0; i < MAX_PLAYERS; i++) { SetVehicleParamsForPlayer(GetPlayerVehicleID(playerid),i,0,0); } CarLocked{GetPlayerVehicleID(playerid)} = 0; SendClientMessage(playerid,-1,"[Auto] Odemkl jsi."); } } } return 1; } Ještě jsem zapoměl na #include <a_samp> takže ti ho tam teďka připíšu. Link to comment Share on other sites More sharing options...
0 The hidden face 77 Odesláno: 16. Září, 2013 Share Odesláno: 16. Září, 2013 Tak co funguje? Link to comment Share on other sites More sharing options...
0 LORD BENDTNER 0 Odesláno: 16. Září, 2013 Author Share Odesláno: 16. Září, 2013 jo Link to comment Share on other sites More sharing options...
0 vopojtepek 0 Odesláno: 22. Září, 2013 Share Odesláno: 22. Září, 2013 Funguje Dik Link to comment Share on other sites More sharing options...
0 FakuedGuela 0 Odesláno: 18. Říjen, 2013 Share Odesláno: 18. Říjen, 2013 snad ta nejrychlejší metoda, ale za to spolehlivá Link to comment Share on other sites More sharing options...
0 Albus Brambůrek 41 Odesláno: 18. Říjen, 2013 Share Odesláno: 18. Říjen, 2013 Ta metoda udělá jen jediné že zamkne dveře hráč může nastoupit a zamkne auto potom chce nastoupit a nejde to ... Link to comment Share on other sites More sharing options...
Dotaz
LORD BENDTNER 0
Zdravim hladam lock system na cauta cez Key hladam aj tu aj na origo foru a nenašiel som neviete ako nato?
Link to comment
Share on other sites
6 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