Jump to content

Piorun

Members
  • Posts

    421
  • Joined

  • Last visited

Everything posted by Piorun

  1. yum: command not found. Anyway - i have installed Debian 6.0
  2. Hi guys I've got problem with configuring my server on virtual private server. So i downloaded packages (resources, dethmatch directory etc.) and when i wanted to start my server (using ./mta-server) i get an error: So i go to wiki and i read that i should type I typed it but i get something like that: What im doing wrong? I installed subversion using apt-get install subversion (and first i used apt-get update).
  3. Piorun

    What's wrong?

    ehh .. crap. Ok thanks.
  4. Piorun

    What's wrong?

    I have one, simple question: Why this code doesn't work? : CLIENT (ucp_c.lua): ucp = {} function ucp.showLoginBar() if guiGetVisible(ucp.loginBar) == false then guiSetVisible(ucp.loginBar, true) else guiSetVisible(ucp.loginBar, false) end end META.XML (ucp): <export function="ucp.showLoginBar" type="client" /> CLIENT (other.lua): call(getResourceFromName("ucp"), "ucp.showLoginBar") and error: failed to call Can anyone help?
  5. Witam - za każdym razem gdy uruchamiam MTA wyłącza mi się styl Aero (mam Win 7 Professional oryginał, komputer niedawno kupowany i GTA SA też oryginalne) co jest dosyć uciążliwe, bo gram na podglądzie okienkowym. Przed przeinstalowaniem systemu w MTA była opcja w "settings", która pozwalała zmienić ustawienia uruchamiania stylu aero lecz po zainstalowaniu na nowo MTA tej opcji nie mam. Próbowałem przeinstalowywać MTA (nawet do innego katalogu). Prosiłbym o pomoc.
  6. or meybe can someone paste here "coreconfig.xml" file.
  7. Hi guys I've got problem with Aero style (that pretty, glassy style). All the time i'm starting my MTA client Windows is changing color scheme and turn off aero style. If i remember i had on my old PC (where was Windows 7 too and MTA) setting on MTA named "aero SOMETHING" in "Video" tab but now i dont have it. How can i set this? Thanks for help
  8. Piorun

    accounts error

    I forget to change my current file in Notepad++
  9. Piorun

    accounts error

    ok i know what's wrong - i create this code on client side -________- ...
  10. Hi I've got a question for you. What's wrong is with this code: for k,v in ipairs(getAccounts()) do outputChatBox("Account") end and why when i want to use this code debug shows me only attempt to call global getAccounts (a nil value) ???
  11. I know but i want to create some avatar system and i need to save those images and use them in guiCreateStaticImage function cause i hate drawing functions when i want to do some list . I know those "file" functions but i need some example. Thanks a lot .
  12. Any ideas cause i know that when i use fetchRemote function i can take some "pixels" from this img and i know how to paste this img on screen but i dont know how to save it. I think i should use somethin like fileWrite or something but im not sure.
  13. Hi guys. I want some example how to get an image from url page and save him on my server and then use it as a gui static image. I know i should first use fetchRemote function but what then? Thanks for any advice.
  14. Ok, but what im putting here?: float4 MyShader(.... ) ... { ................. <-- here } EDIT Anyway on wiki there is this example for fx file: texture Tex0; texture Tex1; //-- Very simple technique technique simple { pass P0 { //-- Set up texture stage 0 Texture[0] = Tex0; ColorOp[0] = SelectArg1; ColorArg1[0] = Texture; AlphaOp[0] = SelectArg1; AlphaArg1[0] = Texture; //-- Disable texture stage 1 ColorOp[1] = Disable; AlphaOp[1] = Disable; } }
  15. Hi guys. I have problem with my shader. It's fx file: texture Tex0; technique simple { pass P0 { //-- Set up texture stage 0 Texture[0] = Tex0; //-- Leave the rest of the states to the default settings } } and lua code: addEventHandler("onClientResourceStart", resourceRoot, function() myShader,tecName = dxCreateShader( "efect.fx" ) myImage = dxCreateTexture( "info.png" ) if myShader and myImage then dxSetShaderValue( myShader, "Tex0", myImage ) outputChatBox( "Shader using techinque " .. tecName ) else outputChatBox( "Problem - use: debugscript 3" ) end end ) addEventHandler( "onClientRender", root, function() if myShader then dxDrawImage( 200, 300, 400, 200, myShader, 0, 0, 0, tocolor(255,255,0) ) end end ) And this is some warn: There were no techniques, Compilation failed What's wrong?
  16. I think it should be better: float getVehicleWindowState( element theVehicle, int nrOfWindow ) Very nice sug.
  17. Cause for example scripter want to create huge areas like city areas or any else?
  18. Hi guys - i wanted today to create few huge radar areas but when i made it i was a little shocked - i can saw them on F11 map but they were hided on radar. So i made an experiment and i got suprised when i discovered that we can't made huger area than 974x1305. I think it should be fixed.
  19. ok ok but i see my radar areas only on F11 map and i want to see them on F11 map and hud's radar. How?
  20. Ye i was in area and don't shown it on game-hud-radar. I still can saw them on F11 map. Meybe i should create it client-side?
  21. oO ... Don't know what was wrong in my code but myonlake's code working so good. Thank you and another q: How to create radar area which be show on bottom-left corner radar, cause I create areas with createRadarArea and i see them only in F11 map.
  22. Hi guys. I want to ask why when i make something like that: createRadarArea(983.08239746094, 691.31982421875, 1900, 2200, 0, 255, 0, 175) local lvCol = createColRectangle(983.08239746094, 691.31982421875, 1900, 2200) and enter into this ColRectangle (i have functions handled to correctly events) event doesn't works correctly (anyway nothing happend). What i'm doing wrong? Meybe some parametrs are wrong? Anyway no errors in debug.
  23. Yes I'm hosting now on my home but i have really wooden PC: AMD Sempron 2300+ 3GB Ram Anyway thanks for some examples.
  24. Dont metter ( i think ) - anyway im from poland so we have local websided which offers some VPS, but can u show me some example parameters of good VPS?
×
×
  • Create New...