#Paper
Members-
Posts
568 -
Joined
-
Last visited
Everything posted by #Paper
-
Can somone update that links? >_
-
engineReplaceCOL engineLoadCOL Use that functions ^^
-
Already reported ^^
-
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
-
What u modifyed first that this doesn't work?
-
I love this skin too! D:
-
this theme... is simply FANTASTIC! I love it ^^
-
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
-
You must disable the script that blow all unoccupied vehicle ^^
-
Whit what event i can sostitute this?
-
This compiler doesn't work D:
-
"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)
-
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
-
mhh, and is there an event that triggers when the download is completed? And i was thinking, if i use onClientPlayerSpawn, is the same?
-
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?
-
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
-
Thanks bro!
-
OMG Link dead, can someone reupload it?
-
I thought he wanted to put the colored name when i said, anyway, sorry for my bad