updateText

Need advices or help troubleshooting? Ask for help here.
Post Reply
wbty
Posts: 8
Joined: Fri Sep 07, 2018 7:17 pm

updateText

Post by wbty » Tue Sep 11, 2018 4:45 pm

1.
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?

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

Armelin
Posts: 18
Joined: Sun Jul 30, 2017 4:28 am

Re: updateText

Post by Armelin » Wed Sep 12, 2018 8:18 pm

We released another update for updateText, also both functions had their params updated on the Wiki. Thanks alot.

Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests