-
Posts
1,255 -
Joined
-
Last visited
Everything posted by .:HyPeX:.
-
I started reading, but stopped on this: if isTimer( theTimer ) then You've said this: So, how are you planing to make a timer to get the player time (Lets call it ontime) if you are checking that the timer is 240000?
-
You still dont get it, i want to let a player to manage if someone joins a ACL group or not, without giving him any power else than that. IK i could make him admin, but i do not want him to have any powers.
-
It is info, things can be stored in it. But the acl will be stored there and can be changed manually when the server is off line. well why don't you edit it, it can't be that hard can it? Not if i have to shutdown the server every time i want to add a player to a specific group.
-
Its a lua, thought XML where only for info for the scripts..? The fact is that the script wont work if the same ppl isnt admin and in the group specified by script.
-
Sorry for the long time (i was on vacation), but no. You do not understand me. The script is admin itself, but i'm not. I'm trying to Modify the ACL via script, without being admin, or smod, but i cant. the script outputs i'm not "Special" (Wich is the acl im making for those ppl) when i actually am. So it seems like something blocked it, (The output is the else to the success.)
-
I've been reciently trying to make a script that would use a command in order to add admins, mods, smods, etc (i'm the sole member of that group) But, i've found that i could only actually use the add if i was into the Admin ACL list and on the group i did, Is Anything from MTA blocking the modify of ACL if i dont have the Admin ACL powers?
-
Worked. Thanks alot for the help.
-
Thanks for the help, now i'm getting: unexpected symbol near ".." Line: outputChatBox(string.gsub(getPlayerName(p), "#%x%x%x%x%x%x", ""))" TEXT " ..text.. "TEXT" ,source,0, 229, 255) EDIT: What i find strange is why this is happening when the line before is working properly (Since LUA is readed in order, why error was not found on the before line) textA = math.random(0,80) if (textA >= 70) then outputChatBox(string.gsub(getPlayerName(p), "#%x%x%x%x%x%x", "")"TEXT" ..textA .. "TEXT",source,255, 0, 0) elseif (textA > 60 and textA < 70) then outputChatBox(string.gsub(getPlayerName(p), "#%x%x%x%x%x%x", ""))"TEXT" ..textA.. "TEXT",source,0, 229, 255) and it continues, now the problem is why it fails at the second one.
-
Hi all, it has been a long while since i last came over here, but i'm stuck with the HEX codes. I know i can get the Player name from the funcion getPlayerName ( Player ) But, outputing on the chatbox it will come out with the HEX code, For example: LxG//#0ac300~HyPeX~ .... Now, im probably too lazy to find on the wiki how to remove this, is there possible to remove the HEX Codes? (I'm trying to have the complete line with the same colour.) I want to remove them completly, since if i make them work, it wouldnt have the same colour all the line. For instance, i would end having LxG// In violet (assuming im using the 170 0 255 RGB) and the rest in green (0ac300 is green). The way i thought of removing HEX codes is to make the script ignore 6 characters after a # including the # itself, but i do not know how. As i've readed throught some Lua manuals, i can get the HEX recognized by the lua using the But i want to remove it at all. I've seen on some servers that if you type a HEX in in the chatbox its not show, so i wanted to know how. EDIT: Woops, i think it was wrong section althought i thought i was on scripting, can someone Move it?
-
Okay i noticed something new: this only happens if i start "map editor" option in mta. if i use online server (hosted on my pc) it will work prefectly.
-
[2012-07-17 22:19:27] ERROR: Couldn't find resource "-". Check it exists. Any resource name replacing - its an error becouse you are trying to start it with server startup on mtaserver.lua. and the resource name does not exist other errors are from scripts running there as jay said.
-
Try creating the object in the dimension itself.. go to that dimension and work there. Admin Panel> Set player dimension>351 Good luck
-
Hello guyz, reciently i have started to have a bug, verry rare. Half map or more does not save, when i'm mapping everything goes okay, i can save, open it, etc. I did a 1:20 minutes race map witch was pretty cool. Today i opened the editor and about 30 secs or less are there only, the rest just dissapeared. Any idea?
-
its saved into the .map definitions and markers, thats why for regonizing it, the server needs the resource. Still, he could do a map-scripted version.
-
Only ADMIN can Set maps/restart them/open admin panel. Still when i added accidentaly the rights to Us Powers, i could open it.
-
i created everything via adminPanel, thats why i dont get why isnt working.
-
<acl> <group name="Everyone"> <acl name="Default"></acl> <object name="user.*"></object> <object name="resource.*"></object> </group> <group name="Moderator"> <acl name="Moderator"></acl> <object name="resource.mapcycler"></object> <object name="resource.mapmanager"></object> <object name="resource.resourcemanager"></object> <object name="resource.votemanager"></object> <object name="user.johan17"></object> </group> <group name="SuperModerator"> <object name="user.GheTi"></object> <object name="user.Grifter"></object> <object name="user.-|Us|-Valentino"></object> </group> <group name="Admin"> <acl name="Moderator"></acl> <acl name="SuperModerator"></acl> <acl name="Admin"></acl> <acl name="RPC"></acl> <acl name="Recluters"></acl> <object name="resource.admin"></object> <object name="resource.webadmin"></object> <object name="user.block"></object> <object name="user.-|Us|-Ma#2a0a12chete^"></object> <object name="user.Gantz"></object> <object name="user.hypex"></object> <object name="user.daniel"></object> <object name="resource.Gantz-afkkiller"></object> <object name="resource.login_OPG"></object> <object name="resource.Gantz-nickprotection"></object> <object name="resource.teamscript"></object> </group> <group name="Console"> <acl name="Moderator"></acl> <acl name="SuperModerator"></acl> <acl name="Admin"></acl> <acl name="RPC"></acl> <object name="user.Console"></object> </group> <group name="RPC"> <acl name="RPC"></acl> </group> <group name="MapEditor"> <acl name="Default"></acl> <acl name="MapEditor"></acl> <object name="resource.editor_main"></object> <object name="resource.edf"></object> </group> <group name="raceACLGroup"> <acl name="Default"></acl> <acl name="raceACL"></acl> <object name="resource.race"></object> </group> <group name="us"></group> <group name="do"></group> <group name="Recluters"> <object name="user.hypex"></object> <object name="user.Gantz"></object> <object name="user.Grifter"></object> <object name="user.block"></object> <object name="user.daniel"></object> <object name="user.GheTi"></object> <object name="user.-|Us|-Valentino"></object> </group> <group name="Us"> <acl name="UsPowers"></acl> <object name="user.hypex"></object> <object name="user.Grifter"></object> <object name="user.daniel"></object> <object name="user.block"></object> <object name="user.-|Us|-Valentino"></object> <object name="user.GheTi"></object> <object name="user.johan17"></object> <object name="user.teckto17"></object> <object name="user.Strik"></object> <object name="user.Sniiper"></object> <object name="user.vagipene"></object> <object name="user.world"></object> <object name="user.Gantz"></object> <object name="user.hypex1"></object> </group> <group name="Do"></group> <acl name="Default"> <right name="general.ModifyOtherObjects" access="false"></right> <right name="general.http" access="false"></right> <right name="command.start" access="false"></right> <right name="command.stop" access="false"></right> <right name="command.stopall" access="false"></right> <right name="command.gamemode" access="false"></right> <right name="command.changemode" access="false"></right> <right name="command.changemap" access="false"></right> <right name="command.stopmode" access="false"></right> <right name="command.stopmap" access="false"></right> <right name="command.skipmap" access="false"></right> <right name="command.restart" access="false"></right> <right name="command.refresh" access="false"></right> <right name="command.refreshall" access="false"></right> <right name="command.addaccount" access="false"></right> <right name="command.delaccount" access="false"></right> <right name="command.debugscript" access="false"></right> <right name="command.chgpass" access="false"></right> <right name="command.loadmodule" access="false"></right> <right name="command.upgrade" access="false"></right> <right name="command.mute" access="false"></right> <right name="command.crun" access="false"></right> <right name="command.srun" access="false"></right> <right name="command.run" access="false"></right> <right name="command.unmute" access="false"></right> <right name="command.kick" access="false"></right> <right name="command.ban" access="false"></right> <right name="command.banip" access="false"></right> <right name="command.unbanip" access="false"></right> <right name="command.shutdown" access="false"></right> <right name="command.install" access="false"></right> <right name="command.aexec" access="false"></right> <right name="command.whois" access="false"></right> <right name="command.whowas" access="false"></right> <right name="function.executeCommandHandler" access="false"></right> <right name="function.setPlayerMuted" access="false"></right> <right name="function.addAccount" access="false"></right> <right name="function.addBan" access="false"></right> <right name="function.removeBan" access="false"></right> <right name="function.removeAccount" access="false"></right> <right name="function.setAccountPassword" access="false"></right> <right name="function.kickPlayer" access="false"></right> <right name="function.banIP" access="false"></right> <right name="function.banPlayer" access="false"></right> <right name="function.banSerial" access="false"></right> <right name="function.getBansXML" access="false"></right> <right name="function.unbanIP" access="false"></right> <right name="function.unbanSerial" access="false"></right> <right name="function.getClientIP" access="false"></right> <right name="function.setServerPassword" access="false"></right> <right name="function.getServerPassword" access="false"></right> <right name="function.callRemote" access="false"></right> <right name="function.startResource" access="false"></right> <right name="function.stopResource" access="false"></right> <right name="function.restartResource" access="false"></right> <right name="function.createResource" access="false"></right> <right name="function.copyResource" access="false"></right> <right name="function.addResourceMap" access="false"></right> <right name="function.addResourceConfig" access="false"></right> <right name="function.removeResourceFile" access="false"></right> <right name="function.setResourceDefaultSetting" access="false"></right> <right name="function.removeResourceDefaultSetting" access="false"></right> <right name="function.redirectPlayer" access="false"></right> <right name="function.aclReload" access="false"></right> <right name="function.aclSave" access="false"></right> <right name="function.aclCreate" access="false"></right> <right name="function.aclDestroy" access="false"></right> <right name="function.aclSetRight" access="false"></right> <right name="function.aclRemoveRight" access="false"></right> <right name="function.aclCreateGroup" access="false"></right> <right name="function.aclDestroyGroup" access="false"></right> <right name="function.aclGroupAddACL" access="false"></right> <right name="function.aclGroupRemoveACL" access="false"></right> <right name="function.aclGroupAddObject" access="false"></right> <right name="function.aclGroupRemoveObject" access="false"></right> <right name="general.adminpanel" access="false"></right> <right name="general.tab_players" access="false"></right> <right name="general.tab_resources" access="false"></right> <right name="general.tab_maps" access="false"></right> <right name="general.tab_server" access="false"></right> <right name="general.tab_bans" access="false"></right> <right name="general.tab_adminchat" access="false"></right> <right name="command.freeze" access="false"></right> <right name="command.setnick" access="false"></right> <right name="command.shout" access="false"></right> <right name="command.spectate" access="false"></right> <right name="command.slap" access="false"></right> <right name="command.setgroup" access="false"></right> <right name="command.sethealth" access="false"></right> <right name="command.setarmour" access="false"></right> <right name="command.setmoney" access="false"></right> <right name="command.setskin" access="false"></right> <right name="command.setteam" access="false"></right> <right name="command.giveweapon" access="false"></right> <right name="command.setstat" access="false"></right> <right name="command.jetpack" access="false"></right> <right name="command.warp" access="false"></right> <right name="command.setdimension" access="false"></right> <right name="command.setinterior" access="false"></right> <right name="command.givevehicle" access="false"></right> <right name="command.repair" access="false"></right> <right name="command.blow" access="false"></right> <right name="command.destroy" access="false"></right> <right name="command.customize" access="false"></right> <right name="command.setcolor" access="false"></right> <right name="command.setpaintjob" access="false"></right> <right name="command.listmessages" access="false"></right> <right name="command.readmessage" access="false"></right> <right name="command.listresources" access="false"></right> <right name="command.execute" access="false"></right> <right name="command.setpassword" access="false"></right> <right name="command.setwelcome" access="false"></right> <right name="command.setgame" access="false"></right> <right name="command.setmap" access="false"></right> <right name="command.setweather" access="false"></right> <right name="command.blendweather" access="false"></right> <right name="command.setblurlevel" access="false"></right> <right name="command.setwaveheight" access="false"></right> <right name="command.setskygradient" access="false"></right> <right name="command.setgamespeed" access="false"></right> <right name="command.setgravity" access="false"></right> <right name="command.settime" access="false"></right> <right name="command.unban" access="false"></right> <right name="command.banserial" access="false"></right> <right name="command.unbanserial" access="false"></right> <right name="command.listbans" access="false"></right> </acl> <acl name="Moderator"> <right name="general.ModifyOtherObjects" access="false"></right> <right name="command.gamemode" access="true"></right> <right name="command.changemode" access="true"></right> <right name="command.changemap" access="true"></right> <right name="command.stopmode" access="true"></right> <right name="command.stopmap" access="true"></right> <right name="command.skipmap" access="true"></right> <right name="command.mute" access="true"></right> <right name="command.unmute" access="true"></right> <right name="command.whois" access="true"></right> <right name="command.whowas" access="true"></right> <right name="function.setPlayerMuted" access="true"></right> <right name="function.kickPlayer" access="true"></right> <right name="function.banIP" access="true"></right> <right name="function.banPlayer" access="true"></right> <right name="function.banSerial" access="true"></right> <right name="function.getBansXML" access="true"></right> <right name="function.unbanIP" access="true"></right> <right name="function.unbanSerial" access="true"></right> <right name="function.getClientIP" access="true"></right> <right name="function.startResource" access="true"></right> <right name="function.stopResource" access="true"></right> <right name="function.restartResource" access="true"></right> <right name="function.redirectPlayer" access="true"></right> <right name="general.adminpanel" access="true"></right> <right name="general.tab_players" access="true"></right> <right name="general.tab_resources" access="false"></right> <right name="general.tab_maps" access="false"></right> <right name="general.tab_server" access="true"></right> <right name="general.tab_bans" access="false"></right> <right name="general.tab_adminchat" access="true"></right> <right name="command.kick" access="false"></right> <right name="command.freeze" access="true"></right> <right name="command.setnick" access="true"></right> <right name="command.shout" access="true"></right> <right name="command.spectate" access="true"></right>
-
Also, i have right for using command "redo" but when using it, it says "you are not admin". PD: i need to reload ACL?
-
Hey, i just created a group of special people (friends) and i wanted to add the option of nextmap, i cant find whats the command/ACL right i need to add. If someone can send me or post here what are all the right, thanks in advance. PD: i added command.setmap but nothing happens.
-
Usually not starting maps by hand its becouse race isnt working well, try re-downloading the Official race from here: https://community.multitheftauto.com/ind ... ails&id=35 Since race its what startes/plays the maps its a problem from race i guess.
-
got kinda exited and added an extra check: OnPlayerHitKey "f3" Check = showSupport if showSupport ( true ) then check = guisetinputMode if guiSetinputMode ( false ) and showSupport ( true ) then showSupport ( false ) showCursor ( false ) guiSetInputMode ( false ) guiSetVisible ( false ) end end PD: im "new" at gui scripting so idk if this works.
-
function showSupport () if guiGetVisible ( supportWindow ) == true then guiSetVisible( supportWindow, false ) showCursor( false ) guiSetInputMode( false ) else guiSetVisible( supportWindow, true ) showCursor( true ) guiSetInputMode( true ) end end bindKey("f3", "down", showSupport ) if ( supportWindow ) == true and showCursor ( ture ) then guiSetVisible (supportWindow, false) showCursor ( false ) guiSetInputMode ( false ) guiSetVisible ( false ) end This might work.. im not sure
-
no problem, i thought there wouldnt any problem since as sniper said its really old and its poorly scripted.
-
Credits are there... i never intended to copy as mine, i only wanted to make it work.