maia.lua Posted February 2, 2022 Share Posted February 2, 2022 Atualmente estou tentando desenvolver um script para setar o status de arma para 1000 assim que o player entrar no jogo, contudo, eu não consigo. Acredito que não há nenhum erro no meu script ou apenas não consigo ver o erro. Este é o código: function SetStats(thePlayer) setPedStat(thePlayer, 78, 1000) end addEventHandler("onPlayerJoin", root, SetStats) Link to comment
Mr.Hugin Posted February 3, 2022 Share Posted February 3, 2022 (edited) You have a very small problem function SetStats(player) setPedStat(player, 78, 1000) end addEventHandler("onPlayerJoin", root, SetStats) try this Edited February 3, 2022 by Mr.Hugin 1 Link to comment
maia.lua Posted February 3, 2022 Author Share Posted February 3, 2022 It worked!! Thanks for the support. 1 Link to comment
Recommended Posts