Narutimmy Posted January 12, 2016 Posted January 12, 2016 como puedo arreglar eso? setRadioChannel(0) function makeRadioStayOff() setRadioChannel(0) ---773 Linea cancelEvent() end addEventHandler("onClientPlayerRadioSwitch",getRootElement(),makeRadioStayOff) mtasa://66.85.14.178:22003 Ts3: thezombiworld.com:7777
Castillo Posted January 12, 2016 Posted January 12, 2016 El evento que estas usando se ejecuta por la funcion "setRadioChannel", por lo que es un loop infinito. Quita setRadioChannel. San Andreas Utopia RPG (SAUR) Owner & Developer. Education is the most powerful weapon which you can use to change the world.
Tomas Posted January 12, 2016 Posted January 12, 2016 setRadioChannel(0) function makeRadioStayOff() if ( getRadioChannel() == 0 ) then return end setRadioChannel(0) ---773 Linea cancelEvent() end addEventHandler("onClientPlayerRadioSwitch",getRootElement(),makeRadioStayOff) Aunque te recomiendo simplemente desactivar los controles de la radio Currently developing for International Gaming Community - Join us!
Narutimmy Posted January 12, 2016 Author Posted January 12, 2016 setRadioChannel(0) function makeRadioStayOff() if ( getRadioChannel() == 0 ) then return end setRadioChannel(0) ---773 Linea cancelEvent() end addEventHandler("onClientPlayerRadioSwitch",getRootElement(),makeRadioStayOff) Aunque te recomiendo simplemente desactivar los controles de la radio Gracias, provare mtasa://66.85.14.178:22003 Ts3: thezombiworld.com:7777
Recommended Posts