Jump to content

Simple0x47

Members
  • Posts

    1,518
  • Joined

  • Last visited

  • Days Won

    8

Everything posted by Simple0x47

  1. If you're trying to toggle the visible then make this: function toggleThatWindow() if ( guiGetVisible( newgui.wind[1] ) ) then guiSetVisible( newgui.wind[1], false ) else guiSetVisible( newgui.wind[1], true ) end end bindKey( "F5", "down", toggleThatWindow)
  2. Eso es una simulación de 2D con un tipo de vista isometrica. Necesitarás las funciones básicas de dxDrawRectangle y varias formúlas.
  3. What kind of storage method do you want? SQLite or mySQL?
  4. Simple0x47

    Rainbow

    Something from the debug?
  5. That explains everything. MTA injecting and streaming methods are incompatible with that driver, which results into a crash
  6. Incearca: SERVER: function sendToHim( ) triggerClientEvent( source, "onPlayThatSound", source ) end addEventHandler("onPlayerJoin", root, sendToHim) CLIENT: addEvent("onPlayThatSound", true) function playThatSound() local sound = playSound("resources/christmasde.mp3") setSoundVolume( sound, 0.5 ) end addEventHandler("onPlayThatSound", root, playThatSound)
  7. Ask this on the Romanian Section for giving more activity to the section. The problem is that your script is server side in the meta.xml, Change it to type="client" into the meta.xml
  8. Solo Skype y Mensajes privados. Skype: killer.68x
  9. Add me on skype I could give you a hand with it: killer.68x
  10. Make use of this: for
  11. Yo estoy interesado en un hosting.
  12. Did this happen to you in previous versions? Cuz if I remember the cache got updated everytime a resource was restarted.
  13. That's because the server resource script it's not the same as the downloaded one. Try to update both.
  14. No no, I was talking about @2013martin1212
  15. The next time try to help for real, cuz your script has base errors.
  16. Come on man, please try to solve first the problems and when you see that you can't find a solution post it. Please. function _QuerySingle(str,...) if connection then local result = _Query( ... ) --I'd check the parameters what you wanna send if type(result) == 'table' then return result[1] end else return false end end
  17. It would give error, cuz first theres use of client-side only functions like playSound, and then the onPlayerJoin it's serverside and calls a client-side only function that's pretty strange. Use the one I've posted before.
  18. Be sure that you export the functions on your mysql meta.xml, like this. <export function="_Query" type="server"/>
  19. It's because you're using a client-only function into server-side. Try this CLIENT: function playThatSound() local sound = playSound("resources/christmasde.mp3") setSoundVolume(sound, 0.5) end addEventHandler("onClientResourceStart", root, playThatSound)
  20. You could add an event which would handle the local function but you'd do it two times. AddEvent AddEventHandler
  21. Cuz it's a local function, you just can call it into the onPlayerChat function.
  22. Replace and add a comparison into the function. ( source == GUIEditor.window[1] ) addEventHandler("onClientGUIClick",root,buttonClick)
×
×
  • Create New...