Jump to content

Recommended Posts

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...