karlis
Members-
Posts
1,314 -
Joined
-
Last visited
Everything posted by karlis
-
i understand many may steal they, but from watching that folder i actually learned mta scripting
-
id suggest to release all those resources introduced in old videos
-
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)
-
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
-
ok thnaks, but if someone else wana use this he need know thats it is posX posY posZ, not x y z
-
i am a lil confused how to change x y z nodes in map file,setElementData() or setElementPosition() will work?
-
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
-
if its not in subfolder, then yes it is
-
no, replay~=record, he means the replay like in singleplayer with key f2
-
you should put zombies spawns, waypoints for slothbot and cps for "cp" gamemode also
-
check this: https://community.multitheftauto.com/index.php?p= ... ails&id=44 i dont know how, but it works
-
no
-
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.
-
--clientside setBlurLevel( level ) --serverside setPlayerBlurLevel( player, level )
-
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)
-
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
-
theres no limits of vehicles you can record
-
you could tweak stage that way it will record last min all time, but you need scripting skills and premission from vovo4ka then
-
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?
-
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
-
ok, but can we get more posibilty of changing something in next version?at least unlock sound and model files
-
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
