-
Posts
877 -
Joined
-
Last visited
Everything posted by denny199
-
cars = 0 addEventHandler ("onVehicleEnter",root, function ( thePlayer, seat, jacked ) cars = cars + 1 outputChatBox (tonumber(cars)) end)
-
, ik gebruik ook altijd serversync bijv om muziek weer terug te streamen wat op een 3D locatie was, maar anti lagg nooit, niet nodig want ik heb nooit lag op me server. Wapens is ook best simpel ;p En bijna alles van client staat ook op server, dus dat werkt ook ;p En ik had laats een download systeem gemaakt waarmee je client side files kan downloaden zonder download bar, dat is ook best simpel gewoon de client side file laden in de server side, maar het begint te laggen want je gebruikt timers om een stukje content te downloaden.
-
Feeroam, race, deathrace ( zoals de film [weet niet als je hem kent] ) Soms script ik voor mensen voor geld, of gratis(bijna altijd). Eigenlijks maak ik vanalles wat ;p
-
Hij spamde ook al op andere topics... leipo.
-
Use variables like this: Example: seat = getElementData ( getLocalPlayer (), "liveradio.seat" ) setElementData ( getPedOccupiedVehicle ( getLocalPlayer () ), "liveradio.radio", tostring(seat) )
-
stopSound ( sound ) destroyElement ( sound ) That's the error. Remove stopSound and it will work ( I think ) edit: stopSound
-
GUIEditor.window = {} GUIEditor.button = {} addEvent("test", true ) -- You forget the event addEventHandler("test", resourceRoot, function() GUIEditor.window[1] = guiCreateWindow(420, 210, 433, 320, "Jetpack giver By Robbster", false) guiWindowSetSizable(GUIEditor.window[1], false) GUIEditor.button[1] = guiCreateButton(122, 123, 188, 87, "Give yourself Jetpack", false, GUIEditor.window[1]) end ) bindKey("f9", "down", function () if guiGetVisible(GUIEditor.window[1]) then guiSetVisible(GUIEditor.window[1], false) showCursor(false, false) else guiSetVisible(GUIEditor.window[1], true) showCursor(true, true) end end) @manve You need to add those tables because you are storing it in the table, because when you are making 2 GUI's in GUIeditor, it will create number "2" instead of number "1"
-
You could just make your own download system, or just open the image, resize it to a lower resolution, then import it again in the txd, then save.
-
Why not use the /report menu? ( this command is in the default admin resource )
-
Damm, dan heb ik bijna teveel MTA gespeelt, keep up motherf*ckers.
-
Client: number = 0 setTimer( function() number = number + 1 setElementData ( getLocalPlayer(), "hours.number", number ) end, 60000, 0 ) addEvent ( "newnmbrvalue", true ) addEventHandler ( "newnmbrvalue", root, function(countupnmbr) number = tonumber(countupnmbr) end) ServeR: addEventHandler ( "onPlayerQuit", getRootElement(), function () local account = getPlayerAccount( source ) if ( account ) then hData = getElementData ( source, "hours.number" ) if ( hData ) then setAccountData( account, 'nbr', tonumber(hData) ) end end end) addEventHandler("onPlayerLogin", root, function() local account = getPlayerAccount( source ) if (account) then countupnmbr = getAccountData( account, 'nbr' ) triggerClientEvent ( source, "newnmbrvalue", source, countupnmbr ) end end ) addEventHandler( "onResourceStop", resourceRoot, function () for k,v in ipairs(getElementsByType("player")) do local account = getPlayerAccount( v ) if ( account ) then hData = getElementData ( source, "hours.number" ) if ( hData ) then setAccountData( account, 'nbr', tonumber(hData) ) end end end end) addEventHandler( "onResourceStart", resourceRoot, function () for k,v in ipairs(getElementsByType("player")) do local account = getPlayerAccount( v ) if (account) then countupnmbr = getAccountData( account, 'nbr' ) triggerClientEvent ( v, "newnmbrvalue", v, countupnmbr ) end end end )
-
Je nederlands is ook goed.... ( sarcasme ) , probeer anders op het engelse sectie iets te verkopen, daar heb je meer kans.
-
Ik had het niet tegen jou, ik gaf een voorbeeld, want hij reageert een jaar later ;p
-
full hd ( 1920x1080x32 )
-
Totale bump? by IIYAMA on Mar 15th, '12, 10:48 by kkidd5 on Feb 17th, '13, 13:22
-
Late replay :"@denny199, how much FPS are you getting in BF3 on ultra?" 60~100 blackscreen: 100~200
-
Je hebt te veel MTA gespeeld als je zoals CJ verschillende mensen in elkaar slaat.
-
... wat je nu allemaal hebt gezegt lijkt me van de communty gedownload te zijn.
-
createPed setPedAnimation
-
No, when texture filtering is enabled you won't see bad textures then, like the picture. just the little bits will be filtered.
-
https://wiki.multitheftauto.com/wiki/File:Filtering.jpg
-
bumperdiebumpbump, nobody can help me? or can give my a idea for a new save/load system instead of xml?
-
Just for the people who are not understanding me: Well, I'm actually trying to make costum texture for houses from a link, so it will save in the xml system where all the houses with info are located for exmaple, I'm choosing ingame the world texture "funturf_bla" then that will save in the xml at the same line at where you are in like this: NAAM_funturf_bla = "texturelinkfromwebsite.com/lol.png" Now I want to get everything behind NAAM_ So After that I can get all the texturelinkfromwebsite.com/lol.png paths etc. So I can import it to a world texture with shaders from a website link. Edit: Sorry for double post.
-
You had 2 times getLocalPlayer within triggerServerEvent bool triggerServerEvent ( string event, element theElement, [arguments...] ) local r = tonumber (guiGetText(rog_modshop_colors_edit_r)) local g = tonumber (guiGetText(rog_modshop_colors_edit_r)) local b = tonumber (guiGetText(rog_modshop_colors_edit_b)) player = getLocalPlayer() triggerServerEvent ( "rog:modshop:color:setColor", player, player, r, g, b ) addEvent("rog:modshop:color:setColor",true) addEventHandler("rog:modshop:color:setColor",root, function (player,r,g,b) local veh = getPedOccupiedVehicle(player) setVehicleColor(veh,r,g,b) end )
