pAttach
Optimized bone attach thanks to the new MTA functions/events.
This resource doesn't match with well known bone_attach, you can not use the same parameters!
Documentation moved to GitHub!
Go to GitHub...
updateTimer = setTimer(function()
textItemSetText(text, math.floor(remaining/1000))
end,1000,0)
-- when the player gets out of the jail
if isTimer(updateTimer) then
killTimer(updateTimer)
end
This will create a timer which will trigger the setText function per 1 second so the player will see in real time how much time left to wait.
And put the killTimer where you take the player out of jail.
Feel free to ask if you can't understand something. ?
addEventHandler ("onClientVehicleStartEnter", root, function (thePlayer)
if (thePlayer == localPlayer) then
if (isVehicleLocked (source)) then
outputChatBox ("Veículo trancado.", 255, 0, 0)
cancelEvent()
end
end
end)
Servers or communities that house malicious activity and publicly viewable DOXING for your case, cannot be advertised here for good reasons.
Please fix up on these issues and contact MTA Staff, once you're able to comply with Forum Rules
Hi,
I have had to report users by PMing a mod before, and was wondering if a function could be added to report users from their forum profile. (this mostly concerns but isn't limited to, spam bots and those who PM vulnerable users malicious content/links, but has no actual posts that you can report).
textCreateTextItem displays static text.
It's not like rendering dxDrawText with onClientRender.
To make it work use textItemSetText(text, ...) with a timer (per 1 second maybe?).