lucascba Posted July 29, 2014 Share Posted July 29, 2014 Hello I would like to know how to do that when a player enters a certain area (onColShapeHit) can not get wanted levels, but if you already have not wanted levels vallan is that possible? PS: sorry for my bad English Link to comment
Max+ Posted July 29, 2014 Share Posted July 29, 2014 i think you can use this , getElementData --- get the wanted level data cancelEvent ----- cancel it or--- setPlayerWantedLevel -- set it to 0 Link to comment
TAPL Posted July 29, 2014 Share Posted July 29, 2014 i think you can use this , getElementData --- get the wanted level data cancelEvent ----- cancel it or--- setPlayerWantedLevel -- set it to 0 Make no sense. Hello I would like to know how to do that when a player enters a certain area (onColShapeHit) can not get wanted levels, but if you already have not wanted levels vallan is that possible? PS: sorry for my bad English So when you want to change the wanted level you use setPlayerWantedLevel but before you use it make sure that the player aren't inside the col isElementWithinColShape or the player inside the col but his wanted level not 0 getPlayerWantedLevel. Link to comment
lucascba Posted July 30, 2014 Author Share Posted July 30, 2014 mmm I do not understand com to cancel the event of wanted levels? local LV = createColRectangle(866, 656, 2100, 2300) function nowantedlevel ( ) cancelEvent () end addEventHandler("onColShapeHit", LV ) how can I do? Link to comment
TAPL Posted July 30, 2014 Share Posted July 30, 2014 i think you can use this , getElementData --- get the wanted level data cancelEvent ----- cancel it or--- setPlayerWantedLevel -- set it to 0 Make no sense. Hello I would like to know how to do that when a player enters a certain area (onColShapeHit) can not get wanted levels, but if you already have not wanted levels vallan is that possible? PS: sorry for my bad English So when you want to change the wanted level you use setPlayerWantedLevel but before you use it make sure that the player aren't inside the col isElementWithinColShape or the player inside the col but his wanted level not 0 getPlayerWantedLevel. What a waste of time. Link to comment
lucascba Posted July 30, 2014 Author Share Posted July 30, 2014 i think you can use this , getElementData --- get the wanted level data cancelEvent ----- cancel it or--- setPlayerWantedLevel -- set it to 0 Make no sense. Hello I would like to know how to do that when a player enters a certain area (onColShapeHit) can not get wanted levels, but if you already have not wanted levels vallan is that possible? PS: sorry for my bad English So when you want to change the wanted level you use setPlayerWantedLevel but before you use it make sure that the player aren't inside the col isElementWithinColShape or the player inside the col but his wanted level not 0 getPlayerWantedLevel. What a waste of time. because you say that? 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