[Griffin] Posted June 28, 2008 Share Posted June 28, 2008 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
Willy Posted June 29, 2008 Share Posted June 29, 2008 erm... you're wrong. I have just written a script with exactly this in it (apart from the second function isn't called with a command handler) and it works fine... Link to comment
[Griffin] Posted June 29, 2008 Author Share Posted June 29, 2008 weird =/ it doesnt work for me Link to comment
Recommended Posts