Jump to content

Et-win

Members
  • Posts

    1,390
  • Joined

  • Last visited

About Et-win

  • Birthday 16/04/1996

Details

  • Gang
    [3xC]
  • Location
    The Netherlands

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

Et-win's Achievements

Lil' G

Lil' G (37/54)

4

Reputation

  1. Et-win

    Quality Test

    Hai all, I'm testing out some filming and rendering on my computer and actually wondered what you think of this quality. (This is not my map!) Any tips about getting the quality better are welcome~
  2. Et-win

    Fixed

    Then make a quick example code, just like I always do.
  3. Actually, I didn't find this understandable as well.
  4. Nah. If I would use DX I would create it by myself. But thanks for the suggestion. CWS 2.0.0 should have it though.
  5. Clan War System -Version 1.2.0- Released! So after a year of not scripting anything anymore, I felt like scripting again. So, I edited Clan War System again. Have fun with the update! Changelog since version 1.1.1 For the people who want the score to be points (eg: 1st: 15 points, 2nd: 13 points, etc): To add this feature, the whole "mapHandler" and "scoreChange" (As I called them) handlers have to be rebuild, which is too much work. Maybe, -very- maybe, a version 2.0.0 will be made, and then it's easier to add this feature. About the "mapHandler" (Map Switch System): I couldn't find any bug which causes it to skip maps sometimes. Only when the race/mapmanager resource skip a map, CWS will play the map it will get switched to. Also when a map has respawn, it will fail because when a player respawns, CWS will see it as an alive-player. Be sure your server DOES support the last-player RACE:DM function (Change map when everyone is dead) if you have this enabled in CWS. If you see the bug happening again, check if it happens with the same map constantly. If so (And if not), share the map and it will be checked! (Send as much information as you can, since it's hard to find the bug because it does not always happen) Also I hope I have tested the Map Switch System, Check End Of Map System and Score System enough to be sure there are no bugs in it anymore. (Since I have edited them roughly) So if you see them, report them! Don't forget to report bugs, glitches, typo's, idea's, suggestions or more! Have fun!
  6. http://cegui.org.uk/wiki/The_Beginners_ ... II#Imagery As far as I understand, it works like this: --tl = Top Left, t = Top, tr = Top Right --l = Left, bg = Middle, r = Right --bl = Bottom Left, b = Bottom, br = Bottom Right, --Usage: HEX Colors without #: AARRGGBB (Alphax2, Redx2, Greenx2, Bluex2) --Example: guiSetProperty(image, "ImageColours", "tl:0000FF00 tr:FF00FF00 bl:FF00FF00 br:0000FF00") So, if you want to use your nametag-colors: function RGBToHex(red, green, blue, alpha) if((red < 0 or red > 255 or green < 0 or green > 255 or blue < 0 or blue > 255) or (alpha and (alpha < 0 or alpha > 255))) then return nil end if(alpha) then return string.format("%.2X%.2X%.2X%.2X", red,green,blue,alpha) else return string.format("%.2X%.2X%.2X", red,green,blue) end end local rr, gg, bb,aa = getPlayerNametagColor(g_Me) local hex = RGBToHex(rr,gg,bb) -- (255, 255, 0, 0) red color guiSetProperty(player.gui.mapBlip, "ImageColours", "tl:FF"..tostring(hex).." tr:FF"..tostring(hex).." bl:FF"..tostring(hex).." br:FF"..tostring(hex))
  7. Maybe try asking here https://forum.multitheftauto.com/viewforum.php?f=108
  8. I wouldn't use setTimer, since it wouldn't be exactly the same for every client? Why not triggering a start time to count from to the client, and from there getTickCount?
  9. .......What is the problem?
  10. https://wiki.multitheftauto.com/wiki/Ge ... metagColor It doesn't return alpha, which means you have to do: guiSetProperty( player.gui.mapBlip, "ImageColours", "FF"..hex) Correct me if I'm wrong, it's a long time ago I scripted
  11. I just copied the Idea. Sad enough already.
  12. guiSetProperty( player.gui.mapBlip, "ImageColours", hex)
×
×
  • Create New...