Jump to content

HunT

Retired Staff
  • Posts

    1,390
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by HunT

  1. Fixed + Resize all local sWidth, sHeight = guiGetScreenSize() local Width,Height = 420,300 local X = (sWidth/2) - (Width/2) local Y = (sHeight/2) - (Height/2) bigWindow = guiCreateWindow(X,Y,Width,Height,"",false) guiWindowSetMovable(bigWindow,false) guiWindowSetSizable(bigWindow,false) Tnx For support TheRock
  2. For one window is ok guiGetScreenSize or function "centerWindow" But my panel have 2 windows and images + bottons indipendent from windows This is client side. Help please this is my first project in GUI.
  3. Edit : centerWindow no good Other Solution ? resize all elements stress me
  4. Hi all. I have finish my panel shop but I have a problem with the resolution For me is ok why i play in 1280X960X32 ,the problem is many guys play in 800x600x32 Images : My resolution 1280X960X32 resolution 800x600x32 Solutions? i don't want resize 20 bottons 2 windows end 11 images. Help me please.
  5. HunT

    Creating GUI

    GuiEditor is AWESOME and easy. i made this :
  6. The Meta.xml editor for edit name map and setting "true" "none" in race gamemode. sx_resmanager have this function but Epic lag in server.
  7. Nice job but is possible edit the meta.xml?
  8. The Castillo version is awesome but i change the "id" to "ammount" and "..." with "namepart" . . .why without (namepart) no work now is perfect Very Tnx Castillo & SDK fast help This : local pushData = {[1] = "0.10", [2] = "0.20", [3] = "0.30"} function pushim (thePlayer, commandName, namepart, ammount) player = findPlayer(namepart) if not player then outputChatBox("* /push: player not found", thePlayer) elseif isPedInVehicle(player) then local vehicle = getPedOccupiedVehicle(player) x,y,z = getElementVelocity(vehicle) local data = tonumber(pushData[tonumber(ammount)]) setElementVelocity ( vehicle, x, y, z+data) outputChatBox( getPlayerName(thePlayer).. " Push " ..getPlayerName(player), getRootElement(), 255, 255, 0, true) end end addCommandHandler("push", pushim) function findPlayer(namepart)
  9. Hi all.i want edit the script push in /push "name player" "ammount position z" This is normaly script push /push "name player" server_side : function pushim (thePlayer, commandName, ...) player = findPlayer(...) if not player then outputChatBox("* /push: player not found", thePlayer) elseif isPedInVehicle(player) then local vehicle = getPedOccupiedVehicle(player) x,y,z = getElementVelocity(vehicle) setElementVelocity ( vehicle, x, y, z+0.30) outputChatBox( getPlayerName(thePlayer).. " Push " ..getPlayerName(player), getRootElement(), 255, 255, 0, true) end end addCommandHandler("push", pushim) function findPlayer(namepart) Ok i want edit this with this example (raw ) 1 = setElementVelocity ( vehicle, x, y, z+0.10) or only 1 = (vehicle, x, y, z+0.10) 2 = setElementVelocity ( vehicle, x, y, z+0.30) 3 = setElementVelocity ( vehicle, x, y, z+0.50) etc . . . With command /push "name" 2 . . . and call " setElementVelocity ( vehicle, x, y, z+0.30) " Its possible? For me is very hard this Tnx
  10. Call the function with triggerClientEvent in marker or ServerEvent
  11. SnoopCat please no post maps without credit/compiled.Many kids download this maps and change name autor. I look the razor maps in many server with other name autor (facepalm) Edit the file client with credit and compiled
  12. Tnx king of 3Dmax Last = new sorry
  13. [DM] St3reo Project V9 HT4 My last job Custon txd & logo .dff .col Markers "15" And others scripts. Look in 1080HD Special Tnx To Benox For Logo 3D & Movie Help by Kuba This map is in my servers and others.
  14. Nice job dude Next time use ZeroBlur script.
  15. moveObject is OK Now. i Have other problem with "setVehicleGravityPoint" debugscript 3 : attempt to call global "setVehicleGravityPoint" (a nil value) (wtf) ----------------------------------------- Fix with setVehicleGravity -.-"
  16. local TheRock = JR10 Sorry . . . . Work without "local" Tnx For Support "TheRock"
  17. The createObject work with or without local, the problem is moveObject. Anyway later test without local Tnx
  18. Hi . . I always use the same method to move the objects with marker (always and work) And now in debugscript 3 - - - - Bad Argument @ "moveObject" - - - - -This is crazy local root = getRootElement() local this = getThisResource() local resourceRoot = getResourceRootElement(this) local localPlayer = getLocalPlayer() local Marker = {} addEventHandler("onClientResourceStart", resourceRoot, function() local st3reotxd1 = engineLoadTXD("st3reo3458.txd") engineImportTXD( st3reotxd1, 3458 ) local st3reotxd2 = engineLoadTXD("st3reo8838.txd") engineImportTXD( st3reotxd2, 8838 ) local st3reotxd3 = engineLoadTXD("st3reo5848.txd") engineImportTXD( st3reotxd3, 5848 ) Marker[1] = createMarker(5137.5, -57.07, 1.2, "corona", 5, 0, 0, 0) local object1 = createObject ( 3458, 5137.5068359375, -54.855049133301, -1.2999992370605, 0, 0, 90 ) setWeather(0) setSkyGradient() setCloudsEnabled ( false ) end ) addEventHandler("onClientResourceStop", root, function(res) if res == this then setWeather (0) setWaveHeight ( 0 ) setSkyGradient( 0, 0, 0, 0, 0, 0) setCloudsEnabled ( false ) end end ) addEventHandler("onClientMarkerHit", root, function(player, matchingDimension) if not matchingDimension then return end if player == localPlayer and isPedInVehicle(player) then local vehicle = getPedOccupiedVehicle(player) if source == Marker[1] then moveObject ( object1, 3000, 5137.5068359375, 146.6568145752, -1.2999992370605) end end end ) The Problem ? (idk ) Tnx
  19. Ty Castillo . .I looked in scoreboard resource -.-" . Ok fix Tnx
  20. Hi all. I want remove the checkpoints in scoreboard ( dxscoreboard ). is it possible? This : Tnx
×
×
  • Create New...