-
Posts
1,390 -
Joined
-
Last visited
-
Days Won
1
Everything posted by Et-win
-
Still. Use photobucket or so.
-
Well, you are not setting anything into the grid list I suppose? Also your picture doesn't work.
-
Clan War System -Version 1.1.1- Released! Changelog since version 1.1.0 Don't forget to report bugs, glitches, typo's, idea's, suggestions or more! Have fun!
-
Well anyway, I did a trigger to server-side and back to client-side to check or the resource exists. Thanks all for the thinking (and helping).
-
Server-side you can, so I don't see the reason for not being able to do it client-side.
-
I found out that the resource needs to be running when using 'getResourceFromName'. So I have an editbox and can fill in any name and want to check if it exists. How can I do this when I can't use 'getResourceFromName' when the resource is not running?
-
outputChatBox(tostring(getResourceFromName("race"))) This always returns 'false' in client-side, I'm wondering why? (Server-side works only) EDIT: If I use outputChatBox(tostring(getResourceFromName("admin"))) it works fine. Why doesn't this work with "race"?
-
'me' is not defined
-
well, that's a huge flaw. how do you think people will be able to quickly learn how many players left alive in one team or another? press tab and manually count them? okay, spectators and those who are dead by that moment can do it, even though it's tedious, but what if a player that is still alive and driving wants to know how many players are left alive? does he also have to open the tab and count manually? let's be serious. since you're making the best cw script, it has got to have the best features from the other clanwar resources. both clanwar and clanwar2 scripts show how many people are alive in each team: https://community.multitheftauto.com/in ... ls&id=2018 https://community.multitheftauto.com/in ... ls&id=3577 Didn't see it as very necessary, but yes I will add, although I have no idea where to put it, especially in Deluxe. If you didn't have any bug for the switching to a new map at the map-end in CWS, then I already succeed with this! ;D it will cause even more wars, because cw manager might sometime forget to change the cw state or do it not as fast as opponents want it and it will just end in a mutual sh1t throwing and fights. so yea, it's a rather useless and harmful feature. Actually true. Yush. I got told mulitply times that it was looking ugly, coloring the names. Now that I have thought about it, I will add a black line around the text so it will look better. (Just like the status messages + A setting) Same for the score-colors. I got/had a lot of ideas which were not necessary, but I would see it more to add in a V2 PS: I love your extremely long feedbacks =w=
-
I really don't understand what you want to do. Any debugscript 3 errors btw?
-
I felt like the update was big enough to release without adding it indeed. I thought about creating a button to pick a place somewhere in your screen with your cursor, or a GUI like the radar in this script: https://community.multitheftauto.com/in ... ls&id=3003 Nop, nor ever did Big Black. *Blames translator* Nah, never saw it. I'm just sitting here, thinking "Why didn't I indeed place that stuff into Management Panel?". Ow well, I guess because it had to be small and easily usable. And yes, of course they will only apply for the client (You). That's why it's in the tab "Client". Client = the player (You), Server = the Server. if it is what i think it is then it's unnecessary. the thing is, many teams heavily rotate their players on clanwars(especially DM ones) and making it obligatory to change the cw state each time someone want to join or quit a team will make the job of a cw manager too tedious and monotonous. (Picture) I did that once to prevent move-'wars' meanwhile playing. When the status is 'paused' or 'stopped' you are able to join teams or move players into teams. Can be removed. The position of the end of the label (A label where everything is created on. This had to be used because when creating everything onto the scrollpane it won't let me set positions of buttons, etc.) is excactly (Probably) 1 pixel bigger than the scrollpane, which causes to give it a position-'bar' in the scrollbar. Free-camera? Mmm, Idk. Don't think so. Models/Skins? I wish I could, I wish. (I can't model/skin (yet)) Adding mods? Possible... =w=
-
Also here: http://www.lua.org/pil/20.2.html
-
Any errors? Which one doesn't work?
-
This was the solution: local team = xmlNodeGetAttribute(node) To: local team = xmlNodeGetAttribute(node, "name")
-
https://wiki.multitheftauto.com/wiki/Xm ... tAttribute
-
Clan War System -Version 1.1.0- Released! OP Edited! Changelog since version 1.0.1 Don't forget to report bugs, glitches, typo's, idea's, suggestions or more! Have fun!
-
Not bad, nice. Only the images need a HD quality and then it's awesome!
-
Thanks Next version will be better though.
-
I set the position of the text like that so it will be partially not visible, just like your code. So yes, it does. Test it
-
Ripped it out of my other script, I did draw other stuff between the first reset so that will explain why. Anyway, this would give the same effect as your script.
-
This is how I do it: sWidth, sHeight = guiGetScreenSize() --Get the screen sizes X and Y X, Y = 150, 16 --Create a variable presenting the X and Y sizes cTarget = dxCreateRenderTarget(X, Y, true) --Create a render target (box) where the text should be drawn in function testFunction() if (cTarget ~= false) and (cTarget ~= nil) then dxSetRenderTarget(cTarget, true) --Set the render target to cTarget so we are going to draw in that box dxSetBlendMode("modulate_add") --Set the blend mode to "modulate_add" dxDrawText("This is a test message", 0, -20, X, Y, tocolor(0, 255, 0, 255), 1, "sans", "center", "center", true, false, false) --Create a text in the render target. Lets cut the text in half by setting the position to -20 dxSetBlendMode("blend") --Set the blend mode to "blend" dxSetRenderTarget() --Stop drawing in the render target dxSetBlendMode("add") --Set the blend mode to "add" dxDrawImage((sWidth/2)-(X/2), ((sHeight/2)-(Y/2))+20, X, Y, cTarget, 0, 0, 0, tocolor(255, 255, 255, 255), true) --Now lets draw an image of our made render target. Lets put the text in the middle of the screen (Add +20 because we removed -20 by the text's position to cut it in half) dxSetBlendMode("blend") --Set the blend mode to "blend" end end addEventHandler("onClientRender", root, testFunction) EDIT: You were just earlier than me JR10
-
1. Community is down. 2. If nothing was done with it, it was probably not good enough to report.
-
Use dxDrawImage instead of dxDrawImageSection
