Search the Community
Showing results for tags 'massage'.
-
I have a problem with my script and I don't know what the problem is, in the debug I write to me that in line 6,7 there is arg 1 in "nil" and I don't know why what's going on? local screenW, screenH = guiGetScreenSize() function CommuncationMouse() local cursrox, cursory = getCursorPosition() local cursrox = tonumber(cursrox) local cursory = tonumber(cursory) dxDrawImage(cursrox, cursory, screenW * 0.0766, screenH * 0.0593, ":test/guiBackgroundLongsquareLines.png", 0, 0, 0, 255, 0, 0, 255), true) dxDrawImage(cursrox, cursory, screenW * 0.0766, screenH * 0.0593, ":test/guiBackgroundLongsquare.png", 0, 0, 0, tocolor(0, 0, 0, 150), false) dxDrawText("TEST", (cursrox) - 1, (cursory) - 1, (screenW * 0.3948) - 1, (screenH * 0.1657) - 1, tocolor(0, 0, 0, 255), 1.00, "bankgothic", "center", "center", false, false, false, false, false) dxDrawText("TEST", (cursrox) + 1, (cursory) - 1, (screenW * 0.3948) + 1, (screenH * 0.1657) - 1, tocolor(0, 0, 0, 255), 1.00, "bankgothic", "center", "center", false, false, false, false, false) dxDrawText("TEST", (cursrox) - 1, (cursory) + 1, (screenW * 0.3948) - 1, (screenH * 0.1657) + 1, tocolor(0, 0, 0, 255), 1.00, "bankgothic", "center", "center", false, false, false, false, false) dxDrawText("TEST", (cursrox) + 1, (cursory) + 1, (screenW * 0.3948) + 1, (screenH * 0.1657) + 1, tocolor(0, 0, 0, 255), 1.00, "bankgothic", "center", "center", false, false, false, false, false) dxDrawText("TEST", cursrox, cursory, screenW * 0.3948, screenH * 0.1657, tocolor(255, 0, 0, 255), 1.00, "bankgothic", "center", "center", false, false, false, false, false) end