-
Posts
467 -
Joined
-
Last visited
-
Days Won
2
Everything posted by Gravestone
-
As pa3ck said, use 'for' statement for sending each row to the client side. And this, 'client' is a clientsided pre defined variable and I don't anywhere client being defined in your function.
-
I know but drawing GUI with dx causes lots of custom made functions and since there are GUI functions already, it'd be great if we can replace the gui theme.
-
For drawing stuff on player join/quit/logout or anything, use the events in combination with dxDrawText and dxDrawImage.
-
getElementData(localPlayer, "dataName")
-
I was wondering if developers add an option to replace gui theme for clients (client sided). Most of the server developers don't like or want their own custom themes to their servers so it'd be good if there's an option through which we can replace the gui theme for client. Maybe guiReplaceTheme or something. It'd be great if I get a reply from the developers!
-
What's the error?
-
Please use the code button to enter your LUA codes. For viewing enabling the command only for VIPs you can use check if his account is in VIP acl group (server sided) if it is, then trigger the event and set the gui visible for him.
-
That's because It's gate, not gate1.
-
There is already an example for local chat given on onPlayerChat.
-
What is the table name which stores the timers?
-
addEventHandler("onPlayerJoin", root, function() local name = getPlayerName(source) local team = getTeamFromName("EnterStaffTeamName") if team then if string.find(name, "RPL|") then setPlayerTeam(source, team) end end end )
-
UPDATES: - Changed input mode for the gui - Fixed a major bug with the challenge timer ended very fast (Now the timer ends after 45 seconds) - Updated the clan war drawing when there was a war being held Screenshot:
-
Try changing the input mode in admin resource to "no_binds_when_editing".
-
Did you reload the acl?
-
That is an MTA Client command. You can try this: addEventHandler("onPlayerCommand", root, function(cmd) if cmd == "me" then cancelEvent(true) outputChatBox() -- enter the format of the text you want it to be like end end )
-
Is the timer supposed to be for everyone or does it trigger for every player?
-
Thanks. UPDATES: - Changed colors and output format for the messages which were sent on challenge sent/challenge accepted/war ended - Fixed a bug where the location didn't show for the challenged team members - Fixed a bug where the location data wasn't removed when the war had ended Link updated.
-
As mentioned by Ransom, your scripts are your responsibilities. Try 'cache' attribute in meta.xml to help protect your client files, however these files still be stolen by someone with high knowledge about networking. 80% of the servers do save their files by this method. There are other methods to, try searching in the forums.
-
Oh, my bad. Sorry @MasterMind200.
-
Maybe add this? for i, player in ipairs(getElementsByType("player") do if getElementData(player, "NukePlayer") then -- code here end end
-
Find the script in which the action of muting the player is coded. There, add an output to the chatbox once muted and remove the above code ^ from messages.xml.
-
Any how, you can not edit compiled client files.