-
Posts
52 -
Joined
-
Last visited
Everything posted by Aristates
-
show You'r Full Code ??
-
take a screen shot. Code guiSetVisible(GUI.window[1], false)
-
that's why I don't know
-
triggerClientEvent dxCreateTexture dxCreateShader addEvent addEventHandler
-
Hm... you Use TriggerClientEvent. addEventHandler("onPlayerSpawn",root, function () setTimer ( function() setElementData(source,"GPS",1) end, 5000, 1 ) outputChatBox("ok",source,255,0,0) triggerClientEvent( client, "Triggers", client) end) --#Client addEvent("Triggers", true) addEventHandler("Triggers", root, function(player) givePedWeapon(player, 31, 5000, true) end
-
Umm... example addEvent("Gridlist", true) addEventHandler("Gridlist", root, function(Aristates) -- here You'r Code. end ) -- I have not tested function(player, Money) Aristates = "blablablabla" Amount = { ["19.55€" ]=true } if Amount[Money] then takePlayerMoney(player, 19) outputChatBox("You Purchased Durex "..Amount.." Nick:"..getPlayerName(source).."") triggerClientEvent( client,"Gridlist", Aristates, client ) end
-
Hey. Virtual DJ Program Designed Script. %20 Complete Coming Soon My Beautiful script
-
Okay Just it write code. I have not tested function loading() if buttonExtract == source then local now = getTickCount() with = interpolateBetween(0,0,0,532,0,0, (now - start) / (( start + 10000 ) - start ) , "Linear" ) dxDrawRectangle(142, 222, with, 41, tocolor(23, 23, 231, 255), false) if with < 532 then triggerServerEvent("payMoney", localPlayer) else removeEventHandler("onClientRender", getRootElement(), loading) end end end addEventHandler("onClientRender", getRootElement(), loading) addEventHandler("onClientClick", root, function(button, state, x, y) if button == "left" and state == "down" then if x >= 142 and y >= 222 then -- Write You'r Code end end end )
-
onClientRendering is not working ! DirecTx working = onClientRender givePlayerMoney(1) server side. guiSetVisible don't dx functions. guiSetVisible Gui Functions ! -- #Client start = getTickCount() addEventHandler("onClientRender", getRootElement(), function() local now = getTickCount() loading = interpolateBetween(0,0,0,532,0,0, (now - start) / (( start + 10000 ) - start ) , "Linear" ) dxDrawRectangle(142, 222, loading, 41, tocolor(23, 23, 231, 255), false) end end ) -- #Server function(player) givePlayerMoney(player, 1) end dxDrawRectangleButton Event "onClientClick" DisableRenderEvent = "removeEventHandler"
-
WoW Amazing ! shader is beautiful Picture Picture 2 Picture 3
-
Edit: The project continues
-
Just it Example Progress Bar screenX,screenY = guiGetScreenSize() function startTheClock () if not systemUpTime then systemUpTime = getTickCount () --Store the system tick count, this will be 0 for us end currentCount = getTickCount () dxDrawRectangle (screenX *.40, screenY * .09, 250, 50, tocolor(0,0,0,150)) dxDrawText ( currentCount - systemUpTime, screenX * .48, screenY * .1, screenX, screenY, tocolor(255,255,255), 2) end addEventHandler ( "onClientRender", root, startTheClock )
-
Join The Project? Send Message from PM , Talk About Project.
-
Project Closed. Start new Project NFS
-
Hey! this is my old script. i'm upload community center properties; realstic efffect, mic , trev , frank loading background ... Community
-
write = "Example The Trigger" triggerClientEvent( client, "Aristates", write, client)
-
https://forum.multitheftauto.com/viewtopic.php?f=91&t=93764 ?=?
-
You'r Welcome.
-
Use math.random givePlayerMoney ( player, math.random(Amount)) sorry fixed.
-
local myMarker = createMarker(-2596.625, 579.358, 15.626, 'cylinder', 2.0, 255, 0, 0, 150) Amount = { "100", "200", "300", "400", "500", "600", "700", "800", "900", "1000" } function MarkerHit( hitElement, matchingDimension, player ) givePlayerMoney ( player, math.random(#Amount) end addEventHandler( "onMarkerHit", myMarker, MarkerHit )
-
Open The Zmodeller 2.2.6 > open call duty model > exports to .dff files > open TXD Workshop > create new txd > save. Txd import Example id = 541 txd = engineLoadTXD ( "names.txd" ) engineImportTXD ( txd, id ) dff = engineLoadDFF ( "names.dff" ) engineReplaceModel ( dff, id )
-
view topic. https://forum.multitheftauto.com/viewtopic.php?f=91&t=44715
-
Thanks.
