Page 1 of 1


Posted: Tue Sep 11, 2018 4:45 pm
by wbty
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)
Am I wrong?


Code: Select all

        if(string.sub(text, 1, 7) == "/fixveh") then
		local carid = getPlayerDriving(playerid)
	gives: API Error: Invalid setVehicleEngineHp params

Re: updateText

Posted: Wed Sep 12, 2018 8:18 pm
by Armelin
We released another update for updateText, also both functions had their params updated on the Wiki. Thanks alot.