Stronger Posted June 17, 2015 Share Posted June 17, 2015 (edited) Galera eu queria criar um SCRIPT que tire as estrelas de procurado quando o player for preso , mais não sei qual comando em lua devo usar alguem pode mim dar alguma dica ? Edited June 27, 2015 by Guest Link to comment
Stronger Posted June 17, 2015 Author Share Posted June 17, 2015 Desse Jeito ? -- assume that there exists a collision shape named 'policeStation' function policeStationHit ( thePlayer ) setPlayerWantedLevel ( thePlayer, 6 ) -- set the player's wanted level to 6 stars outputChatBox ( getPlayerName ( thePlayer ) .. " entered the police station!" ) end -- call 'policeStationHit' when a player enters the collision shape: addEventHandler ( "onColShapeHit", policeStation, policeStationHit ) Link to comment
n3wage Posted June 17, 2015 Share Posted June 17, 2015 Não, Na função que prende o jogador você coloca setPlayerWantedLevel ( player, 0 ) Link to comment
Bohemia Posted June 18, 2015 Share Posted June 18, 2015 alguém pode me ajuda aki : viewtopic.php?f=152&t=88832 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