Multi Posted October 19, 2013 Share Posted October 19, 2013 Witam. Moj Problem polega na tym że próbuje zrobić skrypt że jak wjeżdzasz w marker i jesteś w aucie to daje ci freeza na 1 minute, lecz on nie działa nwm czemu. Debug nic nie pokazuje. a w metcie tobilem i po stronie serva i po stronie clienta i dalej nic, pomocy mojmarker = createMarker (-1984.6114501953, 248.5777130127, 34.171875, 'cylinder', 5, 0, 0, 190) function spanie() if source == mojmarker then if isPedInVehicle (player) then setPedFrozen ( player, true ) setTimer( setPedFrozen, 1000,1, player, false ) end end end addEventHandler ("onClientMarkerhit", mojmarker, spanie) Link to comment
MACIEKW89 Posted October 19, 2013 Share Posted October 19, 2013 isPedInVehicle(player) - skoro tu masz player to i w funkcji dodaj player function spanie(player) Link to comment
Wojak Posted October 19, 2013 Share Posted October 19, 2013 po za tym ustawiłeś timer na 1 sekundę a nie minutę... powinno być 60000 a nie 1000 Link to comment
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