
myonlake
Members-
Posts
2,312 -
Joined
-
Days Won
41
Everything posted by myonlake
-
Hmm, I thought so. Damn. Well, I don't think admins need to see all bans. If they just search for a single ban instead... Yeah, thanks Callum anyways
-
Do it the same way as a circle radar but as rectangle? Should work?
-
Hey, I've stumbled to a very interesting problem and I can't recall how it was actually done. So how can I fetch the bans client-side instead of making all kinds of event triggers. I recall there was a single function for it, you enter the location of banlist.xml to the function or so. Any idea how to do this?
-
Well, I can't remember what they used to make it. I think they used shaders to do it. So basically what you'd like to do is learn how to script shaders.
-
Yeah, I am quite sure they are corrupted.
-
https://community.multitheftauto.com/index.php?p=resources&s=list > Search for 'radar' > There you go, a list of good resources that work
-
Show us the script that replaces the textures, if you could, please.
-
If you want to check all that on server-side, then only use these. Server-side isObjectInACLGroup getPlayerAccount getAccountName But if you also want to check it client-side, then use these. Server-side isObjectInACLGroup getPlayerAccount getAccountName getElementData Client-side getElementData
-
You didn't specify the "thePlayer" in onResourceStart. I fixed it by doing it to all players. Also, you had a few unnecessary functions there so I made it more simple for you. Should work I guess. Client-side local counter = 0 local starttick local currenttick addEventHandler("onClientRender", root, function() if not starttick then starttick = getTickCount() end counter = counter + 1 currenttick = getTickCount() if currenttick - starttick >= 1000 then setElementData(localPlayer, "Fps", counter) counter = 0 starttick = false end end ) addEventHandler("onClientResourceStart", resourceRoot, function() for i,v in ipairs(getElementsByType("player")) do setElementData(v, "Level", exports.exp_system:getPlayerLevel(v)) end end ) Server-side addEventHandler("onResourceStart", resourceRoot, function() call(getResourceFromName("scoreboard"),"addScoreboardColumn","Fps") call(getResourceFromName("scoreboard"),"addScoreboardColumn","Level") end )
-
It's not possible as far as I know. I checked the whole list of events and I don't think any of them really work out for the issue you have. The glass gets respawned automatically after some time. You can create an object with 0 as alpha next to it so it would have a barrier?
-
Can you add files from a script into the .img file?
myonlake replied to DanChrisGM's topic in Scripting
Find unused/duplicated objects from the map editor or so. Then just replace the textures. -
Can you add files from a script into the .img file?
myonlake replied to DanChrisGM's topic in Scripting
I still don't quite understand. You want to add more objects/skins/vehicles? Not possible. If you want to replace textures in general, then just use these functions: https://wiki.multitheftauto.com/wiki/Cli ... _functions. -
Can you add files from a script into the .img file?
myonlake replied to DanChrisGM's topic in Scripting
You want files added into gta3.img? I find it rather hard, probably even impossible. -
Does it say it can't find the MySQL module? If so, put the .so file in /server/ as well and libmysql to /deathmatch/. Maybe your MySQL provider doesn't allow any connections, only local. You can use PHP SDK to connect as well.
-
What? You don't need localchat for /setskin... addCommandHandler setElementModel
-
Please PLEASE learn English first or find your language section.
-
Learn to script first or see the other tabs' code or just do a panel yourself.
-
Maybe get the distance between the objects and the player and add a limit for each state you want. First state can be less than 50 and second can be less than 60 and third can be greater than 60.
-
Also.. you have getRootElement() instead of the marker name. Meaning ALL markers are triggering the function 'lol'.
-
Make it take a screenshot and load it every 2 seconds or so.
-
Is it possible to make that using gui functions ? As said before, DirectX functions would be the best.
-
Wait. You're ice_brasil?...
-
Folder: Replaceskins New Folder: Replaceskins/skins Remember to put skins/ to the meta.xml before the file name. Please use your mind.
-
Script = code and viceversa. Check the "code" I posted.