-
Posts
338 -
Joined
-
Last visited
-
Days Won
1
Everything posted by kashtesov
-
Скорее всего нельзя, ибо "border radius" нарисован на картинке скина GUI Ну на край, тут что то можно попробовать поискать: https://wiki.multitheftauto.com/wiki/GuiSetProperty Или делать свой интерфейс на html, где с помощью css можно будет извращаться как душе угодно.
-
I not understand why MTA:SA use Tommy Vercetti, but using Claude, it 100% not good idea, lol. But icons really nice (3,4,6,7,.
-
Maybe if use *Custom Coronas and get all positions 2DFX effects, will be possible create Coronas on effects positions.
-
У createVehicle есть аргументы, может попробовать принудительно их поюзать с этими авто?
-
not will public it now
-
yes, we planned add options
-
We with my friend try make global mod converter, LOL, and it works. It read GTA:SA files, unpack .IMG, unpack. COL packages, convert .IPL to .Lua code and collect 2 resources for MTA:SA: - Map resource. - Object replace resource. What finally: - .IMG unpacker. - .COL unpacker. - Map converter. - Objects converter. What not finally: - Water positions converter. - Night time objects converter. - Animation objects converter. - Handling converter. - Car converter. - Weapons converter. - Skins converter. - Handling converter. - Tymecyc converter. Application in development, when will be released - nobody know. *For test we use not United, not Vice City 2 SA (it very easy). We use Vice City Stories PC, it very good quality mod, and manual port this will be very hard. *Bugs in console - disabled few objects in IDE (breakable props) and nighttime objects. *Collision bug on video - bug modification. *Water bug on video - just my error ;3
-
local chatRadius = 50 local groups = { {"CoOwner", "#ff0000✪#00ff70CO-OWNER#ff0000✪", "#f7fc00", chatRadius}, -- can change group chat raduis --can add here your groups settings } addEventHandler("onPlayerChat", root, function chatbox(text, msgtype) local tab local account = getPlayerAccount(source) and getAccountName(getPlayerAccount(source)) or "*" local name = getPlayerName(source) local color = string.format("#%02X%02X%02X", getPlayerNametagColor(source)) for k,i in ipairs(groups) do if isObjectInACLGroup("user."..account, aclGetGroup(i[1])) then tab = i break end end local x, y, z = getElementPosition(source); local chatSphere = createColSphere(x, y, z, tab[4] or chatRadius) local nearbyPlayers = getElementsWithinColShape(chatSphere, "player") destroyElement(chatSphere) if (msgtype == 0) then cancelEvent() end for index, nearbyPlayer in ipairs(nearbyPlayers) do outputChatBox((tab[2] or "")..color.."".. name .. ":"..(tab[3] or "").." "..text, nearbyPlayer, 255, 255, 255, true) outputServerLog("CHAT: "..(tab[2] or "").." "..name..": "..text) end end )
-
Huh, how much time you need for portable vice city for mta?
-
We get this result with default streamer Map size >60% GTA:SA https://www.youtube.com/watch?v=auHg9fCvWe0 https://www.dropbox.com/s/hvymkwbtlv1xb ... 6.png?dl=0 https://www.dropbox.com/s/vktp2a8q1tfk0 ... 4.png?dl=0
-
Your streamer? How it work, if not secret?
-
Good It manually or auto-convert? https://vk.com/mta_ports , russian project, in development. Auto-converter global mods (analogue scene2res). It convert IPL to readable MTA format with lods, and copy all required resources ;3
-
local positions = { -- {x,y,z[,rot]}, } function randomSpawn(player) local postab = positions[math.random(1,#positions)] local x,y,z,rot = unpack (postab, 1, 3) local rot = postab[4] or 0 spawnPlayer(player,x,y,z,rot) end You right i hope both variants will be useful for topic author
-
if you create pickup on client, ye, you can't it. try create unique ID for pickup and colshape, and send ID to another players
-
You can use createColPolygon to make zones for drift. But you should add checks, player inside any zone or no. You can create zone and add event onColShapeHit/Leave, edit player element data setElementData(player,"inzone",true/false) and use it if getElementData(player,"inzone") then --drift work end or i somewhat not understand and you wanna not this
-
local positions = { -- {x,y,z[,rot]}, } function randomSpawn(player) local postab = positions[math.random(1,#positions)] local x,y,z,rot = postab[1],postab[2],postab[3],postab[4] or 0 spawnPlayer(player,x,y,z,rot) end call random spawn from join, wasted events
-
nobody can help?
-
Need use methods for get slots state, and use dxDrawImage (or dxDrawImageSection) for draw on screen. But how you will get slots state, i dont know.
-
Where you get variable "vehicles"? Check code and find, why "vehicles" not table. (but, maybe need just parse "vehicleList", not "vehicles"?)
-
Maybe it not best solution, but try use toJSON(). try add: if textures[i+1] and models[i+1] then --todo end maybe your tables just incorrect
-
lol, maybe it will works --client function triggerClientEventFromClient(sendto,event,baseelement,...) triggerServerEvent("triggerClientEventFromClient",resourceRoot,baseelement,sendto,event,...) end --server addEvent("triggerClientEventFromClient",true) function triggerClientEventFromClient(baseelement,sendto,event,...) triggerClientEvent(sendto,event,baseelement,...) end addEventHandler("triggerClientEventFromClient",getRootElement(),triggerClientEventFromClient)
-
addEventHandler("onElementDataChange",getRootElement(), function ( ElementData ) if ( ElementData == "Last Drift" ) then local money = getElementData(source,ElementData)/5; givePlayerMoney(source,money); end end )
-
KICK: ClosedElbow63 was kicked by Console [Reason: AC #4 8DA6.fe0121 [Trainer]] KICK: joaouchira21 was kicked by Console [Reason: AC #4 8DA6. [Trainer]] KICK: FlippantPad77 was kicked by Console [Reason: AC #4 8DA6.fe0121 [Trainer]] KICK: [GTO]San4es was kicked by Console [Reason: AC #4 TRAINER] https://wiki.multitheftauto.com/wiki/AntiCheat_Codes "Capital letters in the message are for tagging particular trainers" Hello, how i can know, what means 8DA6.fe0121 and 8DA6. ? https://wiki.multitheftauto.com/wiki/OnPlayerQuit output only reason (AC #4 8DA6.fe0121 [Trainer] .. and anothers). I know, at the moment available hacks from CFF Team and MTA developers try upgrade anticheat for safe fair game. I wanna make auto-ban on server for players who use this hack. I think, server admins should know, what means this Code's.
-
Error with all bone id's on CJ?