-
Posts
455 -
Joined
-
Last visited
Everything posted by Sex*
-
Okay, i made a script, in main_client.lua the picture didnt want to show. So i put it to draw_client.lua somewhere where the userpanel main logos and others are drawn. So it went successfully to there it should be and image worked But i have this problem: As you can see the image covers the ComboBox. I have also tried this, but without luck: guiSetProperty(skinsWindow, "AlwaysOnTop", "true")
-
Close the topic. I got a new userpanel. The topic is dead anyway:D
-
Ok, because nobody helped me with shader then i started to create lights. But i still want help with shader...because idk how to finish it myself... Why if the numbers are set to idk what..it doesnt matter, only nitro goes to yellow or white function CarNitroToggle( Who, data ) if Who ~= localPlayer then return end if data == 1 then guiLabelSetColor( shaders[ 3 ], 0, 255, 0 ) guiCheckBoxSetSelected( shaderCheckBox[ 3 ], true ) if not myNitroShader then myNitroShader, tec = dxCreateShader ( "Shaders/Nitro/nitro.fx" ) engineApplyShaderToWorldTexture ( myNitroShader, "smoke" ) dxSetShaderValue( myNitroShader, "gNitroColor", 255, 50, 0) end else guiLabelSetColor( shaders[ 3 ], 255, 0, 0 ) guiCheckBoxSetSelected( shaderCheckBox[ 3 ], false ) if myNitroShader then destroyElement( myNitroShader ) myNitroShader = nil end end end
-
What would be the "top ten" thermal pastes?
-
Love you, script is working now with no errors, ty.
-
Wtf, i havent removed anything. Only the bottom plastic to let the air cool better is taken away. The CPU cooler and things are attached ofcourse and i havent taken the cooler off. Only removed dust and :~. I know, i have seen laptops very much. Then i get thermal paste, then im gonna take the CPU cooler off. Do you have high temperatures atm? No, but then i play MTA they get 86-90C and then it begins to slow down. Now temperature is 45-50C
-
All the resources are separately. In the error it says that "expected string..." so i think i got to add a string but where and what string?
-
Wtf, i havent removed anything. Only the bottom plastic to let the air cool better is taken away. The CPU cooler and things are attached ofcourse and i havent taken the cooler off. Only removed dust and shit. I know, i have seen laptops very much. Then i get thermal paste, then im gonna take the CPU cooler off.
-
Ok, i found a perfect solution...I took it apart and removed the dust and shit and also taked away the bottom thing that covers everything. FPS has improved but not much. But its much better now. If temperature got hot it made to throttle the proccessor(proccessor takes freqency down if it gets too hot). Soon i think i gonna change thermal paste also and put more RAM in it(if i dont bought new PC before ).
-
will try this one * News_Box.lua local messagesList = { [1] = "#FFFF00You are playing in X-Proffessionals", [2] = "Press #FF0000F9 #FFFFFFfor help!", [3] = "Server Owner: Se[X]^^", [4] = "Have Fun!", } local currentMessage = 0 -- ******************** -- * Event handlers * -- ******************** addEventHandler ( "onClientRender", root, function ( ) local screenWidth, screenHeight = guiGetScreenSize( ) dxDrawRectangle(screenWidth - 204, 4, 200, 20, tocolor(0, 0, 0, 192), false) dxDrawText( messagesList[ currentMessage + 1 ], screenWidth - 202, 6, screenWidth - 6, 16, tocolor( 250, 255, 255, 255 ), 1, dxCreateFont( 'font_sr.ttf', 18 ), 'center', 'top', false, false, true, true ) end ) function updateMessage( ) if ( currentMessage == 4 ) then currentMessage = 0 else currentMessage = currentMessage + 1 end end setTimer( updateMessage, 5000, 0 ) * meta.xml "#Se[X]" name="NewsScript" version="2.0" description="NewsScript" type="script"/> And make sure the font are there. Not working, everything works(font and stuff also), only that errors come.
-
Ah you fucking dumbass, the 1st page, read you fucking idiot!
-
3, 2 of them are working... But the third one i want then i tick the box nitro shader pops up. So there is box there you can change nitrous color with red, green, blue.
-
Cant you read first post!?! [2012-12-31 18:16:16] WARNING: info\News_Box.lua:24: Bad argument @ 'dxDrawText' [Expected string at argument 1, got nil]
-
You must add Font in meta. Oh yea forgot:D But the weird thing is that the font works. I even didnt have it in folder wtf. Still having errors... New meta: <meta> <info author="#Se[X]" name="NewsScript" version="2.0" description="NewsScript" type="script"/> <script src="News_Box.lua" type="client" /> <file src="font_sr.ttf"/> </meta>
-
<meta> <info author="#Se[X]" name="NewsScript" version="2.0" description="NewsScript" type="script"/> <script src="News_Box.lua" type="client" /> </meta>
-
In the first post. But okey: [2012-12-31 18:16:16] WARNING: info\News_Box.lua:24: Bad argument @ 'dxDrawText' [Expected string at argument 1, got nil]
-
You got the font working but the error is still the same
-
Do you created a table? Idk what you meant because im not so pro in english, and there isnt scripters in my language. Here is all of the script: font1 = dxCreateFont("font_sr.ttf", 18) local messagesList = { "You are playing in X-Proffessionals", "Press F9 for help!", "Server Owner: Se[X]^^", "Have Fun!", } local currentMessage = 0 -- ******************** -- * Event handlers * -- ******************** addEventHandler("onClientPreRender", getRootElement(), function() local screenWidth, screenHeight = guiGetScreenSize() -- Draw the news sticker. dxDrawRectangle(screenWidth - 204, 4, 200, 20, tocolor(0, 0, 0, 192), false) -- Draw all strings. dxDrawText(messagesList[currentMessage + 1], screenWidth - 202, 6, screenWidth - 6, 16, tocolor(250, 50, 0, 255), 1, "font1", "center", "top", false, false, true) end ) function updateMessage() if (currentMessage == 4) then currentMessage = 0 else currentMessage = currentMessage + 1 end end setTimer(updateMessage, 5000, 0)
-
I dont get it... I know that im missing string and i have bad argument but idk what string and where should i put it. I think somewhere dxDrawText but not sure...
-
Where do i add? -- Draw all strings. dxDrawText(messagesList[currentMessage + 1], screenWidth - 202, 6, screenWidth - 6, 16, tocolor(250, 50, 0, 255), 1, "font1", "center", "top", false, false, true) end )
-
Im having this errors. [2012-12-31 18:16:16] ERROR: NoCompiles\util_tt_client.lua:356: attempt to index global 'hud1' (a nil value) [2012-12-31 18:16:16] WARNING: info\News_Box.lua:24: Bad argument @ 'dxDrawText' [Expected string at argument 1, got nil]
-
destructionderby.lua if getActivePlayerCount() <= 0 then Change both numbers there! If 0 then the last survivor gets the hunter. You can find even it from forum! Lazy.
