Jump to content

karlis

Members
  • Posts

    1,314
  • Joined

  • Last visited

Everything posted by karlis

  1. i understand many may steal they, but from watching that folder i actually learned mta scripting
  2. id suggest to release all those resources introduced in old videos
  3. function rolldice(player,comd) local roll = math.random(1,4) if roll == 1 then outputChatBox("u won blablabla") elseif roll == 2 then outputChatBox("u lost blablabla") elseif roll == 3 then setPlayerMuted(source,true); setTimer(setPlayerMuted,1,30000,player,false) elseif roll == 4 then outputChatBox("u win blablabla") end end addCommandHandler("roll",rolldice)
  4. my ratio isn't accurate since i am using mod for better fps on sp, but it dont work on mta processor 1.6ghz AMD sempron 3000+ rated at 3ghz (it is rated, not overclocked, wutever it means, i would like get an explanation wut does it means) resolution 1000x1200 sp : 25-30 mta : 15-20(with that resolution) so i need run resolution down in settings every time i switch from sp/samp to mta and back that is really anoying lil suggestion: own graphics settings config for gta and own for mta
  5. ok thnaks, but if someone else wana use this he need know thats it is posX posY posZ, not x y z
  6. karlis

    Replays

    stage have record saver
  7. i am a lil confused how to change x y z nodes in map file,setElementData() or setElementPosition() will work?
  8. i think thats not 100% right exports.resName:functionName(args) is much more common and i think it should be showed to LUA newbies, as its easier to understand
  9. karlis

    replacing bullet

    if its not in subfolder, then yes it is
  10. karlis

    Replays

    no, replay~=record, he means the replay like in singleplayer with key f2
  11. you should put zombies spawns, waypoints for slothbot and cps for "cp" gamemode also
  12. check this: https://community.multitheftauto.com/index.php?p= ... ails&id=44 i dont know how, but it works
  13. you didnt loose anything, they just have record possibility(good sync tough) and possibility to force bot join/quit and just play record.thats all.
  14. --clientside setBlurLevel( level ) --serverside setPlayerBlurLevel( player, level )
  15. add this to race engine somewhere value=0.3 --needs testing to get right one addEventHandler("onPickupHit",getRootElement(),function() if [some way to detect is the pickup a change pickup] then local veh=getPedOccupiedVehicle(source) local vx,vy,vz=getElementVelocity(veh) setElementVelocity(veh,vx,vy,vz+value) end end)
  16. i dont agree 5| - 4| - 3| - 2| - 1| - - MTA Bots SA-MP bots samp has ability to JUST record a bot and kick it, it dont worth 3/5 mark
  17. karlis

    Replays

    theres no limits of vehicles you can record
  18. karlis

    Replays

    you could tweak stage that way it will record last min all time, but you need scripting skills and premission from vovo4ka then
  19. this might fail because not all skins from 0 to 288 is valid function syncQuality() --triggerClientEvent ( source, "onSetQuality", getRootElement(), skip_mode,skip_fi,par1,par2,par3,par4,par5) spawnPlayer (source, 1430, -973, 58, 0, math.random (0,288)) -- spawns player with random skin fadeCamera (source, true) setCameraTarget (source, source) end addEventHandler ( "onPlayerJoin", getRootElement(), syncQuality ) use repeat until spawnPlayer (source, 1430, -973, 58, 0, math.random (0,288)) -------- im interested what is clientside function "correct", its some rotation fix?
  20. karlis

    race maps

    listen, stop acting like you are the kinghere, you are one who requests 100000helps and now blaming us in something. dont like?go away
  21. nice few suggestions: coloring each side of cube in different color, and making dxrectangle warnings hud some explosive barrels, holes in cube and fences for extra fun atmosphere-recoloring also sky and water combinating vehicle gravity change with cube movement, for really disorienting players
  22. ok, but can we get more posibilty of changing something in next version?at least unlock sound and model files
  23. according all the panic every1 makes from server hacking this function definitely isn't save: function callServerfunction(funcname, ...) local arg = { ... } if (arg[1]) then for key, value in next, arg do if (type(value) == "number") then arg[key] = tostring(value) end end end -- If the serverside event handler is not in the same resource, replace 'resourceRoot' with the appropriate element triggerServerEvent("onClientCallsServerFunction", getLocalPlayer() , funcname, unpack(arg)) end PS:dont get me wrong, im not critic, your work is great, im just trying to help
×
×
  • Create New...