Jump to content

Overkillz

Members
  • Posts

    545
  • Joined

  • Last visited

  • Days Won

    2

Everything posted by Overkillz

  1. This doesnt output any error, only the button isnt make effect. All other rights work fine, Also, with other group like admin or SMOD its working fine, but i need this 3rd group. Regards.
  2. Hey everyone, I make a new acl, all its working fine, but when I want set a map from Admin Panel it doesn't work I hope you can help me fastly Thanks and Regards.
  3. Overkillz

    Help ACL

    I cant start Race game mode, I created 2 new Groups (Premium and trial) and ACL (Trial) in ACL.XML and I cant: "Everyone"> "Default"> "user.*"> "resource.*"> "Moderator"> "Moderator"> "resource.mapcycler"> "resource.mapmanager"> "resource.resourcemanager"> "resource.votemanager"> "user.test"> "SuperModerator"> "SuperModerator"> "user.test"> "Trial"> "Trial"> "user.test"> "Admin"> "Moderator"> "SuperModerator"> "Admin"> "RPC"> "user.test"> "resource.admin"> "resource.webadmin"> "resource.-loginPanel"> "resource.Top-Times"> "resource.Dark_Panel"> "resource.test_toptimes"> "resource.Flooding"> "resource.race_toptimes"> "resource.race"> "resource.Deathlist2"> "resource.login-panel"> "resource.userpanel"> "user.test"> "Console"> "Moderator"> "SuperModerator"> "Admin"> "RPC"> "user.Console"> "RPC"> "RPC"> "MapEditor"> "Default"> "MapEditor"> "resource.editor_main"> "resource.edf"> "raceACLGroup"> "Default"> "raceACL"> "resource.race"> "DevGroup"> "DevACL"> "autoGroup_acpanel"> "autoACL_acpanel"> "resource.acpanel"> "autoGroup_guieditor"> "autoACL_guieditor"> "resource.guieditor"> "~|"> "resource.*"> "user.test"> "Premium"> "user.test"> "Default"> "general.ModifyOtherObjects" access="false"> "general.http" access="false"> "command.start" access="false"> "command.stop" access="false"> "command.stopall" access="false"> "command.gamemode" access="false"> "command.changemode" access="false"> "command.changemap" access="false"> "command.stopmode" access="false"> "command.stopmap" access="false"> "command.skipmap" access="false"> "command.restart" access="false"> "command.refresh" access="false"> "command.refreshall" access="false"> "command.addaccount" access="false"> "command.delaccount" access="false"> "command.debugscript" access="false"> "command.chgpass" access="false"> "command.loadmodule" access="false"> "command.upgrade" access="false"> "command.mute" access="false"> "command.crun" access="false"> "command.srun" access="false"> "command.run" access="false"> "command.unmute" access="false"> "command.kick" access="false"> "command.ban" access="false"> "command.banip" access="false"> "command.unbanip" access="false"> "command.reloadbans" access="false"> "command.shutdown" access="false"> "command.install" access="false"> "command.aexec" access="false"> "command.whois" access="false"> "command.whowas" access="false"> "function.executeCommandHandler" access="false"> "function.setPlayerMuted" access="false"> "function.addAccount" access="false"> "function.addBan" access="false"> "function.removeBan" access="false"> "function.removeAccount" access="false"> "function.setAccountPassword" access="false"> "function.kickPlayer" access="false"> "function.banIP" access="false"> "function.banPlayer" access="false"> "function.banSerial" access="false"> "function.getBansXML" access="false"> "function.unbanIP" access="false"> "function.unbanSerial" access="false"> "function.reloadBans" access="false"> "function.getClientIP" access="false"> "function.setServerPassword" access="false"> "function.getServerPassword" access="false"> "function.callRemote" access="false"> "function.startResource" access="false"> "function.stopResource" access="false"> "function.restartResource" access="false"> "function.createResource" access="false"> "function.copyResource" access="false"> "function.addResourceMap" access="false"> "function.addResourceConfig" access="false"> "function.removeResourceFile" access="false"> "function.setResourceDefaultSetting" access="false"> "function.removeResourceDefaultSetting" access="false"> "function.redirectPlayer" access="false"> "function.aclReload" access="false"> "function.aclSave" access="false"> "function.aclCreate" access="false"> "function.aclDestroy" access="false"> "function.aclSetRight" access="false"> "function.aclRemoveRight" access="false"> "function.aclCreateGroup" access="false"> "function.aclDestroyGroup" access="false"> "function.aclGroupAddACL" access="false"> "function.aclGroupRemoveACL" access="false"> "function.aclGroupAddObject" access="false"> "function.aclGroupRemoveObject" access="false"> "function.refreshResources" access="false"> "function.setServerConfigSetting" access="false"> "function.updateResourceACLRequest" access="false"> "command.aclrequest" access="false"> "general.adminpanel" access="false"> "general.tab_players" access="false"> "general.tab_resources" access="false"> "general.tab_maps" access="false"> "general.tab_server" access="false"> "general.tab_bans" access="false"> "general.tab_adminchat" access="false"> "command.freeze" access="false"> "command.setnick" access="false"> "command.shout" access="false"> "command.spectate" access="false"> "command.slap" access="false"> "command.setgroup" access="false"> "command.sethealth" access="false"> "command.setarmour" access="false"> "command.setmoney" access="false"> "command.setskin" access="false"> "command.setteam" access="false"> "command.giveweapon" access="false"> "command.setstat" access="false"> "command.jetpack" access="false"> "command.warp" access="false"> "command.setdimension" access="false"> "command.setinterior" access="false"> "command.givevehicle" access="false"> "command.repair" access="false"> "command.blow" access="false"> "command.destroy" access="false"> "command.customize" access="false"> "command.setcolor" access="false"> "command.setpaintjob" access="false"> "command.listmessages" access="false"> "command.readmessage" access="false"> "command.listresources" access="false"> "command.execute" access="false"> "command.delete" access="false"> "command.setpassword" access="false"> "command.setwelcome" access="false"> "command.setgame" access="false"> "command.setmap" access="false"> "command.setweather" access="false"> "command.blendweather" access="false"> "command.setblurlevel" access="false"> "command.setwaveheight" access="false"> "command.setskygradient" access="false"> "command.setgamespeed" access="false"> "command.setgravity" access="false"> "command.settime" access="false"> "function.shutdown" access="false"> "command.setfpslimit" access="false"> "command.unban" access="false"> "command.banserial" access="false"> "command.unbanserial" access="false"> "command.listbans" access="false"> "command.setidlekicker" access="false"> "command.getscreen" access="false"> "general.tab_acl" access="false"> "command.setheathazelevel" access="false"> "command.setfpskicker" access="false"> "command.setpingkicker" access="false"> "command.setglitch" access="false"> "command.setworldproperty" access="false"> "command.fetchRemote" access="false"> "Moderator"> "general.ModifyOtherObjects" access="false"> "command.gamemode" access="false"> "command.changemode" access="false"> "command.changemap" access="false"> "command.stopmode" access="false"> "command.stopmap" access="false"> "command.skipmap" access="false"> "command.mute" access="true"> "command.unmute" access="true"> "command.whois" access="false"> "command.whowas" access="false"> "function.setPlayerMuted" access="true"> "function.kickPlayer" access="true"> "function.banIP" access="false"> "function.banPlayer" access="false"> "function.banSerial" access="false"> "function.getBansXML" access="false"> "function.unbanIP" access="false"> "function.unbanSerial" access="false"> "function.getClientIP" access="false"> "function.startResource" access="false"> "function.stopResource" access="false"> "function.restartResource" access="false"> "function.redirectPlayer" access="false"> "command.addaccount" access="false"> "command.delaccount" access="true"> "command.chgpass" access="true"> "function.addAccount" access="false"> "function.removeAccount" access="false"> "function.setAccountPassword" access="true"> "general.adminpanel" access="true"> "general.tab_players" access="true"> "general.tab_resources" access="false"> "general.tab_maps" access="true"> "general.tab_server" access="false"> "general.tab_bans" access="false"> "general.tab_adminchat" access="false"> "general.tab_options" access="true"> "command.kick" access="false"> "command.freeze" access="false"> "command.setnick" access="true"> "command.shout" access="false"> "command.spectate" access="false"> "command.slap" access="false"> "command.setgroup" access="false"> "command.sethealth" access="false"> "command.setarmour" access="false"> "command.setmoney" access="false"> "command.setskin" access="false"> "command.setteam" access="false"> "command.giveweapon" access="false"> "command.setstat" access="false"> "command.jetpack" access="false"> "command.warp" access="false"> "command.setdimension" access="false"> "command.setinterior" access="false"> "command.createteam" access="false"> "command.destroyteam" access="false"> "command.givevehicle" access="false"> "command.repair" access="false"> "command.blowvehicle" access="true"> "command.destroyvehicle" access="false"> "command.customize" access="false"> "command.setcolor" access="false"> "command.setpaintjob" access="false"> "command.listmessages" access="false"> "command.readmessage" access="false"> "command.listresources" access="false"> "command.start" access="false"> "command.stop" access="false"> "command.stopall" access="false"> "command.restart" access="false"> "command.execute" access="false"> "command.setpassword" access="false"> "command.setwelcome" access="false"> "command.setgame" access="false"> "command.setmap" access="false"> "command.setweather" access="false"> "command.blendweather" access="false"> "command.setblurlevel" access="false"> "command.setwaveheight" access="false"> "command.setskygradient" access="false"> "command.setgamespeed" access="false"> "command.setgravity" access="false"> "command.settime" access="false"> "command.ban" access="false"> "command.unban" access="false"> "command.banip" access="false"> "command.unbanip" access="false"> "command.banserial" access="false"> "command.unbanserial" access="false"> "command.listbans" access="false"> "command.getscreen" access="false"> "command.setfpslimit" access="false"> "command.setpingkicker" access="false"> "command.setheathazelevel" access="false"> "command.setfpskicker" access="false"> "command.setidlekicker" access="false"> "command.setglitch" access="false"> "general.tab_acl" access="false"> "command.setworldproperty" access="false"> "SuperModerator"> "general.ModifyOtherObjects" access="false"> "command.start" access="false"> "command.stop" access="false"> "command.restart" access="false"> "command.kick" access="true"> "command.ban" access="true"> "command.banip" access="true"> "command.unbanip" access="true"> "command.reloadbans" access="true"> "command.refresh" access="false"> "command.refreshall" access="false"> "command.loadmodule" access="false"> "command.addaccount" access="false"> "command.delaccount" access="true"> "command.chgpass" access="true"> "function.addAccount" access="true"> "function.removeAccount" access="false"> "function.setAccountPassword" access="true"> "general.adminpanel" access="true"> "general.tab_players" access="true"> "general.tab_resources" access="false"> "general.tab_maps" access="true"> "general.tab_server" access="false"> "general.tab_bans" access="false"> "general.tab_adminchat" access="true"> "command.freeze" access="false"> "command.mute" access="true"> "command.setnick" access="true"> "command.shout" access="false"> "command.spectate" access="false"> "command.slap" access="false"> "command.setgroup" access="false"> "command.sethealth" access="false"> "command.setarmour" access="false"> "command.setmoney" access="false"> "command.setskin" access="false"> "command.setteam" access="false"> "command.giveweapon" access="false"> "command.setstat" access="false"> "command.jetpack" access="false"> "command.warp" access="false"> "command.setdimension" access="false"> "command.setinterior" access="false"> "command.createteam" access="false"> "command.destroyteam" access="false"> "command.givevehicle" access="false"> "command.repair" access="false"> "command.blowvehicle" access="true"> "command.destroyvehicle" access="false"> "command.customize" access="false"> "command.setcolor" access="false"> "command.setpaintjob" access="false"> "command.listmessages" access="false"> "command.readmessage" access="false"> "command.listresources" access="false"> "command.stopall" access="false"> "command.execute" access="false"> "command.setpassword" access="false"> "command.setwelcome" access="false"> "command.setgame" access="false"> "command.setmap" access="true"> "command.setweather" access="false"> "command.blendweather" access="false"> "command.setblurlevel" access="false"> "command.setwaveheight" access="false"> "command.setskygradient" access="false"> "command.setgamespeed" access="false"> "command.setgravity" access="false"> "command.settime" access="false"> "command.unban" access="false"> "command.banserial" access="false"> "command.unbanserial" access="false"> "command.listbans" access="false"> "command.getscreen" access="true"> "command.setfpslimit" access="false"> "command.setpingkicker" access="false"> "command.setheathazelevel" access="true"> "command.setfpskicker" access="false"> "command.setidlekicker" access="false"> "command.setglitch" access="false"> "general.tab_acl" access="false"> "command.setworldproperty" access="false"> "general.tab_options" access="true"> "Trial"> "general.ModifyOtherObjects" access="false"> "command.start" access="false"> "command.stop" access="false"> "command.restart" access="false"> "command.kick" access="true"> "command.ban" access="false"> "command.banip" access="false"> "command.unbanip" access="false"> "command.reloadbans" access="false"> "command.refresh" access="false"> "command.refreshall" access="false"> "command.loadmodule" access="false"> "command.addaccount" access="false"> "command.delaccount" access="false"> "command.chgpass" access="true"> "function.addAccount" access="false"> "function.removeAccount" access="false"> "function.setAccountPassword" access="true"> "general.adminpanel" access="true"> "general.tab_players" access="true"> "general.tab_resources" access="false"> "general.tab_maps" access="false"> "general.tab_server" access="false"> "general.tab_bans" access="false"> "general.tab_adminchat" access="false"> "command.freeze" access="false"> "command.mute" access="true"> "command.setnick" access="true"> "command.shout" access="false"> "command.spectate" access="false"> "command.slap" access="false"> "command.setgroup" access="false"> "command.sethealth" access="false"> "command.setarmour" access="false"> "command.setmoney" access="false"> "command.setskin" access="false"> "command.setteam" access="false"> "command.giveweapon" access="false"> "command.setstat" access="false"> "command.jetpack" access="false"> "command.warp" access="false"> "command.setdimension" access="false"> "command.setinterior" access="false"> "command.createteam" access="false"> "command.destroyteam" access="false"> "command.givevehicle" access="false"> "command.repair" access="false"> "command.blowvehicle" access="true"> "command.destroyvehicle" access="false"> "command.customize" access="false"> "command.setcolor" access="false"> "command.setpaintjob" access="false"> "command.listmessages" access="false"> "command.readmessage" access="false"> "command.listresources" access="false"> "command.stopall" access="false"> "command.execute" access="false"> "command.setpassword" access="false"> "command.setwelcome" access="false"> "command.setgame" access="false"> "command.setmap" access="false"> "command.setweather" access="false"> "command.blendweather" access="false"> "command.setblurlevel" access="false"> "command.setwaveheight" access="false"> "command.setskygradient" access="false"> "command.setgamespeed" access="false"> "command.setgravity" access="false"> "command.settime" access="false"> "command.unban" access="false"> "command.banserial" access="false"> "command.unbanserial" access="false"> "command.listbans" access="false"> "command.getscreen" access="false"> "command.setfpslimit" access="false"> "command.setpingkicker" access="false"> "command.setheathazelevel" access="false"> "command.setfpskicker" access="false"> "command.setidlekicker" access="false"> "command.setglitch" access="false"> "general.tab_acl" access="false"> "command.setworldproperty" access="false"> "general.tab_options" access="true"> "Admin"> "general.ModifyOtherObjects" access="true"> "general.http" access="true"> "command.shutdown" access="true"> "command.install" access="true"> "command.aexec" access="true"> "command.debugscript" access="true"> "command.upgrade" access="true"> "command.crun" access="true"> "command.srun" access="true"> "command.run" access="true"> "function.addBan" access="true"> "function.removeBan" access="true"> "function.reloadBans" access="true"> "function.executeCommandHandler" access="true"> "function.setServerPassword" access="true"> "function.getServerPassword" access="true"> "function.createResource" access="true"> "function.copyResource" access="true"> "function.addResourceMap" access="true"> "function.addResourceConfig" access="true"> "function.removeResourceFile" access="true"> "function.setResourceDefaultSetting" access="true"> "function.removeResourceDefaultSetting" access="true"> "function.aclReload" access="true"> "function.aclSave" access="true"> "function.aclCreate" access="true"> "function.aclDestroy" access="true"> "function.aclSetRight" access="true"> "function.aclRemoveRight" access="true"> "function.aclCreateGroup" access="true"> "function.aclDestroyGroup" access="true"> "function.aclGroupAddACL" access="true"> "function.aclGroupRemoveACL" access="true"> "function.aclGroupAddObject" access="true"> "function.aclGroupRemoveObject" access="true"> "function.refreshResources" access="true"> "function.setServerConfigSetting" access="true"> "function.updateResourceACLRequest" access="true"> "command.aclrequest" access="true"> "general.adminpanel" access="true"> "general.tab_players" access="true"> "general.tab_resources" access="true"> "general.tab_server" access="true"> "general.tab_maps" access="true"> "general.tab_bans" access="true"> "general.tab_adminchat" access="true"> "command.kick" access="true"> "command.freeze" access="true"> "command.mute" access="true"> "command.setnick" access="true"> "command.shout" access="true"> "command.spectate" access="true"> "command.slap" access="true"> "command.setgroup" access="true"> "command.sethealth" access="true"> "command.setarmour" access="true"> "command.setmoney" access="true"> "command.setskin" access="true"> "command.setteam" access="true"> "command.giveweapon" access="true"> "command.setstat" access="true"> "command.jetpack" access="true"> "command.warp" access="true"> "command.setdimension" access="true"> "command.setinterior" access="true"> "command.createteam" access="true"> "command.destroyteam" access="true"> "command.givevehicle" access="true"> "command.repair" access="true"> "command.blowvehicle" access="true"> "command.destroyvehicle" access="true"> "command.customize" access="true"> "command.setcolor" access="true"> "command.setpaintjob" access="true"> "command.listmessages" access="true"> "command.readmessage" access="true"> "command.listresources" access="true"> "command.start" access="true"> "command.stop" access="true"> "command.stopall" access="false"> "command.delete" access="true"> "command.restart" access="true"> "command.execute" access="true"> "command.setpassword" access="true"> "command.setwelcome" access="true"> "command.setgame" access="true"> "command.setmap" access="true"> "command.setweather" access="true"> "command.blendweather" access="true"> "command.setblurlevel" access="true"> "command.setwaveheight" access="true"> "command.setskygradient" access="true"> "command.setgamespeed" access="true"> "command.setgravity" access="true"> "command.settime" access="true"> "command.setfpslimit" access="true"> "function.shutdown" access="true"> "command.ban" access="true"> "command.unban" access="true"> "command.banip" access="true"> "command.unbanip" access="true"> "command.banserial" access="true"> "command.unbanserial" access="true"> "command.listbans" access="true"> "command.getscreen" access="true"> "command.setpingkicker" access="true"> "command.setheathazelevel" access="true"> "command.setfpskicker" access="true"> "command.setidlekicker" access="true"> "command.setglitch" access="true"> "general.tab_acl" access="true"> "command.setworldproperty" access="true"> "command.refresh" access="true"> "RPC"> "function.callRemote" access="true"> "general.adminpanel" access="false"> "general.tab_players" access="false"> "general.tab_resources" access="false"> "general.tab_maps" access="false"> "general.tab_server" access="false"> "general.tab_bans" access="false"> "general.tab_adminchat" access="false"> "command.kick" access="false"> "command.freeze" access="false"> "command.mute" access="false"> "command.setnick" access="false"> "command.shout" access="false"> "command.spectate" access="false"> "command.slap" access="false"> "command.setgroup" access="false"> "command.sethealth" access="false"> "command.setarmour" access="false"> "command.setmoney" access="false"> "command.setskin" access="false"> "command.setteam" access="false"> "command.giveweapon" access="false"> "command.setstat" access="false"> "command.jetpack" access="false"> "command.warp" access="false"> "command.setdimension" access="false"> "command.setinterior" access="false"> "command.givevehicle" access="false"> "command.repair" access="false"> "command.blow" access="false"> "command.destroy" access="false"> "command.customize" access="false"> "command.setcolor" access="false"> "command.setpaintjob" access="false"> "command.listmessages" access="false"> "command.readmessage" access="false"> "command.listresources" access="false"> "command.start" access="false"> "command.stop" access="false"> "command.stopall" access="false"> "command.restart" access="false"> "command.execute" access="false"> "command.delete" access="false"> "command.setpassword" access="false"> "command.setwelcome" access="false"> "command.setgame" access="false"> "command.setmap" access="false"> "command.setweather" access="false"> "command.blendweather" access="false"> "command.setblurlevel" access="false"> "command.setwaveheight" access="false"> "command.setskygradient" access="false"> "command.setgamespeed" access="false"> "command.setgravity" access="false"> "command.settime" access="false"> "function.shutdown" access="false"> "command.setfpslimit" access="false"> "command.ban" access="false"> "command.unban" access="false"> "command.banip" access="false"> "command.unbanip" access="false"> "command.banserial" access="false"> "command.unbanserial" access="false"> "command.listbans" access="false"> "command.setidlekicker" access="false"> "command.getscreen" access="false"> "general.tab_acl" access="false"> "command.setheathazelevel" access="false"> "command.setfpskicker" access="false"> "command.setpingkicker" access="false"> "command.setglitch" access="false"> "command.setworldproperty" access="false"> "command.fetchRemote" access="false"> "MapEditor"> "general.ModifyOtherObjects" access="true"> "function.startResource" access="true"> "function.stopResource" access="true"> "function.restartResource" access="true"> "function.createResource" access="true"> "function.copyResource" access="true"> "function.renameResource" access="true"> "function.deleteResource" access="true"> "function.addResourceMap" access="true"> "function.addResourceConfig" access="true"> "function.removeResourceFile" access="true"> "function.setResourceDefaultSetting" access="true"> "function.removeResourceDefaultSetting" access="true"> "function.xmlLoadFile" access="true"> "general.adminpanel" access="false"> "general.tab_players" access="false"> "general.tab_resources" access="false"> "general.tab_maps" access="false"> "general.tab_server" access="false"> "general.tab_bans" access="false"> "general.tab_adminchat" access="false"> "command.kick" access="false"> "command.freeze" access="false"> "command.mute" access="false"> "command.setnick" access="false"> "command.shout" access="false"> "command.spectate" access="false"> "command.slap" access="false"> "command.setgroup" access="false"> "command.sethealth" access="false"> "command.setarmour" access="false"> "command.setmoney" access="false"> "command.setskin" access="false"> "command.setteam" access="false"> "command.giveweapon" access="false"> "command.setstat" access="false"> "command.jetpack" access="false"> "command.warp" access="false"> "command.setdimension" access="false"> "command.setinterior" access="false"> "command.givevehicle" access="false"> "command.repair" access="false"> "command.blow" access="false"> "command.destroy" access="false"> "command.customize" access="false"> "command.setcolor" access="false"> "command.setpaintjob" access="false"> "command.listmessages" access="false"> "command.readmessage" access="false"> "command.listresources" access="false"> "command.start" access="false"> "command.stop" access="false"> "command.stopall" access="false"> "command.restart" access="false"> "command.execute" access="false"> "command.delete" access="false"> "command.setpassword" access="false"> "command.setwelcome" access="false"> "command.setgame" access="false"> "command.setmap" access="false"> "command.setweather" access="false"> "command.blendweather" access="false"> "command.setblurlevel" access="false"> "command.setwaveheight" access="false"> "command.setskygradient" access="false"> "command.setgamespeed" access="false"> "command.setgravity" access="false"> "command.settime" access="false"> "function.shutdown" access="false"> "command.setfpslimit" access="false"> "command.ban" access="false"> "command.unban" access="false"> "command.banip" access="false"> "command.unbanip" access="false"> "command.banserial" access="false"> "command.unbanserial" access="false"> "command.listbans" access="false"> "command.setidlekicker" access="false"> "command.getscreen" access="false"> "general.tab_acl" access="false"> "command.setheathazelevel" access="false"> "command.setfpskicker" access="false"> "command.setpingkicker" access="false"> "command.setglitch" access="false"> "command.setworldproperty" access="false"> "command.fetchRemote" access="false"> "raceACL"> "general.ModifyOtherObjects" access="true"> "function.xmlLoadFile" access="true"> "function.startResource" access="true"> "function.stopResource" access="true"> "function.restartResource" access="true"> "general.adminpanel" access="false"> "general.tab_players" access="false"> "general.tab_resources" access="false"> "general.tab_maps" access="false"> "general.tab_server" access="false"> "general.tab_bans" access="false"> "general.tab_adminchat" access="false"> "command.kick" access="false"> "command.freeze" access="false"> "command.mute" access="false"> "command.setnick" access="false"> "command.shout" access="false"> "command.spectate" access="false"> "command.slap" access="false"> "command.setgroup" access="false"> "command.sethealth" access="false"> "command.setarmour" access="false"> "command.setmoney" access="false"> "command.setskin" access="false"> "command.setteam" access="false"> "command.giveweapon" access="false"> "command.setstat" access="false"> "command.jetpack" access="false"> "command.warp" access="false"> "command.setdimension" access="false"> "command.setinterior" access="false"> "command.givevehicle" access="false"> "command.repair" access="false"> "command.blow" access="false"> "command.destroy" access="false"> "command.customize" access="false"> "command.setcolor" access="false"> "command.setpaintjob" access="false"> "command.listmessages" access="false"> "command.readmessage" access="false"> "command.listresources" access="false"> "command.start" access="false"> "command.stop" access="false"> "command.stopall" access="false"> "command.restart" access="false"> "command.execute" access="false"> "command.delete" access="false"> "command.setpassword" access="false"> "command.setwelcome" access="false"> "command.setgame" access="false"> "command.setmap" access="false"> "command.setweather" access="false"> "command.blendweather" access="false"> "command.setblurlevel" access="false"> "command.setwaveheight" access="false"> "command.setskygradient" access="false"> "command.setgamespeed" access="false"> "command.setgravity" access="false"> "command.settime" access="false"> "function.shutdown" access="false"> "command.setfpslimit" access="false"> "command.ban" access="false"> "command.unban" access="false"> "command.banip" access="false"> "command.unbanip" access="false"> "command.banserial" access="false"> "command.unbanserial" access="false"> "command.listbans" access="false"> "command.setidlekicker" access="false"> "command.getscreen" access="false"> "general.tab_acl" access="false"> "command.setheathazelevel" access="false"> "command.setfpskicker" access="false"> "command.setpingkicker" access="false"> "command.setglitch" access="false"> "command.setworldproperty" access="false"> "command.fetchRemote" access="false"> "DevACL"> "resource.performancebrowser.http" access="true"> "resource.ajax.http" access="true"> "general.adminpanel" access="false"> "general.tab_players" access="false"> "general.tab_resources" access="false"> "general.tab_maps" access="false"> "general.tab_server" access="false"> "general.tab_bans" access="false"> "general.tab_adminchat" access="false"> "command.kick" access="false"> "command.freeze" access="false"> "command.mute" access="false"> "command.setnick" access="false"> "command.shout" access="false"> "command.spectate" access="false"> "command.slap" access="false"> "command.setgroup" access="false"> "command.sethealth" access="false"> "command.setarmour" access="false"> "command.setmoney" access="false"> "command.setskin" access="false"> "command.setteam" access="false"> "command.giveweapon" access="false"> "command.setstat" access="false"> "command.jetpack" access="false"> "command.warp" access="false"> "command.setdimension" access="false"> "command.setinterior" access="false"> "command.givevehicle" access="false"> "command.repair" access="false"> "command.blow" access="false"> "command.destroy" access="false"> "command.customize" access="false"> "command.setcolor" access="false"> "command.setpaintjob" access="false"> "command.listmessages" access="false"> "command.readmessage" access="false"> "command.listresources" access="false"> "command.start" access="false"> "command.stop" access="false"> "command.stopall" access="false"> "command.restart" access="false"> "command.execute" access="false"> "command.delete" access="false"> "command.setpassword" access="false"> "command.setwelcome" access="false"> "command.setgame" access="false"> "command.setmap" access="false"> "command.setweather" access="false"> "command.blendweather" access="false"> "command.setblurlevel" access="false"> "command.setwaveheight" access="false"> "command.setskygradient" access="false"> "command.setgamespeed" access="false"> "command.setgravity" access="false"> "command.settime" access="false"> "function.shutdown" access="false"> "command.setfpslimit" access="false"> "command.ban" access="false"> "command.unban" access="false"> "command.banip" access="false"> "command.unbanip" access="false"> "command.banserial" access="false"> "command.unbanserial" access="false"> "command.listbans" access="false"> "command.setidlekicker" access="false"> "command.getscreen" access="false"> "general.tab_acl" access="false"> "command.setheathazelevel" access="false"> "command.setfpskicker" access="false"> "command.setpingkicker" access="false"> "command.setglitch" access="false"> "command.setworldproperty" access="false"> "command.fetchRemote" access="false"> "autoACL_acpanel"> "function.setServerConfigSetting" access="false" who="" pending="true" date=""> "function.kickPlayer" access="false" who="" pending="true" date=""> "function.fetchRemote" access="false" who="" pending="true" date=""> "autoACL_guieditor"> "general.ModifyOtherObjects" access="false" who="" pending="true" date=""> "function.callRemote" access="false" who="" pending="true" date=""> I put user.test because I wont put the real name's but i know can't be on every where. I hope you can help me.
  4. I want to say, only show the team color on the mini map. (No on the name ...etc, only on the mini map)
  5. Overkillz

    Team Color

    Hey Everyone, I will like to do a team color car, but the problem of this, this is showing on the nickname the color team (Only if u aren't using a color html). My question is, I can o a script where only change the color to my car ? (I want to say to the team) Script: function createAdminTeamOnStart () team = createTeam ( "TEST TEAM", 38, 125, 124 ) end addEventHandler("onResourceStart", resourceRoot, createAdminTeamOnStart) function setAdminTeam() if isObjectInACLGroup("user."..getAccountName(getPlayerAccount(source)), aclGetGroup("TT")) then setPlayerTeam(source, team) end end addEventHandler("onPlayerLogin",getRootElement(),setAdminTeam) function getOutFromTeam() if source then setPlayerTeam(source, nil) end end addEventHandler("onPlayerLogout",getRootElement(),getOutFromTeam) I wait your answer. Thanks and regards.
  6. Thanks so much, this workfine ^^
  7. Try with this: addEventHandler("onPlayerCommand", root, function(cmd) if cmd == "login" then cancelEvent() end end)
  8. Im sure it is not working, I still getting the same color of text, not "FFFFFF"
  9. Doesn't work ;( http://puu.sh/7Ltkt.png
  10. What i need to create a Team Color Chat I hope you can help me Regards.
  11. Thanks you guys, and with the PM System ? function privateMessage(player, command, toplayername, ...) local words = { ... } local message = table.concat(words," ") if toplayername then if (findPlayerByName (toplayername)) then toplayer = (findPlayerByName (toplayername)) if not (toplayer == player) then if message then outputChatBox("#FF0000[PM]#00aaff Message to #FFFFFF" .. getPlayerName(toplayer) .. "#FFFFFF: " .. message, player, 255, 255, 255, true) outputChatBox("#FF0000[PM]#00aaff Message from #FFFFFF" .. getPlayerName(player) .. "#FFFFFF: " .. message, toplayer, 255, 255, 255, true) else outputChatBox("#FF0000[PM]#00aaff Invalid syntax! Usage:#FFFFFF /pm [partical player name] [message]", player, 255, 255, 255, true) return false end else outputChatBox("#FF0000[PM]#00aaff You cannot PM yourself#FFFFFF!", player, 255, 255, 255, true) return false end else outputChatBox("#FF0000[PM]#00aaff Player not found! #FFFFFF("..toplayername..").", player, 255, 255, 255, true) return false end else outputChatBox("#FF0000[PM]#00aaff Invalid syntax! Usage:#FFFFFF /pm [partical player name] [message]", player, 255, 255, 255, true) return false end end addCommandHandler("pm", privateMessage)
  12. "Overkillz" version="1.0" type="script"/> Doesn't work ;(
  13. Hi, I made a easy script with commands and outputchatbox but, I will like to block it if the player is muted, so If the player is muted, he cant use it. What is wrong here ? function hi (player) outputChatBox("#FFFFFF<"..getPlayerName(player).."#ffffff>:Hey #00ffffGuys !",root,255,255,255,true) if isPlayerMuted(source) then cancelEvent() outputChatBox("You are muted.",source, 255, 255, 0,true) return end addCommandHandler ( "hi", hi ) Regards.
  14. U.u then I think, I cant do it, Im noob on script yet. Thanks for ur answer. Regards.
  15. Im noob on this, but i think u shoul use dxDrawRectangle: https://wiki.multitheftauto.com/wiki/DxDrawRectangle dxDrawText: https://wiki.multitheftauto.com/wiki/DxDrawText addCommandHandler: https://wiki.multitheftauto.com/wiki/AddCommandHandler Optional: If u wont use dxDrawRectangle and dxDrawText u can use: dxDrawImage: https://wiki.multitheftauto.com/wiki/DxDrawImage Im not sure of this, because im starting with this, but im sure in a 70 %
  16. I want a own nickname script for example: ./ nickcnamexd #ff0000O#000000v#4e4e4ee#00ff00r#00ffffk#ff00ffi#0000ffl#212121l#666666z This should show: Overkillz Then I need the functions and events to create this. Also, i want to see it on the scoreboard and chatbox ^^
  17. Hey every one, I will like to know which functions and evens should I use to create this script, I know I must make a own script. I wait ur answer. Regards.
  18. I have on dx_lib.lua this: function dxLibEditGetText(editElement) if isElement(editElement) or not getElementData(editElement,"dxEditCreated") then return tostring(getElementData(editElement,"dxEditTextCache")) else outputDebugString("dxLib: Bad element!") end end function dxLibEditSetText(editElement,stringToSet) if isElement(editElement) then setElementData(editElement,"dxEditTextCache",stringToSet,false) else outputDebugString("dxLib: Bad element!") end end function dxLibGridlistGetSelectedRowText(gridlistElement) if isElement(gridlistElement) or not getElementData(gridlistElement,"dxGridlistCreate") then if getElementData(gridlistElement,"dxGridlistSelected") and getElementData(gridlistElement,"dxGridlistSelected") ~= 0 then local data = getElementData(gridlistElement,"dxGridlistDatatable") local row = tonumber(getElementData(gridlistElement,"dxGridlistSelected")) local gridlistData = data[row] return gridlistData else return false end else outputDebugString("dxLib: Bad element!") end end function dxLibGridlistGetSelectedRowNumber(gridlistElement) if isElement(gridlistElement) or not getElementData(gridlistElement,"dxGridlistCreate") then if getElementData(gridlistElement,"dxGridlistSelected") then local row = tonumber(getElementData(gridlistElement,"dxGridlistSelected")) if row then return row else return false end else return false end else outputDebugString("dxLib: Bad element!") end end function findFontSize(dxFont,toSize) local fontSize = 0 local relativeSize = 0 local perLoop = 0.01 repeat fontSize = fontSize+perLoop relativeSize = dxGetFontHeight(fontSize,dxFont) until relativeSize>=toSize fontSize = fontSize - perLoop return fontSize end This and more, but I don't need to put all the script ... - Debuscript 3: http://puu.sh/7FAtU.png Regards
  19. Anyone can't help me ? ;(
  20. Yes, the account exist Yes, the resource has been added to the ACL Isnt my script, but i have rights to use it.
  21. Without the outputchatbox: - http://puu.sh/7DzBW.png With outputchatbox: - http://puu.sh/7DzCF.png
  22. function loadRenderData() showChat(true) callServerFunction("checkPlayerLogin",localPlayer) ================================== function tryToLogin() local login = dxLibEditGetText(loginData.login.edits[1]) local password = dxLibEditGetText(loginData.login.edits[2]) if login ~= "" then if string.len(password)>=4 then callServerFunction("loginPlayer",localPlayer,login,password) else displayNotification("Login","ERROR: Minimal length of password is 4 ========================================= function loadRenderData() showChat(true) callServerFunction("checkPlayerLogin",localPlayer) ======================================== It is on Client, i put it. Regards.
  23. Hey everyone, I tried to fix the problem with login, but I couldn't I put my ID and Password correctly but doesnt work, always is showing me "Wrong login or/and password" I hope you can help me: -Client: sX,sY = guiGetScreenSize() scale = (sX/1920) local loginData = { checkbox = false, login = { pos = {sX*0.35,sY*0.35}, size = {sX*0.35,sY*0.3}, edits = {createElement("dxEdit"),createElement("dxEdit")}, buttons = {createElement("dxButton"),createElement("dxButton"),createElement("dxButton")}, alpha = 1, }, register = { pos = {-sX*0.35,sY*0.35}, size = {sX*0.35,sY*0.3}, edits = {createElement("dxEdit"),createElement("dxEdit"),createElement("dxEdit")}, buttons = {createElement("dxButton"),createElement("dxButton"),createElement("dxButton")}, alpha = 1, }, currentTab = 1, tick = getTickCount(), } function loadRenderData() showChat(true) callServerFunction("checkPlayerLogin",localPlayer) dxLibCreateEdit(loginData.login.edits[1],loginData.login.pos[1]+sX*0.025,loginData.login.pos[2]+sY*0.1,sX*0.3,sY*0.04,"Your login","person",20,20,20,loginData.login.alpha*255,true) dxLibCreateEdit(loginData.login.edits[2],loginData.login.pos[1]+sX*0.025,loginData.login.pos[2]+sY*0.15,sX*0.3,sY*0.04,"Your password","password",20,20,20,loginData.login.alpha*255,true,true) end addEventHandler("onClientResourceStart",getResourceRootElement(getThisResource()),loadRenderData) function unloadRenderData() removeEventHandler("onClientRender",getRootElement(),renderLoginPanelInterface) setElementData(localPlayer,"loginEnabled",false) end addEventHandler("onClientResourceStop",getResourceRootElement(getThisResource()),unloadRenderData) function displayLoginPanel() showCursor(true) showChat(false) loginData.currentTab = 1 addEventHandler("onClientRender",getRootElement(),renderLoginPanelInterface) readLoginXML() end function hideLoginInterface() loginData.tick = getTickCount() loginData.currentTab = false showCursor(false) showChat(true) end function renderLoginPanelInterface() setElementData(localPlayer,"loginEnabled",true) if loginData.currentTab == 1 then local tick = getTickCount() - loginData.tick local progress = tick/1000 if progress>=1 then progress = 1 end loginData.login.pos[1] = interpolateBetween(loginData.login.pos[1],0,0,sX*0.35,0,0,progress,"Linear") loginData.register.pos[1] = interpolateBetween(loginData.register.pos[1],0,0,-sX*0.35,0,0,progress,"Linear") loginData.login.alpha = 1 elseif loginData.currentTab == 2 then local tick = getTickCount() - loginData.tick local progress = tick/1000 if progress>=1 then progress = 1 end loginData.login.pos[1] = interpolateBetween(loginData.login.pos[1],0,0,sX,0,0,progress,"Linear") loginData.register.pos[1] = interpolateBetween(loginData.register.pos[1],0,0,sX*0.35,0,0,progress,"Linear") loginData.login.alpha = 1 else local tick = getTickCount() - loginData.tick local progress = tick/1000 if progress>=1 then progress = 1 unloadRenderData() end loginData.login.alpha = interpolateBetween(1,0,0,0,0,0,progress,"Linear") end dxDrawRectangle(loginData.login.pos[1],loginData.login.pos[2],loginData.login.size[1],loginData.login.size[2],tocolor(30,30,30,100*loginData.login.alpha),true) dxDrawRectangle(loginData.login.pos[1],loginData.login.pos[2],loginData.login.size[1],sY*0.08,tocolor(126,126,126,100*loginData.login.alpha),true) setElementData(resourceRoot,'checkboxSelected',false,false) if loginData.checkbox then if isCursorHover(loginData.login.pos[1]+sX*0.2,loginData.login.pos[2]+sY*0.2,sX*0.14,33*scale) then setElementData(resourceRoot,'checkboxSelected',true,false) dxDrawImageSection(loginData.login.pos[1]+sX*0.2,loginData.login.pos[2]+sY*0.2,50*scale,33*scale,100,0,100,66,"data/img/dxInterface/checkbox.png",0,0,0,tocolor(255,255,255,150*loginData.login.alpha),true) else dxDrawImageSection(loginData.login.pos[1]+sX*0.2,loginData.login.pos[2]+sY*0.2,50*scale,33*scale,100,0,100,66,"data/img/dxInterface/checkbox.png",0,0,0,tocolor(255,255,255,255*loginData.login.alpha),true) end else if isCursorHover(loginData.login.pos[1]+sX*0.2,loginData.login.pos[2]+sY*0.2,sX*0.14,33*scale) then setElementData(resourceRoot,'checkboxSelected',true,false) dxDrawImageSection(loginData.login.pos[1]+sX*0.2,loginData.login.pos[2]+sY*0.2,50*scale,33*scale,0,0,100,66,"data/img/dxInterface/checkbox.png",0,0,0,tocolor(255,255,255,150*loginData.login.alpha),true) else dxDrawImageSection(loginData.login.pos[1]+sX*0.2,loginData.login.pos[2]+sY*0.2,50*scale,33*scale,0,0,100,66,"data/img/dxInterface/checkbox.png",0,0,0,tocolor(255,255,255,255*loginData.login.alpha),true) end end dxDrawText("Remember password?",loginData.login.pos[1]+sX*0.225,loginData.login.pos[2]+sY*0.2,loginData.login.pos[1]+sX*0.33,loginData.login.pos[2]+sY*0.2+33*scale,tocolor(220,220,220,255*loginData.login.alpha),s(0.1),menu.font,"left","center",true,false,true) dxLibCreateEdit(loginData.login.edits[1],loginData.login.pos[1]+sX*0.025,loginData.login.pos[2]+sY*0.1,sX*0.3,sY*0.04,"Your login","person",20,20,20,loginData.login.alpha*255,true) dxLibCreateEdit(loginData.login.edits[2],loginData.login.pos[1]+sX*0.025,loginData.login.pos[2]+sY*0.15,sX*0.3,sY*0.04,"Your password","password",20,20,20,loginData.login.alpha*255,true,true) dxDrawImage(loginData.login.pos[1],loginData.login.pos[2]+sY*0.08,loginData.login.size[1],sY*0.01,"data/img/shadow_r.png",0,0,0,tocolor(255,255,255,255*loginData.login.alpha),true) dxDrawImage(loginData.login.pos[1],loginData.login.pos[2],loginData.login.size[1]/1.5,sY*0.08,"data/img/logo.png",0,0,0,tocolor(255,255,255,255*loginData.login.alpha),true) dxDrawText("Login",loginData.login.pos[1],loginData.login.pos[2],loginData.login.pos[1]+loginData.login.size[1]-sX*0.01,loginData.login.pos[2]+sY*0.08,tocolor(220,220,220,255*loginData.login.alpha),s(0.2),menu.font,"right","center",true,false,true) dxLibCreateButton(loginData.login.buttons[1],loginData.login.pos[1]+sX*0.025,loginData.login.pos[2]+sY*0.2,sX*0.1,sY*0.03,"Join as guest!",sY/700,menu.color[1],menu.color[2],menu.color[3],220,220,220,255*loginData.login.alpha,true,false) dxLibCreateButton(loginData.login.buttons[2],loginData.login.pos[1]+sX*0.025,loginData.login.pos[2]+sY*0.24,sX*0.145,sY*0.04,"Register new account!",sY/700,menu.color[1],menu.color[2],menu.color[3],220,220,220,255*loginData.login.alpha,true,false) dxLibCreateButton(loginData.login.buttons[3],loginData.login.pos[1]+sX*0.18,loginData.login.pos[2]+sY*0.24,sX*0.145,sY*0.04,"Login now!",sY/700,menu.color[1],menu.color[2],menu.color[3],220,220,220,255*loginData.login.alpha,true,false) --- Register dxDrawRectangle(loginData.register.pos[1],loginData.register.pos[2],loginData.register.size[1],loginData.register.size[2],tocolor(30,30,30,100*loginData.login.alpha),true) dxDrawRectangle(loginData.register.pos[1],loginData.register.pos[2],loginData.register.size[1],sY*0.08,tocolor(126,126,126,100*loginData.login.alpha),true) dxLibCreateEdit(loginData.register.edits[1],loginData.register.pos[1]+sX*0.025,loginData.register.pos[2]+sY*0.1,sX*0.3,sY*0.04,"Your login","person",20,20,20,loginData.register.alpha*255,true) dxLibCreateEdit(loginData.register.edits[2],loginData.register.pos[1]+sX*0.025,loginData.register.pos[2]+sY*0.15,sX*0.3,sY*0.04,"Your password","password",20,20,20,loginData.register.alpha*255,true,true) dxLibCreateEdit(loginData.register.edits[3],loginData.register.pos[1]+sX*0.025,loginData.register.pos[2]+sY*0.2,sX*0.3,sY*0.04,"Repeat your password","password",20,20,20,loginData.register.alpha*255,true,true) dxDrawImage(loginData.register.pos[1],loginData.register.pos[2]+sY*0.08,loginData.register.size[1],sY*0.01,"data/img/shadow_r.png",0,0,0,tocolor(255,255,255,255*loginData.register.alpha),true) dxDrawImage(loginData.register.pos[1],loginData.register.pos[2],loginData.register.size[1]/1.5,sY*0.08,"data/img/logo.png",0,0,0,tocolor(255,255,255,255*loginData.register.alpha),true) dxDrawText("Register",loginData.register.pos[1],loginData.register.pos[2],loginData.register.pos[1]+loginData.register.size[1]-sX*0.01,loginData.register.pos[2]+sY*0.08,tocolor(220,220,220,255*loginData.register.alpha),s(0.2),menu.font,"right","center",true,false,true) dxLibCreateButton(loginData.register.buttons[1],loginData.register.pos[1]+sX*0.025,loginData.register.pos[2]+sY*0.25,sX*0.145,sY*0.04,"Back to login",sY/700,menu.color[1],menu.color[2],menu.color[3],220,220,220,255*loginData.register.alpha,true,false) dxLibCreateButton(loginData.register.buttons[2],loginData.register.pos[1]+sX*0.18,loginData.register.pos[2]+sY*0.25,sX*0.145,sY*0.04,"Try to register",sY/700,menu.color[1],menu.color[2],menu.color[3],220,220,220,255*loginData.register.alpha,true,false) end function onDxButtonLoginClick(dxButton) if dxButton == loginData.login.buttons[1] then hideLoginInterface() elseif dxButton == loginData.login.buttons[2] then loginData.currentTab = 2 loginData.tick = getTickCount() elseif dxButton == loginData.login.buttons[3] then tryToLogin() elseif dxButton == loginData.register.buttons[1] then loginData.currentTab = 1 loginData.tick = getTickCount() elseif dxButton == loginData.register.buttons[2] then tryToRegister() end end addEventHandler("onDxLibButtonClick",getRootElement(),onDxButtonLoginClick) function onClientClickInLoginWindow(button,state) if button == "left" and state == "down" then if getElementData(resourceRoot,'checkboxSelected') then loginData.checkbox = not loginData.checkbox end end end addEventHandler("onClientClick",getRootElement(),onClientClickInLoginWindow) function tryToLogin() local login = dxLibEditGetText(loginData.login.edits[1]) local password = dxLibEditGetText(loginData.login.edits[2]) if login ~= "" then if string.len(password)>=4 then callServerFunction("loginPlayer",localPlayer,login,password) else displayNotification("Login","ERROR: Minimal length of password is 4 chars!",30,30,30) end else displayNotification("Login","ERROR: Bad login!",30,30,30) end end function tryToRegister() local login = dxLibEditGetText(loginData.register.edits[1]) local password = dxLibEditGetText(loginData.register.edits[2]) local confirm = dxLibEditGetText(loginData.register.edits[3]) if login and password and confirm then if string.len(password)>=4 and string.len(confirm)>=4 then callServerFunction("registerPlayer",localPlayer,login,password,confirm) else displayNotification("Register","ERROR: Minimal length of password is 4 chars!",30,30,30) end else displayNotification("Register","ERROR: Full all fields!",30,30,30) end end function successfullyLogin() displayNotification("Login","You successfully logged in!",30,30,30) saveLoginXML() hideLoginInterface() end function successfullyRegister() displayNotification("Register","You successfully registered new account!",30,30,30) loginData.currentTab = 1 loginData.tick = getTickCount() end function readLoginXML() local xmlFile = xmlLoadFile('data/login.xml','login') if not xmlFile then xmlFile = xmlCreateFile('data/login.xml','login') xmlNodeSetAttribute(xmlFile,'login',"") xmlNodeSetAttribute(xmlFile,'password',"") xmlNodeSetAttribute(xmlFile,'remember','false') xmlSaveFile(xmlFile) end if xmlNodeGetAttribute(xmlFile,'remember') == "true" then dxLibEditSetText(loginData.login.edits[1],xmlNodeGetAttribute(xmlFile,'login')) dxLibEditSetText(loginData.login.edits[2],xmlNodeGetAttribute(xmlFile,'password')) loginData.checkbox = true end xmlUnloadFile(xmlFile) end function saveLoginXML() local xmlFile = xmlLoadFile('data/login.xml','login') if not xmlFile then xmlFile = xmlCreateFile('data/login.xml','login') xmlNodeSetAttribute(xmlFile,'login',"") xmlNodeSetAttribute(xmlFile,'password',"") xmlNodeSetAttribute(xmlFile,'remember','false') xmlSaveFile(xmlFile) end if loginData.checkbox then xmlNodeSetAttribute(xmlFile,'login',dxLibEditGetText(loginData.login.edits[1])) xmlNodeSetAttribute(xmlFile,'password',dxLibEditGetText(loginData.login.edits[2])) xmlNodeSetAttribute(xmlFile,'remember','true') xmlSaveFile(xmlFile) else xmlNodeSetAttribute(xmlFile,'login',dxLibEditGetText(loginData.login.edits[1])) xmlNodeSetAttribute(xmlFile,'password',dxLibEditGetText(loginData.login.edits[2])) xmlNodeSetAttribute(xmlFile,'remember','false') xmlSaveFile(xmlFile) end xmlUnloadFile(xmlFile) end - Server: function checkPlayerLogin(thePlayer) if not isPlayerLogged(thePlayer) then callClientFunction(thePlayer,"displayLoginPanel") end end function loginPlayer(thePlayer,username,password) local account = getAccount ( username, password ) if ( account ~= false ) then logIn (thePlayer, account, password) callClientFunction(thePlayer,"successfullyLogin") else displayNotification(thePlayer,"Login","Wrong login or/and password",100,30,0) end end function registerPlayer(thePlayer,username,password,passwordConfirm) if not (username == "") then if not (password == "") then if not (passwordConfirm == "") then if password == passwordConfirm then local account = getAccount (username,password) if (account == false) then local accountAdded = addAccount(tostring(username),tostring(password)) if (accountAdded) then callClientFunction(thePlayer,"successfullyRegister") logIn(thePlayer, accountAdded, password) else displayNotification(thePlayer,"Register","Please choose a different username/password and try again",100,30,0) end else displayNotification(thePlayer,"Register","This name is already in use",100,30,0) end else displayNotification(thePlayer,"Register","Password with confirmed passowrd is not this same!",100,30,0) end end end end end Regards.
×
×
  • Create New...