Jump to content

triggerClientEvent()


[Griffin]

Recommended Posts

triggetClientEvent() only works if its triggered by a command, or either another event. it cannot work if its triggered by another function. here is an example

function one()

triggerClientEvent(all the necessary arguments)

end

function two()

one()

end

addCommandHandler("one", two)

as you see. there is two functions. the triggerEvent in function one cannot work if the function one() is used in another function. It will still return true, but it will not actually trigger the event clientside. Im not sure about triggerServerEvent() if it also has the same details.

..Sorry if you cannot understand that

Link to comment
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...