Jump to content

qaisjp

Retired Staff
  • Posts

    2,344
  • Joined

  • Days Won

    10

Everything posted by qaisjp

  1. use this one: viewtopic.php?f=108&t=40793
  2. what is a chemtrail mission?
  3. You can do a lot of things with shaders. There is no need for caps. Sorry, but it's quite a big deal for those people who like going invisible.
  4. getElementSpeed How did you change the pitch? Oh setSoundSpeed
  5. smacky, to have a successful roleplay, make your own. Otherwise there will be lots of problems. There are no good roleplays released,
  6. Well, lil_Toady shouted at me when I told people to do this: repeat until spawnPlayer(player, x,y,z) He said if the player disconnects, then the server is in permanent lag or whatever.
  7. You have to manually remove it from the sqlviewer
  8. lol, 1) That was totally offtopic 2) I'm pretty sure I have great English 3) He is indian 4) OThers can speak perfect english too. God, chris e_e!
  9. HEY SO NOW WE CAN REMOVE THE SHADOW OF A PED!
  10. Specs are required because server owners need to know whether your hosting can manage their server. Remember, solidsnake, the host was probably running that one server only, hence the minor lag.
  11. It should be possible to do that, it's possible within Lua, so yeah.
  12. forward, backward, left, right binds to change the rotation, camera checking so you walk forward in the direction of the camera. Starting and stopping the animation.
  13. _dxDrawText = dxDrawText function dxDrawText(str, ax, ay, bx, by, color, scale, font) local pat = "(.-)#(%x%x%x%x%x%x)" local s, e, cap, col = str:find(pat, 1) local last = 1 while s do if cap == "" and col then color = tocolor(tonumber("0x"..col:sub(1, 2)), tonumber("0x"..col:sub(3, 4)), tonumber("0x"..col:sub(5, 6)), 255) end if s ~= 1 or cap ~= "" then local w = dxGetTextWidth(cap, scale, font) _dxDrawText(cap, ax, ay, ax + w, by, color, scale, font) ax = ax + w color = tocolor(tonumber("0x"..col:sub(1, 2)), tonumber("0x"..col:sub(3, 4)), tonumber("0x"..col:sub(5, 6)), 255) end last = e + 1 s, e, cap, col = str:find(pat, last) end if last <= #str then cap = str:sub(last) local w = dxGetTextWidth(cap, scale, font) _dxDrawText(cap, ax, ay, ax + w, by, color, scale, font) end end addEvent("onWins", true) function drawNexMapString(player) local x, y = guiGetScreenSize() winner = dxText:create(""..getPlayerNametagText(player).." Ha Ganado!!!", x / 2, y / 2 - 10 + 75 - 41, false, "bankgothic", 1, "center") nextmap = dxText:create( "Proximo mapa en!:", x / 2, y / 2 - 10 + 75 + 11, false, "bankgothic", 1, "center") winner:type('stroke', 1, 0, 0, 0, 255) nextmap:type('stroke', 1, 0, 0, 0, 255) local timerTime = 5 timer = dxText:create( tostring(timerTime), x / 2, y / 2 - 10 + 75 + 41, false, "bankgothic", 1, "center") timer:type('stroke', 1, 0, 0, 0, 255) setTimer(function()timerTime = timerTime - 1 timer:text(tostring(timerTime)) end, 1000, 4) setTimer(function()winner:visible(false) nextmap:visible(false) timer:visible(false)end, 5500, 1) end addEventHandler("onWins", getRootElement(), drawNexMapString)
  14. qaisjp

    Gravity

    Would you mind sharing the code?
  15. Don't use setGameSpeed. Use setPedAnimation combined with other stuff to replicate normal walking.
×
×
  • Create New...