Ramyxfa Posted September 8, 2015 Share Posted September 8, 2015 Yo i get an little code and here it is : function resetWantedLevel ( attacker, weapon, bodypart, loss ) if attacker and getElementType(attacker) == "player" then local x,y,z = getElementPosition(attacker) local zone = getZoneName(x,y,z,true) if zone ~= "Las Venturas" then return end setPlayerWantedLevel(attacker,0) end end addEventHandler ( "onPlayerDamage", getRootElement (), resetWantedLevel ) i need to put it where and create .lua or what please help if i want to start an script and i get this code that is up where i have to put it ? Link to comment
1LoL1 Posted September 8, 2015 Share Posted September 8, 2015 You mean this?: "Author" version="Version" type="script" name="Name" /> Link to comment
Dimos7 Posted September 8, 2015 Share Posted September 8, 2015 save the file .lua with a folder name it like you want and make a meta file for works 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