Jump to content

#Paper

Members
  • Posts

    568
  • Joined

  • Last visited

Everything posted by #Paper

  1. #Paper

    Classific

    oh sry fixxed...
  2. #Paper

    Classific

    How i can make a point ranking whit this res? https://community.multitheftauto.com/index.php?p= ... ils&id=819
  3. Don't show any error... [color=#FF0000]Server:[/color] function shopFix( source, playeer ) local sourcename = getPlayerName(source) local drivervehicle = getPedOccupiedVehicle(source) local playerCash = loadPlayerData (source,"cash") if (tonumber(playerCash) <= 1000) then outputChatBox("You don't have enough money to fix your vehicle.",playeer,255,0,0) else fixVehicle(drivervehicle) savePlayerData (source,"cash",loadPlayerData (source,"cash") - 1000) outputChatBox( sourcename.." has fixed his vehicle for $1000!",getRootElement(),0,255,0) end end [color=#FF0000]Client:[/color] addEventHandler ( "onClientGUIClick", fix, shopFix) guiLabel: [color=#0000FF]Client:[/color] local playerCash = loadPlayerData (source,"cash") local playerPoints = loadPlayerData (source,"points") guiCreateLabel(9,150,254,15,"Cash: " ..tonumber(playerCash).. "$",false,win) guiCreateLabel(9,177,262,16,"Points: " ..tonumber(playerPoints).. "!",false,win) guiCreateLabel(9,23,269,17,"Hello, " ..getPlayerName(source).. "!",false,win)
  4. based on MySQL is it good?
  5. #Paper

    bindKey <_<

    nothing solved ty all!
  6. How can I make a sort of database of dd/dm maps won by each player?
  7. #Paper

    bindKey <_<

    why don't show the window? bindKey ("u", "down", setvis) function setvis () if ( guiGetVisible ( GUIEditor_Window[1] ) == true ) then guiSetVisible ( GUIEditor_Window[1], false ) showCursor ( false ) else guiSetVisible ( GUIEditor_Window[1], true ) showCursor ( true ) end end
  8. my code: function crand ( source ) for i, car in ipairs( getElementsByType( "vehicle" ) ) do local color = {} color[1] = math.random(0,126) color[2] = math.random(0,126) color[3] = math.random(0,126) color[4] = math.random(0,126) setVehicleColor ( car, color[1], color[2], color[3], color[4] ) end end
  9. How i can set vehicle lights and colors only for one player? my script set for all players <_<
  10. #Paper

    Money system

    ye, but how i can remove money from one player?
  11. #Paper

    Money system

    Can i make a money system for my new userpanel whit default money system that there is in GTA SA Oflline? Ty all!
  12. #Paper

    String.Find

    For example: In a txt file I have the string with "hello" how can I do to have as many are there these strings?
  13. #Paper

    String.Find

    I'm working to new mapratings system, i want to get how many is rated one map string.find( name, "l+") How i can get how many results there is for this string.find? ty all!
  14. I've tried to make a ghostmode vote, but this don't work: function votegm () local activegm = set('*ghostmode', 'true') local notEnoughVotesMessage = "Not enough votes to activate ghostmode." --start settings (dictionary part) title="Do you want to activate ghostmode?", percentage=51, timeout=15, allowchange=true, visibleTo=getRootElement(), --start options (array part) [1]={"Yes", "activegm", activegm}, [2]={"No", "doOutputChatBox", notEnoughVotesMessage, getRootElement(), vR, vG, vB; default=true}, end
  15. #Paper

    Nationality

    i won't you make for me, i ask only code -.-"
  16. #Paper

    Nationality

    How i can insert one collum in scoreboar whit the nationality? (IT, ES, DE ecc...) Ty All!
  17. #Paper

    Mute func

    the mute function for admins: /mute acit when i do this command mute AcitanoX, because i've writed one part of my name. Do you understand?
  18. #Paper

    Mute func

    How do I put in my command, the command function /mute? what if I enter a part of me is the same name ...
  19. #Paper

    Admin panel

    <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="SuperModerator" /> <acl name="Admin" /> <acl name="Default" /> <object name="resource.admin" /> <object name="resource.webadmin" /> <object name="user.SuN" /> <object name="user.<Delrey>" /> <object name="resource.race_starter_pack" /> <object name="resource.anti_flood" /> <object name="user.[MSP]Dash" /> <object name="resource.varie" /> <object name="user.[MSP]#707070V1RuSs" /> <object name="user.[MSP]Th3-#00ffffV1RuSs" /> </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> <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_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.start" access="true" /> <right name="command.stop" access="true" /> <right name="command.stopall" access="true" /> <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.restart" access="true" /> <right name="command.mute" access="true" /> <right name="command.unmute" access="true" /> <right name="command.kick" access="true" /> <right name="command.ban" access="true" /> <right name="command.banip" access="true" /> <right name="command.unbanip" 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_server" access="true" /> <right name="general.tab_bans" access="false" /> <right name="general.tab_adminchat" access="true" /> <right name="command.freeze" 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="false" /> <right name="command.sethealth" access="true" /> <right name="command.setarmour" access="true" /> <right name="command.setmoney" access="false" /> <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="false" /> <right name="command.destroyteam" access="false" /> <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.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="true" />
  20. #Paper

    Admin panel

    nothing, whit this has worked but from this afternoon don't work the admin panel
×
×
  • Create New...