Hi, I'm trying to get the player to push on a button and set a clothes for him, but of the error on line 3, can someone help me? tks
function roupat ()
takePlayerMoney(root, 10)
setPedClothes(player, 0, 11)
end
addEvent("roupa1", true)
addEventHandler("roupa1", root, roupat)