-
Posts
1,518 -
Joined
-
Last visited
-
Days Won
8
Everything posted by Simple0x47
-
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)
-
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.
-
What kind of storage method do you want? SQLite or mySQL?
-
Who knows
-
That explains everything. MTA injecting and streaming methods are incompatible with that driver, which results into a crash
-
Have you tried with SAMP?
-
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)
-
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
-
Solo Skype y Mensajes privados. Skype: killer.68x
-
Yo estoy interesado en un hosting.
-
Did this happen to you in previous versions? Cuz if I remember the cache got updated everytime a resource was restarted.
- 64 replies
-
- awesomeness
- mtasa 1.5.3
-
(and 4 more)
Tagged with:
-
That's because the server resource script it's not the same as the downloaded one. Try to update both.
- 64 replies
-
- awesomeness
- mtasa 1.5.3
-
(and 4 more)
Tagged with:
-
No no, I was talking about @2013martin1212
-
The next time try to help for real, cuz your script has base errors.
-
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
-
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.
-
Be sure that you export the functions on your mysql meta.xml, like this. <export function="_Query" type="server"/>
-
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)
-
Replace and add a comparison into the function. ( source == GUIEditor.window[1] ) addEventHandler("onClientGUIClick",root,buttonClick)
