updateText not working for me, there are no error in log. Beside that, I think there is missing playerId param since is drawText created for playerId.
Should be:
Code: Select all
updateText(playerId, textId, string, rgba)
2.
Code: Select all
if(string.sub(text, 1, 7) == "/fixveh") then
local carid = getPlayerDriving(playerid)
setVehicleEngineHp(carid,1000)
end
gives: API Error: Invalid setVehicleEngineHp params