-
Posts
19 -
Joined
-
Last visited
Everything posted by Fanbox
-
Im reinstall all, MTA/GTA/Drivers https://ibb.co/p4Y3yCS -- PHOTO https://pastebin.mtasa.com/1000005050 -- MTA DIAG Help)
-
Hi, Meet the problem of updating the server build, my host does not have the latest version There are ways to upgrade my build to last without having dll startup files etc If possible, add a command for the server to update the server without downloading it from the Internet! thanks
-
Well Done!!!
-
Сделай запрет на Use команди, пока шлагбаум не станет на место
-
Можеш делать таблицу в таблице {name = "Палатка (250)",slot = 3,useItem = 'УстановитьП',info = " Быстро возводимая конструкция для хранения вещей ",cT = {2573,0,4,1,0,0,-90,250,5,4},lootTipe = {1,1,3}}, {name = "Палатка (175)",slot = 3,useItem = 'УстановитьП',info = " Быстро возводимая конструкция для хранения вещей ",cT = {2575,0,3,1,0,0,-90,175,6,3},lootTipe = {1,3,4}}, {name = "Палатка (Автомобильная)(200)",slot = 3,useItem = 'УстановитьП',info = " Быстро возводимая конструкция для хранения вещей ",cT = {2577,0,4,1,0,0,-180,200,7,4},lootTipe = {2,3,0}},
-
Братан, тут нету ничего для позицци на игрока!?
-
Все просто) Есть mtaserver.conf файл В нем строчка httpurl както так) Туда впиши силку URl От своего ФТП (на хосте) Ето уберет нагрузку на сервер 20% если у тя онлайн ~100 И файли будут грузить не з серва а з фтп силки что и даст скорость загрузки
-
Напиши создателю ДГС он добавит
-
TY bu thow use it table vehicleTable = { {id = 422,stats = {4,1,1,1,1,0.25,50},pos = { {2433.3086, -1674.3926, 14.004364,0,0,0,30}, {-2519.2705, -603.21094, 132.91457,0,0,0,30}, } }, }
-
how use its table vehicleTable = { {id = 422,stats = {4,1,1,1,1,0.25,50},pos = { {2433.3086, -1674.3926, 14.004364,0,0,0,30}, {-2519.2705, -603.21094, 132.91457,0,0,0,30}, } }, } for _,data in ipairs(vehicleTable) do veh = createVehicle(data.id,data.pos[1][1],data.pos[1][2],data.pos[1][3],data.pos[1][4],data.pos[1][5],data.pos[1][6]) end spwan only one car how use spawns 1 and 2 cars ( all table) TY
-
Best way to solve is using absolute integer as position and size. Show me an example inventory = DGS:dgsDxCreateWindow ( 0.36, 0.28, 0.28, 0.50, "Select your weapons", true ) playerList = DGS:dgsDxCreateGridList (0.12, 0.1, 0.85, 0.85,true,inventory,false,tocolor(0,0,0,0),tocolor(255,255,255,0),tocolor(0,0,0,255),tocolor(0,0,0,255),tocolor(70,70,70,200),tocolor(255,0,0,200)) there are some other options?
-
The problem is that I see the texture on me, but I also see it on other players (instead of seeing them)
- 3 replies
-
- synchronization
- player
-
(and 1 more)
Tagged with:
-
--Client local shader = dxCreateShader("tex.fx",0, 0, true, 'ped') addEvent("broadcastEnableShader", true) -- allow remotely triggered (from server) addEventHandler("broadcastEnableShader", root, function(some_data) -- receive broadcast from the server local img = dxCreateTexture(""..math.random(1,3)..".png") dxSetShaderValue(shader, "tex", img) engineApplyShaderToWorldTexture(shader, "Hoodie_green_co",some_data) end ) addEventHandler( 'onClientResourceStart', resourceRoot, function() for _, p in ipairs(getElementsByType('ped')) do if isElementStreamedIn(p) then local clothing = getElementData(p, 'blood') if clothing then triggerServerEvent("announceEnableShader", localPlayer, p) end end end for _, p in ipairs(getElementsByType('player')) do if isElementStreamedIn(p) then local clothing = getElementData(p, 'blood') if clothing then triggerServerEvent("announceEnableShader", localPlayer, p) end end end end) addEventHandler( 'onClientElementStreamIn', root, function() if getElementType(source) == 'player' or getElementType(source) == 'ped' then local clothing = getElementData(source, 'blood') if clothing then triggerServerEvent("announceEnableShader", localPlayer, source) end end end) addEventHandler( 'onClientElementDataChange', root, function(name) if (getElementType(source) == 'player' or getElementType(source) == 'ped') and isElementStreamedIn(source) and name == 'blood' then if getElementData(source, 'blood') then triggerServerEvent("announceEnableShader", localPlayer, source) end end end) --SERVER addEvent("announceEnableShader", true) addEventHandler("announceEnableShader", root, function (some_data) -- triggerClientEvent(root, "broadcastEnableShader", source, some_data) end ) Ita not Synchronization((
- 3 replies
-
- synchronization
- player
-
(and 1 more)
Tagged with: