MaRcell Posted December 7, 2014 Share Posted December 7, 2014 Eu criei uns terri a gang que domina spawnava la so que os spaw nao pega alguem poderia mi ajudar? Link to comment
manawydan Posted December 7, 2014 Share Posted December 7, 2014 poderia postar o codigo, algo de errado no debug? Link to comment
MaRcell Posted December 8, 2014 Author Share Posted December 8, 2014 function gz_bank_Base_Spawn() local playerTeam = getPlayerTeam(source) if (playerTeam) then local r, g, b = getTeamColor(playerTeam) local aR, aG, aB = getRadarAreaColor(pArea1) if (r == aR) and (g == aG) and (b == aB) then setElementPosition(source, 2172.91382, 2050.88940, 16.32204) end end end Link to comment
manawydan Posted December 9, 2014 Share Posted December 9, 2014 quando voce chama essa função? onPlayerWasted se sim use spawnPlayer envez de setElementPosition Link to comment
MaRcell Posted December 9, 2014 Author Share Posted December 9, 2014 pera de ves do setElementPosition uso o spawnPlayer se vc kiser te passo o codigo todo pra vc dar uma olhada Link to comment
DNL291 Posted December 9, 2014 Share Posted December 9, 2014 Pode explicar o seu problema por favor? Além disso, mostre os avisos no debug sempre que houver. 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