Jump to content

karlis

Members
  • Posts

    1,314
  • Joined

  • Last visited

Everything posted by karlis

  1. varez, not rly, he wants total random, not random between few spawns.anyway i made quick example an i hope you dont mind its clientside: --client lvbounds={ x1=1000, x2=2800, y1=600, y2=2800} addEventHandler("onClientPlayerWasted",getRootElement(),function() if source~=getLocalPlayer() then return end repeat x,y=math.random(lvbounds[x1],lvbounds[x2]),math.random(lvbounds[y1],lvbounds[y2]) fadeCamera(false,0) setElementPosition(source,x,y,10) height=getGroundPosition (x,y,300) until height<30 and height>1 triggerServerEvent("spawn",getLocalPlayer(),x,y,height) end) --server addEvent("spawn",true) addEventHandler("spawn",getRootElement(),function(x,y,z) setTimer(function() spawnPlayer(source,x,y,z) fadeCamera(source,true) end,3000,1) end)
  2. karlis

    Don't works

    try now, edited ^
  3. karlis

    Don't works

    omg plSkin is not skin! function whatEver ( ) bindKey (source, "right", "down", function (player) local skin = getPedSkin(player) local skin = skin+1 setPedSkin(player,skin) end ) addEventHandler("onPlayerLogin", getRootElement(), whatEver)
  4. would it be fine if you spawn in some roofs of buildings?
  5. anyway we are talking about few miliseconds, so that, how script is readable and easy to write/edit is much more important
  6. jsut go to wiki anim page, press "source'' tab, and copy&paste, then in notepad++ with replacements make it xml-like
  7. then just use free=#texts+1 texts[free]={} ...
  8. btw you could use #[tablename] for getting tables sizes, not with non-needed textCount = textCount+1 in current example you could use: texts[#texts+1]={ } texts[#texts+1]['text']=text texts[#texts+1]['time']=time --or table.insert(texts,{}) table.insert(texts["text"],text) table.insert(texts["time"],time)
  9. it still worked with load for me only
  10. you need press "load gui" and click on gui first
  11. 1)it would be nice to see date that you last played in "recently played" tab, because now its imposible to see what server you played yesterday, and what-3months ago 2)server data label: since watching data in gridlist is not best way, i think would be nice to add lil samp-style label complex in right bottom corner of server browser it would contain: by default: -ip -name -map -mode -players -version(e.g. "1.0.3 Linux") -copy data button, witch would open little window with all server data on copy-friendly read-only memo(useful e.g. when friend want to know ip of server) optional: -website -some lil description/moto 3)some right-click menu support would be great 4)i know, not a big deal, but if you try connect to other server while you are already connecting to somewhere mta crashes
  12. the problem is that they are heading to you, if they would "igonre" you they wouldnt be so crowdy and anoyiong ------------------------------ other idea: create colshape around car matrix, attach colshape to car, and kill all peds who are not players when they enter the colshape, since in zombie script all dead zobies loose their collisons that would solve stopping problem, then setting their velocity e.g. 2times bigger then car's one
  13. i say easyest is to edit zombies code, that way zombies dont seek you if youre in vehicle, but then you need slothman's agreement first
  14. just set weather clientside for specified player
  15. hmm i think you need integrate check isPedInVehicle in zombies script for it, but be sure slothman(owner of zombies script) allowed to do so
  16. Im lil bit confused w/this, so soz if i say smtn wrong, but isnt attaching truck to onvehicleenter more efficent? Ps:soz for shorting words, just im writing on phone
  17. all fine, except that if you will rotate objects like this objects will get messed up, you need some trigonometrical functions for that
  18. use onVehicleEnter, removePedFromVehicle
  19. btw i think you should make dxtext for help info, and text box with text functions for outputs, and dont use chatbox outputs anymore, because 1,000,000 chatbox outputs really can be annoying sometime
  20. no, you need script converter, or if you dont know scripting just change x,y,z values with notepad
  21. that just goes epic!! https://community.multitheftauto.com/index.php?p= ... ils&id=651 heres quote from description: he people stolen me script the hummer and audi is me script here is me Ford Mustang
  22. https://community.multitheftauto.com/index.php?p= ... ils&id=650 that user should be banned for claiming its his car
×
×
  • Create New...