Jump to content

Azten

Members
  • Posts

    30
  • Joined

  • Last visited

Everything posted by Azten

  1. i need a good mapper for my servers
  2. EPIC MAN ANY CHANCE OF DOWNLOAD ? ???
  3. Epic man Awesome any chance of download ???
  4. nice any chance of download ??
  5. I own 2 servers can i get those maps
  6. i cant find the way to add an acl group to that
  7. Lol this aint from the wiki its from a mode i downloaded from the community
  8. but i need help in some thing thx norby for helping me with acl but now i need some thing for the acl its the (/admins) command i need it to say ex : Online admins : level 10 ex:[MXS]SmOkIn level 9 ex [MXS]Tomba120 and etc so can u help me il provide u with the code : -- (/admins) local admins = "" function processAdminList() players = getElementsByType ( "player" ) admins = "" for k,v in ipairs(players) do local accountname = "" if (isGuestAccount(getPlayerAccount(v)) == false) then accountname = getAccountName (getPlayerAccount(v)) if isObjectInACLGroup ( "user." .. accountname, aclGetGroup ( "Admin" ) ) then if (admins == "") then admins = getPlayerName(v) else admins = admins .. ", " .. getPlayerName(v) end end end end end addEventHandler( "onPlayerLogin", getRootElement(), processAdminList ) addEventHandler( "onPlayerLogout", getRootElement(), processAdminList ) addEventHandler( "onPlayerQuit", getRootElement(), processAdminList ) function setAdminList(Player,command) if admins ~= "" then outputChatBox("Online Admins: "..admins , Player, 255 , 255, 0) else outputChatBox("No admins online." , Player, 255 , 255, 0) end end addCommandHandler("admins", setAdminList) --- !admins or !onlineadmins or !Admins function tAdmins(message,messageType) if message == "!admins" or message == "!Admins" or message =="!onlineadmins" then local playeraccount = getPlayerAccount(source) if admins ~= "" then outputChatBox("Online Admins: "..admins , getRootElement(), 255 , 255, 0) else outputChatBox("No admins online." , getRootElement(), 255 , 255, 0) end end end addEventHandler("onPlayerChat",getRootElement(),tAdmins) plz help
  9. am not a good scripter but i don't recommend editing that
  10. but it says error opening acl or what ever thats stands for
  11. Continue <acl name="Admin"> <right name="general.ModifyOtherObjects" access="true" /> <right name="general.http" access="true" /> <right name="command.shutdown" access="true" /> <right name="command.install" access="true" /> <right name="command.aexec" access="true" /> <right name="command.debugscript" access="true" /> <right name="command.upgrade" access="true" /> <right name="command.crun" access="true" /> <right name="command.srun" access="true" /> <right name="command.run" access="true" /> <right name="function.addBan" access="true" /> <right name="function.removeBan" access="true" /> <right name="function.executeCommandHandler" access="true" /> <right name="function.setServerPassword" access="true" /> <right name="function.getServerPassword" access="true" /> <right name="function.createResource" access="true" /> <right name="function.copyResource" access="true" /> <right name="function.addResourceMap" access="true" /> <right name="function.addResourceConfig" access="true" /> <right name="function.removeResourceFile" access="true" /> <right name="function.setResourceDefaultSetting" access="true" /> <right name="function.removeResourceDefaultSetting" access="true" /> <right name="function.aclReload" access="true" /> <right name="function.aclSave" access="true" /> <right name="function.aclCreate" access="true" /> <right name="function.aclDestroy" access="true" /> <right name="function.aclSetRight" access="true" /> <right name="function.aclRemoveRight" access="true" /> <right name="function.aclCreateGroup" access="true" /> <right name="function.aclDestroyGroup" access="true" /> <right name="function.aclGroupAddACL" access="true" /> <right name="function.aclGroupRemoveACL" access="true" /> <right name="function.aclGroupAddObject" access="true" /> <right name="function.aclGroupRemoveObject" access="true" /> <right name="general.adminpanel" access="true" /> <right name="general.tab_players" access="true" /> <right name="general.tab_resources" access="true" /> <right name="general.tab_server" access="true" /> <right name="general.tab_maps" access="true" /> <right name="general.tab_bans" access="true" /> <right name="general.tab_adminchat" access="true" /> <right name="command.kick" access="true" /> <right name="command.freeze" access="true" /> <right name="command.mute" access="true" /> <right name="command.shout" access="true" /> <right name="command.spectate" access="true" /> <right name="command.slap" access="true" /> <right name="command.setgroup" access="true" /> <right name="command.sethealth" access="true" /> <right name="command.setarmour" access="true" /> <right name="command.setmoney" access="true" /> <right name="command.setskin" access="true" /> <right name="command.setteam" access="true" /> <right name="command.giveweapon" access="true" /> <right name="command.setstat" access="true" /> <right name="command.jetpack" access="true" /> <right name="command.warp" access="true" /> <right name="command.setdimension" access="true" /> <right name="command.setinterior" access="true" /> <right name="command.createteam" access="true" /> <right name="command.destroyteam" access="true" /> <right name="command.givevehicle" access="true" /> <right name="command.repair" access="true" /> <right name="command.blowvehicle" access="true" /> <right name="command.destroyvehicle" access="true" /> <right name="command.customize" access="true" /> <right name="command.setcolor" access="true" /> <right name="command.setpaintjob" access="true" /> <right name="command.listmessages" access="true" /> <right name="command.readmessage" access="true" /> <right name="command.listresources" access="true" /> <right name="command.start" access="true" /> <right name="command.stop" access="true" /> <right name="command.stopall" access="false" /> <right name="command.restart" access="true" /> <right name="command.execute" access="true" /> <right name="command.setpassword" access="true" /> <right name="command.setwelcome" access="true" /> <right name="command.setgame" access="true" /> <right name="command.setmap" access="true" /> <right name="command.setweather" access="true" /> <right name="command.blendweather" access="true" /> <right name="command.setblurlevel" access="true" /> <right name="command.setwaveheight" access="true" /> <right name="command.setskygradient" access="true" /> <right name="command.setgamespeed" access="true" /> <right name="command.setgravity" access="true" /> <right name="command.settime" access="true" /> <right name="command.ban" access="true" /> <right name="command.unban" access="true" /> <right name="command.banip" access="true" /> <right name="command.unbanip" access="true" /> <right name="command.banserial" access="true" /> <right name="command.unbanserial" access="true" /> <right name="command.listbans" access="true" /> </acl> <acl name="RPC"> <right name="function.callRemote" access="true" /> <right name="general.adminpanel" access="false" /> <right name="general.tab_players" access="false" /> <right name="general.tab_resources" access="false" /> <right name="general.tab_maps" access="false" /> <right name="general.tab_server" access="false" /> <right name="general.tab_bans" access="false" /> <right name="general.tab_adminchat" access="false" /> <right name="command.kick" access="false" /> <right name="command.freeze" access="false" /> <right name="command.mute" access="false" /> <right name="command.shout" access="false" /> <right name="command.spectate" access="false" /> <right name="command.slap" access="false" /> <right name="command.setgroup" access="false" /> <right name="command.sethealth" access="false" /> <right name="command.setarmour" access="false" /> <right name="command.setmoney" access="false" /> <right name="command.setskin" access="false" /> <right name="command.setteam" access="false" /> <right name="command.giveweapon" access="false" /> <right name="command.setstat" access="false" /> <right name="command.jetpack" access="false" /> <right name="command.warp" access="false" /> <right name="command.setdimension" access="false" /> <right name="command.setinterior" access="false" /> <right name="command.givevehicle" access="false" /> <right name="command.repair" access="false" /> <right name="command.blow" access="false" /> <right name="command.destroy" access="false" /> <right name="command.customize" access="false" /> <right name="command.setcolor" access="false" /> <right name="command.setpaintjob" access="false" /> <right name="command.listmessages" access="false" /> <right name="command.readmessage" access="false" /> <right name="command.listresources" access="false" /> <right name="command.start" access="false" /> <right name="command.stop" access="false" /> <right name="command.stopall" access="false" /> <right name="command.restart" access="false" /> <right name="command.execute" access="false" /> <right name="command.setpassword" access="false" /> <right name="command.setwelcome" access="false" /> <right name="command.setgame" access="false" /> <right name="command.setmap" access="false" /> <right name="command.setweather" access="false" /> <right name="command.blendweather" access="false" /> <right name="command.setblurlevel" access="false" /> <right name="command.setwaveheight" access="false" /> <right name="command.setskygradient" access="false" /> <right name="command.setgamespeed" access="false" /> <right name="command.setgravity" access="false" /> <right name="command.settime" access="false" /> <right name="command.ban" access="false" /> <right name="command.unban" access="false" /> <right name="command.banip" access="false" /> <right name="command.unbanip" access="false" /> <right name="command.banserial" access="false" /> <right name="command.unbanserial" access="false" /> <right name="command.listbans" access="false" /> </acl> <acl name="MapEditor"> <right name="general.ModifyOtherObjects" access="true" /> <right name="function.startResource" access="true" /> <right name="function.stopResource" access="true" /> <right name="function.restartResource" access="true" /> <right name="function.createResource" access="true" /> <right name="function.copyResource" access="true" /> <right name="function.addResourceMap" access="true" /> <right name="function.addResourceConfig" access="true" /> <right name="function.removeResourceFile" access="true" /> <right name="function.setResourceDefaultSetting" access="true" /> <right name="function.removeResourceDefaultSetting" access="true" /> <right name="function.xmlLoadFile" access="true" /> <right name="general.adminpanel" access="false" /> <right name="general.tab_players" access="false" /> <right name="general.tab_resources" access="false" /> <right name="general.tab_maps" access="false" /> <right name="general.tab_server" access="false" /> <right name="general.tab_bans" access="false" /> <right name="general.tab_adminchat" access="false" /> <right name="command.kick" access="false" /> <right name="command.freeze" access="false" /> <right name="command.mute" access="false" /> <right name="command.shout" access="false" /> <right name="command.spectate" access="false" /> <right name="command.slap" access="false" /> <right name="command.setgroup" access="false" /> <right name="command.sethealth" access="false" /> <right name="command.setarmour" access="false" /> <right name="command.setmoney" access="false" /> <right name="command.setskin" access="false" /> <right name="command.setteam" access="false" /> <right name="command.giveweapon" access="false" /> <right name="command.setstat" access="false" /> <right name="command.jetpack" access="false" /> <right name="command.warp" access="false" /> <right name="command.setdimension" access="false" /> <right name="command.setinterior" access="false" /> <right name="command.givevehicle" access="false" /> <right name="command.repair" access="false" /> <right name="command.blow" access="false" /> <right name="command.destroy" access="false" /> <right name="command.customize" access="false" /> <right name="command.setcolor" access="false" /> <right name="command.setpaintjob" access="false" /> <right name="command.listmessages" access="false" /> <right name="command.readmessage" access="false" /> <right name="command.listresources" access="false" /> <right name="command.start" access="false" /> <right name="command.stop" access="false" /> <right name="command.stopall" access="false" /> <right name="command.restart" access="false" /> <right name="command.execute" access="false" /> <right name="command.setpassword" access="false" /> <right name="command.setwelcome" access="false" /> <right name="command.setgame" access="false" /> <right name="command.setmap" access="false" /> <right name="command.setweather" access="false" /> <right name="command.blendweather" access="false" /> <right name="command.setblurlevel" access="false" /> <right name="command.setwaveheight" access="false" /> <right name="command.setskygradient" access="false" /> <right name="command.setgamespeed" access="false" /> <right name="command.setgravity" access="false" /> <right name="command.settime" access="false" /> <right name="command.ban" access="false" /> <right name="command.unban" access="false" /> <right name="command.banip" access="false" /> <right name="command.unbanip" access="false" /> <right name="command.banserial" access="false" /> <right name="command.unbanserial" access="false" /> <right name="command.listbans" access="false" /> </acl> <acl name="raceACL"> <right name="general.ModifyOtherObjects" access="true" /> <right name="function.xmlLoadFile" access="true" /> <right name="function.startResource" access="true" /> <right name="function.stopResource" access="true" /> <right name="function.restartResource" access="true" /> <right name="general.adminpanel" access="false" /> <right name="general.tab_players" access="false" /> <right name="general.tab_resources" access="false" /> <right name="general.tab_maps" access="false" /> <right name="general.tab_server" access="false" /> <right name="general.tab_bans" access="false" /> <right name="general.tab_adminchat" access="false" /> <right name="command.kick" access="false" /> <right name="command.freeze" access="false" /> <right name="command.mute" access="false" /> <right name="command.shout" access="false" /> <right name="command.spectate" access="false" /> <right name="command.slap" access="false" /> <right name="command.setgroup" access="false" />
  12. <acl> <group name="Everyone"> <acl name="Default" /> <object name="user.*" /> <object name="resource.*" /> </group> <group name="Moderator"> <acl name="Moderator" /> <object name="resource.mapcycler" /> <object name="resource.mapmanager" /> <object name="resource.resourcemanager" /> <object name="resource.votemanager" /> </group> <group name="SuperModerator"> <acl name="Moderator" /> <acl name="SuperModerator" /> </group> <group name="Admin"> <acl name="Moderator" /> <acl name="SuperModerator" /> <acl name="Admin" /> <acl name="RPC" /> <object name="resource.admin" /> <object name="resource.webadmin" /> <object name="user.[MXS]Drift~kInG" /> </group> <group name="Console"> <acl name="Moderator" /> <acl name="SuperModerator" /> <acl name="Admin" /> <acl name="RPC" /> <object name="user.Console" /> </group> <group name="RPC"> <acl name="RPC" /> </group> <group name="MapEditor"> <acl name="Default" /> <acl name="MapEditor" /> <object name="resource.editor_main" /> <object name="resource.edf" /> </group> <group name="raceACLGroup"> <acl name="Default" /> <acl name="raceACL" /> <object name="resource.race" /> </group> <group name="Admin5"/> <acl name="Moderator" /> <acl name="SuperModerator" /> <acl name="Admin5" /> <acl name="RPC" /> <object name="resource.admin" /> <object name="resource.webadmin" /> <object name="[MXS]BaDgIrL"/> <object name="user.Furby" /> <object name="user.jota" /> <object name="user.[<leosket>]" /> <object name="user.[<leosekt>]" /> <object name="user.[MXS]Mixtap" /> <object name="user.[MXS]Scarface" /> <object name="user.ProGamer" /> </group> <group name="Admin7"/> <acl name="Moderator" /> <acl name="SuperModerator" /> <acl name="Admin7" /> <acl name="RPC" /> <object name="resource.admin" /> <object name="resource.webadmin" /> </group> <group name="Admin9"/> <acl name="Moderator" /> <acl name="SuperModerator" /> <acl name="Admin9" /> <acl name="RPC" /> <object name="resource.admin" /> <object name="resource.webadmin" /> <object name="user.[MXS]Tomba120" /> </group> <group name="Admin10"/> <acl name="Moderator" /> <acl name="SuperModerator" /> <acl name="Admin10" /> <acl name="RPC" /> <object name="resource.admin" /> <object name="resource.webadmin" /> <object name="[MXS]Drift~kInG"/> <object name="user.[MXS]pao13" /> <object name="user.[MXS]RepZ" /> <object name="user.[WEED]Jokerjohn" /> </group> <acl name="Default"> <right name="general.ModifyOtherObjects" access="false" /> <right name="general.http" access="false" /> <right name="command.start" access="false" /> <right name="command.stop" access="false" /> <right name="command.stopall" access="false" /> <right name="command.gamemode" access="false" /> <right name="command.changemode" access="false" /> <right name="command.changemap" access="false" /> <right name="command.stopmode" access="false" /> <right name="command.stopmap" access="false" /> <right name="command.skipmap" access="false" /> <right name="command.restart" access="false" /> <right name="command.refresh" access="false" /> <right name="command.refreshall" access="false" /> <right name="command.addaccount" access="false" /> <right name="command.delaccount" access="false" /> <right name="command.debugscript" access="false" /> <right name="command.chgpass" access="false" /> <right name="command.loadmodule" access="false" /> <right name="command.upgrade" access="false" /> <right name="command.mute" access="false" /> <right name="command.crun" access="false" /> <right name="command.srun" access="false" /> <right name="command.run" access="false" /> <right name="command.unmute" access="false" /> <right name="command.kick" access="false" /> <right name="command.ban" access="false" /> <right name="command.banip" access="false" /> <right name="command.unbanip" access="false" /> <right name="command.shutdown" access="false" /> <right name="command.install" access="false" /> <right name="command.aexec" access="false" /> <right name="command.whois" access="false" /> <right name="command.whowas" access="false" /> <right name="function.executeCommandHandler" access="false" /> <right name="function.setPlayerMuted" access="false" /> <right name="function.addAccount" access="false" /> <right name="function.addBan" access="false" /> <right name="function.removeBan" access="false" /> <right name="function.removeAccount" access="false" /> <right name="function.setAccountPassword" access="false" /> <right name="function.kickPlayer" access="false" /> <right name="function.banIP" access="false" /> <right name="function.banPlayer" access="false" /> <right name="function.banSerial" access="false" /> <right name="function.getBansXML" access="false" /> <right name="function.unbanIP" access="false" /> <right name="function.unbanSerial" access="false" /> <right name="function.getClientIP" access="false" /> <right name="function.setServerPassword" access="false" /> <right name="function.getServerPassword" access="false" /> <right name="function.callRemote" access="false" /> <right name="function.startResource" access="false" /> <right name="function.stopResource" access="false" /> <right name="function.restartResource" access="false" /> <right name="function.createResource" access="false" /> <right name="function.copyResource" access="false" /> <right name="function.addResourceMap" access="false" /> <right name="function.addResourceConfig" access="false" /> <right name="function.removeResourceFile" access="false" /> <right name="function.setResourceDefaultSetting" access="false" /> <right name="function.removeResourceDefaultSetting" access="false" /> <right name="function.redirectPlayer" access="false" /> <right name="function.aclReload" access="false" /> <right name="function.aclSave" access="false" /> <right name="function.aclCreate" access="false" /> <right name="function.aclDestroy" access="false" /> <right name="function.aclSetRight" access="false" /> <right name="function.aclRemoveRight" access="false" /> <right name="function.aclCreateGroup" access="false" /> <right name="function.aclDestroyGroup" access="false" /> <right name="function.aclGroupAddACL" access="false" /> <right name="function.aclGroupRemoveACL" access="false" /> <right name="function.aclGroupAddObject" access="false" /> <right name="function.aclGroupRemoveObject" access="false" /> <right name="general.adminpanel" access="false" /> <right name="general.tab_players" access="false" /> <right name="general.tab_resources" access="false" /> <right name="general.tab_maps" access="false" /> <right name="general.tab_server" access="false" /> <right name="general.tab_bans" access="false" /> <right name="general.tab_adminchat" access="false" /> <right name="command.freeze" access="false" /> <right name="command.shout" access="false" /> <right name="command.spectate" access="false" /> <right name="command.slap" access="false" /> <right name="command.setgroup" access="false" /> <right name="command.sethealth" access="false" /> <right name="command.setarmour" access="false" /> <right name="command.setmoney" access="false" /> <right name="command.setskin" access="false" /> <right name="command.setteam" access="false" /> <right name="command.giveweapon" access="false" /> <right name="command.setstat" access="false" /> <right name="command.jetpack" access="false" /> <right name="command.warp" access="false" /> <right name="command.setdimension" access="false" /> <right name="command.setinterior" access="false" /> <right name="command.givevehicle" access="false" /> <right name="command.repair" access="false" /> <right name="command.blow" access="false" /> <right name="command.destroy" access="false" /> <right name="command.customize" access="false" /> <right name="command.setcolor" access="false" /> <right name="command.setpaintjob" access="false" /> <right name="command.listmessages" access="false" /> <right name="command.readmessage" access="false" /> <right name="command.listresources" access="false" /> <right name="command.execute" access="false" /> <right name="command.setpassword" access="false" /> <right name="command.setwelcome" access="false" /> <right name="command.setgame" access="false" /> <right name="command.setmap" access="false" /> <right name="command.setweather" access="false" /> <right name="command.blendweather" access="false" /> <right name="command.setblurlevel" access="false" /> <right name="command.setwaveheight" access="false" /> <right name="command.setskygradient" access="false" /> <right name="command.setgamespeed" access="false" /> <right name="command.setgravity" access="false" /> <right name="command.settime" access="false" /> <right name="command.unban" access="false" /> <right name="command.banserial" access="false" /> <right name="command.unbanserial" access="false" /> <right name="command.listbans" access="false" /> </acl> <acl name="Moderator"> <right name="general.ModifyOtherObjects" access="false" /> <right name="command.gamemode" access="true" /> <right name="command.changemode" access="true" /> <right name="command.changemap" access="true" /> <right name="command.stopmode" access="true" /> <right name="command.stopmap" access="true" /> <right name="command.skipmap" access="true" /> <right name="command.mute" access="true" /> <right name="command.unmute" access="true" /> <right name="command.whois" access="true" /> <right name="command.whowas" access="true" /> <right name="function.setPlayerMuted" access="true" /> <right name="function.kickPlayer" access="true" /> <right name="function.banIP" access="true" /> <right name="function.banPlayer" access="true" /> <right name="function.banSerial" access="true" /> <right name="function.getBansXML" access="true" /> <right name="function.unbanIP" access="true" /> <right name="function.unbanSerial" access="true" /> <right name="function.getClientIP" access="true" /> <right name="function.startResource" access="true" /> <right name="function.stopResource" access="true" /> <right name="function.restartResource" access="true" /> <right name="function.redirectPlayer" access="true" /> <right name="general.adminpanel" access="true" /> <right name="general.tab_players" access="true" /> <right name="general.tab_resources" access="false" /> <right name="general.tab_maps" access="false" /> <right name="general.tab_server" access="true" /> <right name="general.tab_bans" access="false" /> <right name="general.tab_adminchat" access="true" /> <right name="command.kick" access="false" />
  13. Azten

    i need some help

    please !!! help the userpanel dosnt work i press f7 and i get stuck so i reconnect and when i changed it to f1 still does the same
  14. ok here is my first script ever MDC.lua function createTheMDC(thePlayer) local theTargetedPlayer = getPlayerName(theplayer) outputChatBox("*"..theTargetedPlayer.. "he said : this is my first script",getRootElement(),255,255,000,true) end addCommandHandler("m",createTheMDC) meta.xml <meta> <info author="MDC" name="MDC" description="my first script" /> <script src=MDC.lua" type="server" /> </meta> it doesnt wana work why plz help me i would be greatfull
  15. Azten

    i need some help

    after i repaired i just disabled the vote for ghostmode
  16. hi every one i need help iv been using race_starter_pack script but it has a problem i edited some stuff in it and tryed to make it work it works fine but when i press f7 only the mouse shows and dosent let me do any thing so if i pressed f7 i would have to restart i said i maybe did some thing rong when i edited it then i reinstalled the original (not edited) so it still does the same so people plz help me here is the code --[[ **Created By MAR 2010 **panel_c.lua by MAR **Please don't reproduce this without permission. **Copyright 2010 ]]-- GUIEditor_Window = {} GUIEditor_TabPanel = {} GUIEditor_Tab = {} GUIEditor_Button = {} GUIEditor_Memo = {} GUIEditor_Label = {} GUIEditor_Edit = {} GUIEditor_Grid = {} GUIEditor_Image = {} GUIEditor_Radio = {} ShopItems = { "Vehicle Repair","Nitro","Flip","Ghostmode","Barrel","Hay","Blow A Player","Godmode","Mortar Strike","Invisibility","Change Time" } function startGUI() local Edit1 = getElementData(getLocalPlayer(), "info.name") local Edit2 = getElementData(getLocalPlayer(), "info.country") local Edit3 = getElementData(getLocalPlayer(), "info.age") local Edit4 = getElementData(getLocalPlayer(), "info.email") local Edit5 = getElementData(getLocalPlayer(), "info.gender") local Edit6 = getElementData(getLocalPlayer(), "info.contact") local ip = getElementData(getLocalPlayer(), "data.ip") local serial= getElementData(getLocalPlayer(), "data.serial") local Bpoints=getElementData(getLocalPlayer(), "data.AchB") local Spins = getElementData(getLocalPlayer(), "data.Ach5") local Rolls = getElementData(getLocalPlayer(), "data.Ach4") local ShopPurchases = getElementData(getLocalPlayer(), "data.Ach6") local RaceAttempts = getElementData(getLocalPlayer(), "data.raceAttempts") local Wins1 = getElementData(getLocalPlayer(), "race.Wins") local Wins2 = getElementData(getLocalPlayer(), "race.Wins2") local Wins3 = getElementData(getLocalPlayer(), "race.Wins3") local money = getElementData(getLocalPlayer(), "data.money") local exploded = getElementData(getLocalPlayer(), "data.Ach2") local AchNum = getElementData(getLocalPlayer(),"data.Achnum") local namecolor = getElementData(getLocalPlayer(),"info.namecolor") local chatcolor = getElementData(getLocalPlayer(),"info.chatcolor") local Col1 = getElementData(getLocalPlayer(),"vehicle.col1") local Col2 = getElementData(getLocalPlayer(),"vehicle.col2") local Col3 = getElementData(getLocalPlayer(),"vehicle.col3") local Col4 = getElementData(getLocalPlayer(),"vehicle.col4") local R = getElementData(getLocalPlayer(),"vehicle.LightR") local G = getElementData(getLocalPlayer(),"vehicle.LightG") local B = getElementData(getLocalPlayer(),"vehicle.LightB") local DDAttempts = getElementData(getLocalPlayer(),"data.DDAttempts") local DDWins = getElementData(getLocalPlayer(),"data.DDWins") local timee = getRealTime() local minute = timee.minute local hour = timee.hour local second = timee.second local day = timee.monthday local month = timee.month local year = timee.year + 1900 if DDAttempts == 0 then ratio = 0 else ratio = (tonumber(DDWins)/tonumber(DDAttempts))*100 end GUIEditor_Window[1] = guiCreateWindow(103,82,538,430,"Welcome to your User Panel, "..getPlayerName(getLocalPlayer()),false) GUIEditor_TabPanel[1] = guiCreateTabPanel(21,103,505,313,false,GUIEditor_Window[1]) GUIEditor_Tab[1] = guiCreateTab("Home",GUIEditor_TabPanel[1]) GUIEditor_Label[1] = guiCreateLabel(2,13,490,25,getPlayerName(getLocalPlayer()).."'s Userpanel ",false,GUIEditor_Tab[1]) guiLabelSetColor(GUIEditor_Label[1],0,255,0) guiLabelSetVerticalAlign(GUIEditor_Label[1],"center") guiLabelSetHorizontalAlign(GUIEditor_Label[1],"center",false) guiSetFont(GUIEditor_Label[1],"default-bold-small") GUIEditor_Edit[1] = guiCreateEdit(25,84,122,26,Edit1,false,GUIEditor_Tab[1]) GUIEditor_Edit[2] = guiCreateEdit(173,84,122,26,Edit2,false,GUIEditor_Tab[1]) GUIEditor_Edit[4] = guiCreateEdit(322,84,122,26,Edit4,false,GUIEditor_Tab[1]) GUIEditor_Edit[3] = guiCreateEdit(25,152,122,26,""..Edit3,false,GUIEditor_Tab[1]) GUIEditor_Edit[11]= guiCreateEdit(173,151,122,26,Edit5,false,GUIEditor_Tab[1]) GUIEditor_Edit[12]= guiCreateEdit(322,151,122,26,""..Edit6,false,GUIEditor_Tab[1]) GUIEditor_Label[34] = guiCreateLabel(339,131,74,14,"Contact Info:",false,GUIEditor_Tab[1]) guiLabelSetColor(GUIEditor_Label[34],0,255,0) guiLabelSetVerticalAlign(GUIEditor_Label[34],"top") guiLabelSetHorizontalAlign(GUIEditor_Label[34],"left",false) GUIEditor_Label[33] = guiCreateLabel(218,131,47,14,"Gender:",false,GUIEditor_Tab[1]) guiLabelSetColor(GUIEditor_Label[33],255,255,0) guiLabelSetVerticalAlign(GUIEditor_Label[33],"top") guiLabelSetHorizontalAlign(GUIEditor_Label[33],"left",false) GUIEditor_Label[5] = guiCreateLabel(41,67,95,16,"Your Real Name:",false,GUIEditor_Tab[1]) guiLabelSetColor(GUIEditor_Label[5],255,255,0) guiLabelSetVerticalAlign(GUIEditor_Label[5],"top") guiLabelSetHorizontalAlign(GUIEditor_Label[5],"left",false) GUIEditor_Label[6] = guiCreateLabel(209,67,88,13,"Country:",false,GUIEditor_Tab[1]) guiLabelSetColor(GUIEditor_Label[6],255,255,0) guiLabelSetVerticalAlign(GUIEditor_Label[6],"top") guiLabelSetHorizontalAlign(GUIEditor_Label[6],"left",false) GUIEditor_Label[7] = guiCreateLabel(75,131,31,16,"Age:",false,GUIEditor_Tab[1]) guiLabelSetColor(GUIEditor_Label[7],255,255,0) guiLabelSetVerticalAlign(GUIEditor_Label[7],"top") guiLabelSetHorizontalAlign(GUIEditor_Label[7],"left",false) GUIEditor_Label[8] = guiCreateLabel(355,66,94,15,"E-mail:",false,GUIEditor_Tab[1]) guiLabelSetColor(GUIEditor_Label[8],255,255,0) guiLabelSetVerticalAlign(GUIEditor_Label[8],"top") guiLabelSetHorizontalAlign(GUIEditor_Label[8],"left",false) GUIEditor_Label[2010] = guiCreateLabel(48,199,205,20,"Time: "..hour..":"..minute..":"..second,false,GUIEditor_Tab[1]) guiLabelSetColor(GUIEditor_Label[2010],0,255,255) guiLabelSetVerticalAlign(GUIEditor_Label[2010],"top") guiLabelSetHorizontalAlign(GUIEditor_Label[2010],"left",false) guiSetFont(GUIEditor_Label[2010],"clear-normal") GUIEditor_Label[2011] = guiCreateLabel(48,217,209,20,"Date: "..day.."/"..month.."/"..year,false,GUIEditor_Tab[1]) guiLabelSetColor(GUIEditor_Label[2011],0,0,255) guiLabelSetVerticalAlign(GUIEditor_Label[2011],"top") guiLabelSetHorizontalAlign(GUIEditor_Label[2011],"left",false) guiSetFont(GUIEditor_Label[2011],"clear-normal") GUIEditor_Label[2012] = guiCreateLabel(48,234,209,20,"IP: "..ip,false,GUIEditor_Tab[1]) guiLabelSetColor(GUIEditor_Label[2012],255,0,0) guiLabelSetVerticalAlign(GUIEditor_Label[2012],"top") guiLabelSetHorizontalAlign(GUIEditor_Label[2012],"left",false) guiSetFont(GUIEditor_Label[2012],"clear-normal") GUIEditor_Button[1] = guiCreateButton(326,219,121,27,"Save All",false,GUIEditor_Tab[1]) GUIEditor_Tab[2] =guiCreateTab("Stats",GUIEditor_TabPanel[1]) -- Statistics titles1 = guiCreateLabel(10,10,156,20,"Cash & Points.",false,GUIEditor_Tab[2]) guiLabelSetColor(titles1,0,255,0) guiLabelSetVerticalAlign(titles1,"top") guiLabelSetHorizontalAlign(titles1,"left",false) guiSetFont(titles1,"default-bold-small") titles2 = guiCreateLabel(10,76,156,20,"Rolls / Spins.",false,GUIEditor_Tab[2]) guiLabelSetColor(titles2,0,255,255) guiLabelSetVerticalAlign(titles2,"top") guiLabelSetHorizontalAlign(titles2,"left",false) guiSetFont(titles2,"default-bold-small") titles3 = guiCreateLabel(10,140,156,20,"Achievements.",false,GUIEditor_Tab[2]) guiLabelSetColor(titles3,0,255,255) guiLabelSetVerticalAlign(titles3,"top") guiLabelSetHorizontalAlign(titles3,"left",false) guiSetFont(titles3,"default-bold-small") titles4 = guiCreateLabel(259,10,156,20,"Race Stats.",false,GUIEditor_Tab[2]) guiLabelSetColor(titles4,0,255,255) guiLabelSetVerticalAlign(titles4,"top") guiLabelSetHorizontalAlign(titles4,"left",false) guiSetFont(titles4,"default-bold-small") titles5 = guiCreateLabel(259,113,156,20,"Misc.",false,GUIEditor_Tab[2]) guiLabelSetColor(titles5,0,255,255) guiLabelSetVerticalAlign(titles5,"top") guiLabelSetHorizontalAlign(titles5,"left",false) guiSetFont(titles5,"default-bold-small") titles6 = guiCreateLabel(10,184,156,20,"DD/DM Stats.",false,GUIEditor_Tab[2]) guiLabelSetColor(titles6,0,255,255) guiLabelSetVerticalAlign(titles6,"top") guiLabelSetHorizontalAlign(titles6,"left",false) guiSetFont(titles6,"default-bold-small") --> GUIEditor_Button[2] = guiCreateButton(28,-10,5,5,"",false,GUIEditor_Tab[2]) GUIEditor_Label[11] = guiCreateLabel(11,28,210,23,"You currently have $"..money.." in cash.",false,GUIEditor_Tab[2]) guiLabelSetColor(GUIEditor_Label[11],0,255,100) guiLabelSetVerticalAlign(GUIEditor_Label[11],"top") guiLabelSetHorizontalAlign(GUIEditor_Label[11],"left",false) GUIEditor_Label[12] = guiCreateLabel(13,94,125,20,"You spinned "..Spins.." times.",false,GUIEditor_Tab[2]) guiLabelSetColor(GUIEditor_Label[12],0,255,100) guiLabelSetVerticalAlign(GUIEditor_Label[12],"top") guiLabelSetHorizontalAlign(GUIEditor_Label[12],"left",false) GUIEditor_Label[13] = guiCreateLabel(13,113,210,18,"You rolled "..Rolls.." times.",false,GUIEditor_Tab[2]) guiLabelSetColor(GUIEditor_Label[13],0,255,100) guiLabelSetVerticalAlign(GUIEditor_Label[13],"top") guiLabelSetHorizontalAlign(GUIEditor_Label[13],"left",false) GUIEditor_Label[17] = guiCreateLabel(262,29,230,22,"You have attempted "..RaceAttempts.." races.",false,GUIEditor_Tab[2]) guiLabelSetColor(GUIEditor_Label[17],0,255,100) guiLabelSetVerticalAlign(GUIEditor_Label[17],"top") guiLabelSetHorizontalAlign(GUIEditor_Label[17],"left",false) GUIEditor_Label[14] = guiCreateLabel(262,48,230,17,"You have finished "..Wins1.." times first.",false,GUIEditor_Tab[2]) guiLabelSetColor(GUIEditor_Label[14],0,255,100) guiLabelSetVerticalAlign(GUIEditor_Label[14],"top") guiLabelSetHorizontalAlign(GUIEditor_Label[14],"left",false) GUIEditor_Label[15] = guiCreateLabel(13,161,302,19,"You have unlocked "..AchNum.."/9 Achievements.",false,GUIEditor_Tab[2]) guiLabelSetColor(GUIEditor_Label[15],0,255,100) guiLabelSetVerticalAlign(GUIEditor_Label[15],"top") guiLabelSetHorizontalAlign(GUIEditor_Label[15],"left",false) GUIEditor_Label[16] = guiCreateLabel(12,47,190,17,"You currently have "..Bpoints.." B points.",false,GUIEditor_Tab[2]) guiLabelSetColor(GUIEditor_Label[16],0,255,100) guiLabelSetVerticalAlign(GUIEditor_Label[16],"top") guiLabelSetHorizontalAlign(GUIEditor_Label[16],"left",false) GUIEditor_Label[18] = guiCreateLabel(265,162,213,17,"You have exploded "..exploded.." times.",false,GUIEditor_Tab[2]) guiLabelSetColor(GUIEditor_Label[18],0,255,100) guiLabelSetVerticalAlign(GUIEditor_Label[18],"top") guiLabelSetHorizontalAlign(GUIEditor_Label[18],"left",false) GUIEditor_Label[109] = guiCreateLabel(264,132,227,33,"You have purchased "..ShopPurchases.." items from the shop.",false,GUIEditor_Tab[2]) guiLabelSetColor(GUIEditor_Label[109],0,255,100) guiLabelSetVerticalAlign(GUIEditor_Label[109],"top") guiLabelSetHorizontalAlign(GUIEditor_Label[109],"left",true) GUIEditor_Label[19] = guiCreateLabel(262,67,227,17,"You have finished "..Wins2.." times second.",false,GUIEditor_Tab[2]) guiLabelSetColor(GUIEditor_Label[19],0,255,100) guiLabelSetVerticalAlign(GUIEditor_Label[19],"top") guiLabelSetHorizontalAlign(GUIEditor_Label[19],"left",false) GUIEditor_Label[20] = guiCreateLabel(262,86,229,17,"You have finished "..Wins3.." times third.",false,GUIEditor_Tab[2]) guiLabelSetColor(GUIEditor_Label[20],0,255,100) guiLabelSetVerticalAlign(GUIEditor_Label[20],"top") guiLabelSetHorizontalAlign(GUIEditor_Label[20],"left",false) guiSetFont(GUIEditor_Label[27],"default-bold-small") GUIEditor_Label[1550] = guiCreateLabel(11,204,478,20,"You have attempted "..DDAttempts.." DD/DM Matches.",false,GUIEditor_Tab[2]) guiLabelSetColor(GUIEditor_Label[1550],0,255,100) guiLabelSetVerticalAlign(GUIEditor_Label[1550],"top") guiLabelSetHorizontalAlign(GUIEditor_Label[1550],"left",false) GUIEditor_Label[1551] = guiCreateLabel(11,224,478,20,"You have won "..DDWins.." matches.",false,GUIEditor_Tab[2]) guiLabelSetColor(GUIEditor_Label[1551],0,255,100) guiLabelSetVerticalAlign(GUIEditor_Label[1551],"top") guiLabelSetHorizontalAlign(GUIEditor_Label[1551],"left",false) GUIEditor_Label[1552] = guiCreateLabel(11,246,478,20,"That gives you a ratio of "..ratio .."%.",false,GUIEditor_Tab[2]) guiLabelSetColor(GUIEditor_Label[1552],0,255,100) guiLabelSetVerticalAlign(GUIEditor_Label[1552],"top") guiLabelSetHorizontalAlign(GUIEditor_Label[1552],"left",false) --Shop GUIEditor_Tab[3] = guiCreateTab("Shop",GUIEditor_TabPanel[1]) GUIEditor_Label[21] = guiCreateLabel(189,12,233,24,"Race Mini-Shop!",false,GUIEditor_Tab[3]) guiLabelSetColor(GUIEditor_Label[21],0,255,0) guiLabelSetVerticalAlign(GUIEditor_Label[21],"top") guiLabelSetHorizontalAlign(GUIEditor_Label[21],"left",false) guiSetFont(GUIEditor_Label[21],"default-bold-small") GUIEditor_Grid[911] = guiCreateGridList(12,32,186,232,false,GUIEditor_Tab[3]) guiGridListSetSelectionMode(GUIEditor_Grid[1],2) GUIEditor_Button[3] = guiCreateButton(285,234,99,27,"Buy",false,GUIEditor_Tab[3]) GUIEditor_Label[1041] = guiCreateLabel(213,101,238,25,"Price: N/A",false,GUIEditor_Tab[3]) guiLabelSetColor(GUIEditor_Label[1041],255,255,0) guiLabelSetVerticalAlign(GUIEditor_Label[1041],"top") guiLabelSetHorizontalAlign(GUIEditor_Label[1041],"left",false) GUIEditor_Label[1042] = guiCreateLabel(212,128,269,60,"Description: Please select an item for more information. Buying maps is coming soon.",false,GUIEditor_Tab[3]) guiLabelSetColor(GUIEditor_Label[1042],0,255,0) guiLabelSetVerticalAlign(GUIEditor_Label[1042],"top") guiLabelSetHorizontalAlign(GUIEditor_Label[1042],"left",true) GUIEditor_Radio[1] = guiCreateRadioButton(366,40,96,20,"Shop Items",false,GUIEditor_Tab[3]) guiRadioButtonSetSelected(GUIEditor_Radio[1],true) GUIEditor_Label[1043] = guiCreateLabel(204,41,154,16,"Please choose a category:",false,GUIEditor_Tab[3]) guiLabelSetColor(GUIEditor_Label[1043],0,255,0) guiLabelSetVerticalAlign(GUIEditor_Label[1043],"top") guiLabelSetHorizontalAlign(GUIEditor_Label[1043],"left",false) guiSetFont(GUIEditor_Label[1043],"default-bold-small") GUIEditor_Radio[2] = guiCreateRadioButton(366,63,96,20,"Maps",false,GUIEditor_Tab[3]) GUIEditor_Label[1044] = guiCreateLabel(213,191,238,25,"Previous Owner: N/A",false,GUIEditor_Tab[3]) guiLabelSetColor(GUIEditor_Label[1044],0,255,0) guiLabelSetVerticalAlign(GUIEditor_Label[1044],"top") guiLabelSetHorizontalAlign(GUIEditor_Label[1044],"left",false) local ShopColumn = guiGridListAddColumn( GUIEditor_Grid[911], "Items", 0.85 ) if ( ShopColumn ) then for k, v in ipairs(ShopItems) do ShopRow = guiGridListAddRow ( GUIEditor_Grid[911] ) guiGridListSetItemText ( GUIEditor_Grid[911], ShopRow, ShopColumn, v, false, false ) end end -- Money Transfer Tab GUIEditor_Tab[5] = guiCreateTab("Money Transfer",GUIEditor_TabPanel[1]) GUIEditor_Grid[2] = guiCreateGridList(16,21,166,238,false,GUIEditor_Tab[5]) guiGridListSetSelectionMode(GUIEditor_Grid[2],2)
  17. Azten

    help

    hi people its me again i need help with some files when i upload them into server they say error downloading http or some thing like that not sure but can u help me plz
  18. ok first i tyed to create a new documnet and i named it meta.xml still didnt change so tryed to rename it script.lua but still didnt work
  19. Creating a simple command Let's go back to the content of the script.lua file. As mentioned above, we want to provide a command to create a vehicle beside your current position in the game. Firstly we need to create a function we want to call and a command handler that creates the command the player will be able to enter in the console. -- create the function the command handler calls, with the arguments: thePlayer, command, vehicleModel function createVehicleForPlayer(thePlayer, command, vehicleModel) -- create a vehicle and stuff end -- create a command handler addCommandHandler("createvehicle", createVehicleForPlayer) Note: Function names are clickable in code examples on the wiki and linked to the functions' documentation. where to put this i was reading the wiki and didnt know here to put this and i also wana know how to create an meta.xml or a script.lua tryed to press right click /new/text doucment then renamed it meta.xml but i doesnt change why
  20. Azten

    roleplay

    ok thx il try hard to learn
  21. Azten

    roleplay

    i dont think u sow the i was trying to learn from the wiki thing i toke for the 2 hours trying to learn and i learn only one thing how to create a gamemode WITH A NEW SPAWN POINT THAT ALL
×
×
  • Create New...