Jump to content

pepsi18

Members
  • Posts

    49
  • Joined

  • Last visited

  • Days Won

    1

pepsi18 last won the day on October 16 2017

pepsi18 had the most liked content!

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

pepsi18's Achievements

Rat

Rat (9/54)

5

Reputation

  1. How can I make the blur shader green as in the image texture ScreenTexture; float Angle = 0; float BlurAmount = 0.001; sampler ImageSampler = sampler_state { Texture = <ScreenTexture>; }; float4 main( float2 uv : TEXCOORD) : COLOR { float4 output = 0; float2 offset; int count = 24; sincos(Angle, offset.y, offset.x); offset *= BlurAmount; for(int i=0; i<count; i++) { output += tex2D(ImageSampler, uv - offset * i); } output /= count; return output; }; technique MotionBlur { pass P1 { PixelShader = compile ps_2_0 main(); } }
  2. pepsi18

    Help me Plis

    how can i do so that players download the skins while playing give me some example plis
  3. pepsi18

    One question

    I want to avoid that the server is very heavy for the users and some images are have10 mb and I thought it would be better to draw them by URL
  4. pepsi18

    One question

    Is it better to use fetch Remote to draw dxImage to skip the download of heavy images? or it is better to save them to the server normal ?
  5. I already tried setPedControlstate and don't not work
  6. it's possible that a ped get out a player of a vehicle ?? What function should I use?
  7. When I play a .wav file plays full But is cut off from time to time
  8. Only a background sound that lasts 2 minutes But it only reproduces me 20 seconds then it cuts
  9. I have a problem , only played 20 seconds of audio, But the audio takes 2 minutes form the browser plays full function sound() playSound("http://216.172.184.135:21/fastdl/soundtracks/soundtrack1.mp3") end addEventHandler("onClientResourceStart", getResourceRootElement(getThisResource()), sound)
  10. I am trying to do a mysql login but I have a problem decrypting the password. md5(md5(password).salt) give me this error login_mysql/server.lua:32: Bad argument @ 'md5' [Expected string at argument 1, got nil]
  11. tops = { ["guest1"] = {points = 100, money = "198232"} ["rubi1416"] = {points = 30, money = "2323"} } table.sort(tops, function(a,b) return (tonumber(a.points)or 0) > (tonumber(b.points)or 0) end) How can I sort this table by the number of points?
  12. HEL PLISS Is there any way to adapt the text size to all resolutions? local sx, sy = guiGetScreenSize() local font = dxCreateFont("font.ttf", 16) dxDrawText(playername, sx * 0.3130, sy * 0.3167, sx * 0.4484, sy * 0.3704, tocolor(255, 255, 255, 255), 1, font, "center", "center", false, false, false, false, false)
  13. You explain to me how it works I do not understand your code very well
  14. How can I make a progress bar composed for multiple rectangle
×
×
  • Create New...