Jump to content

#Paper

Members
  • Posts

    568
  • Joined

  • Last visited

Everything posted by #Paper

  1. Can somone update that links? >_
  2. engineReplaceCOL engineLoadCOL Use that functions ^^
  3. Already reported ^^
  4. What the problem? ^^
  5. You should insert this check in the vehicle blow up function: if not getVehicleOccupant(vehicle) then blowVehicle(vehicle) else outputDebugString("Detected occupied vehicle: don't blow!") end
  6. What u modifyed first that this doesn't work?
  7. I love this skin too! D:
  8. this theme... is simply FANTASTIC! I love it ^^
  9. I suggest you to make a backup of the script on every modify that u make, anyway, where is cbGUI defined? P.S: I suggest you to show us whole code
  10. You must disable the script that blow all unoccupied vehicle ^^
  11. Whit what event i can sostitute this?
  12. This compiler doesn't work D:
  13. #Paper

    dxImages

    "attempt to compare number whit nil" in this line "if pointx>boundx then" local selectedTab function checkForCursorInImage() local pointx, pointy = getCursorPosition() local screenx, screeny = guiGetScreenSize() local pointx = screenx * pointx local pointy = screeny * pointy local imgX, imgY, imgW, imgH = x + barX + 35, 13 + textMove - 10, 100, 75 if isCursorShowing() then if isPointInBounds(mouseX, mouseY, imgX, imgY, imgW, imgH) then selectedTab = "stats" checkForTabs() end end end addEventHandler("onClientCursorMove", root, checkForCursorInImage)
  14. Anyway, i analized the code and there is not any triggerClientEvent into an onResourceStart, they are on: onGamemodeMapStart onPlayerWasted And another triggerClientEvent is in a function called by onPlayerWasted So, the problem can't be fixed whit onClientResourceStart
  15. mhh, and is there an event that triggers when the download is completed? And i was thinking, if i use onClientPlayerSpawn, is the same?
  16. Omg, i have a stupid problem, i start my script and in the debugscript i see that it triggers an event but it's not added on clientside, i restart the script and it triggers the event whitout any error, how to make it trigger the event always whitout errors?
  17. #Paper

    dxImages

    OMG, Error @ line 2: "attempt to compare number whit nil" function isPointInBounds(pointx,pointy,boundx,boundy,boundw,boundh) return pointx>boundx and pointy>boundy and pointx<boundw+boundx and pointy<boundy+boundh end function checkForCursorInImage() local pointx, pointy, worldx, worldy, worldz = getCursorPosition" class="kw4">getCursorPosition" class="kw4">getCursorPosition() * guiGetScreenSize() if isPointInBounds(pointx,pointy,x + barX + 35,13 + textMove - 10,100,75) then showStatsWindow() end end addEventHandler("onClientCursorMove", root, checkForCursorInImage) EDIT: i tryed whit this: function isPointInBounds(pointx,pointy,boundx,boundy,boundw,boundh) if pointx>boundx then if pointy>boundy then if pointxthen if pointythen return true else return false end else return false end else return false end else return false end end and the error is @ line 3
  18. #Paper

    dxImages

    emh? wich coordinates i must insert in pointx,pointy,boundx,boundy,boundw and boundh?
  19. #Paper

    dxImages

    No lol... this function checks if the cursor is showing... i need to know if the cursor is in the image <_
  20. #Paper

    dxImages

    So, i have 1 dxImage that i drow in the screen, how can i detect when the cursor is in the image?
  21. OMG Link dead, can someone reupload it?
  22. I thought he wanted to put the colored name when i said, anyway, sorry for my bad
  23. #Paper

    Smoothly

    Thanks you, I LOVE YOU!
  24. #Paper

    Smoothly

    I tryed to whit this, but it is too slow Is there another way to make it fast and smoothly?
×
×
  • Create New...