Official Half-Life 2: Deathmatch Roflcopter Roleplay Mod

2015. 11. 29. 15:34·정보

공식 하프라이프 2 데스매치 Roflcopter RP MOD (백고미)






============================================

  • Version: 1.0.3

============================================


============================================

Roflcopter Roleplay?
Roflcopter Roleplay has been around for awhile. The source base being Krims V2 was taken and extended by Alm. The mod was popular, but never officially released. After Alm left HL2:DM I took over the source and have been extending it. The mod was never intended to be released or coded to be extendable (natives and such) and is very messy and WILL output errors in your sourcemod logs. It was just a source to learn from and practice with. A lot of people have tried to get their eyes on it, so I am trying to tidy it up and finally release it for the community to hopefully use it and help develop other RP works.

============================================



============================================

Thread Definitions:

  • <action> - Whatever key your +use is bound to. Default: [E]
  • <sprint> - Whatever key your +sprint is bound to. Default: [Shift]
  • Menu/NPC's - Any menu is accessible through the [ESC] key

============================================



Nicks Features
Spoiler
Dynamic Map Configurations:
Spoiler

Every map will have its own directory automatically created in "data/roleplay/". All the data files specific to that map will be created on command use.
Admin Commands (Coordinates go by where you are standing)
  • sm_addjail <id> - Add jail cell. ID 1-10.
  • sm_removejail <id> - Delete a jail cell
  • sm_listjails - List Jail cells.
  • sm_setexit - Set Exit coord.
  • sm_setsuicide <1-2> - Set suicide coordinate.
  • sm_removesuicide <1-2> - Remove suicide coordinate.
  • sm_listsuicide - List suicide coordinates.
  • sm_setvipjail - Set VIP jail.
  • sm_createcopdoor <1-64> - Create a default cop door.
  • sm_removecopdoor <1-64> - Remove a default cop door.
  • sm_listcopdoors - List cop doors used. If 0, its not being used.
  • sm_setafk - Set up an AFK room (Added to cop menu)



No Kill Zones:
Spoiler

Details
  • Players can not be damaged or deal damage to anything while in a nokill zone.
  • Nokill does not apply to players with crime above the cuff-rate. This does not mean they can deal damage to players in nokill or be damaged by players in nokill.
  • Criminals in nokill can be damaged by criminals and cops and be cuffed by cops.

Admin Commands
  • sm_createnokillzone <id> - Create a no kill zone. Radius of zone is 200 points. ID can be 1-100.
  • sm_removenokillzone <id> - Delete no kill zone.
  • sm_listnokillzones - List no kill zones. 1-100. If it says 9999.0 as the coord then it is not being used.
  • sm_refreshzones - Refresh nokill zones.



No Crime Zones:
Spoiler

Details
  • Will not gain crime at all

Admin Commands
  • sm_createnocrimezone <id> - Create a no kill zone. Radius of zone is 200 points. ID can be 1-100.
  • sm_removenocrimezone <id> - Delete no kill zone.
  • sm_listnocrimezones - List no kill zones. 1-100. If it says 9999.0 as the coord then it is not being used.
  • sm_refreshcrimezones - Refresh nocrime zones.



Spawning System:
Spoiler

Details
  • You can now create spawns for the rebels and cops. If no cop spawns are made, cops will spawn at rebel coordinates.

Admin Commands
  • sm_createspawn <id> <1-rebels 2-cops>
  • sm_removespawn <id> <1-rebels 2-cops>
  • sm_spawnlist <1-rebels 2-cops>



Taxi System:
Spoiler

Details
  • NPC-ID (8): Menu displays taxi locations. The further the destination the more the cost.

Admin Commands
  • sm_addtaxizone <id> <Destination name in quotes> - Add a taxi destination. Players will be teleported here. ID is 1-20
  • sm_removetaxizone <id> - Remove the taxi destination.
  • sm_listtaxizones - List taxi zones that you used.



Car System:
Spoiler

Details
  • Next map load will spawn created cars (sm_createcar). Cars spawn locked and you need the keys to lock/unlock it using <shift>
  • Car entities change on map load so do not use looknotice/setnotice on them. Feel free to use a temporary notice though.

Admin Commands
  • sm_createcar <id 1-50> - Create a car.
  • sm_removecar <id 1-50> - Remove a car.
  • sm_carlist - List cars.
  • sm_givecarkeys <name> - Give keys to the car.
  • sm_takecarkeys <name> - Take away keys to the car.



Firefighters:
Spoiler
  • The firefighter career allows a player to diffuse/dispose a bomb and remove fires.
  • Rebels can spawn bombs bought from select vendors with the bomb item.
  • Bombs go off and create fires.
  • Fires are removed automatically after three minutes
  • Rebels may plant bombs and arm them with the <action> key. Bombs take 30 seconds to go off.
  • Firefighters may dispose of non-armed bombs using /dispose.
  • Firefighters may diffuse armed bombs using /diffuse
  • Firefighters may use /watergunon and /watergunoff to control their hoses. Put your cursor on a fire to slowly put it out (fire health disaplays center screen).



Free Dynamic Jobs:
Spoiler
  • Add dynamic jobs in the jobs2.txt
  • Only added Nicks robber and drug addict jobs (drugs currently disabled).
  • Type /jobinfo for information on your current job.

소방관:

Spoiler
  • The firefighter career allows a player to diffuse/dispose a bomb and remove fires.
  • Rebels can spawn bombs bought from select vendors with the bomb item.
  • Bombs go off and create fires.
  • Fires are removed automatically after three minutes
  • Rebels may plant bombs and arm them with the <action> key. Bombs take 30 seconds to go off.
  • Firefighters may dispose of non-armed bombs using /dispose.
  • Firefighters may diffuse armed bombs using /diffuse
  • Firefighters may use /watergunon and /watergunoff to control their hoses. Put your cursor on a fire to slowly put it out (fire health disaplays center screen).



Free Dynamic Jobs:

Spoiler
  • Add dynamic jobs in the jobs2.txt
  • Only added Nicks robber and drug addict jobs (drugs currently disabled).
  • Type /jobinfo for information on your current job.



    • Roflcopter Features
      Spoiler
      NPC System:
      Spoiler

      Press <action> on NPCs to use them or bring up their menus.
      Admin Commands
      • sm_createnpc <ID 1-100> <NPC> <type 0-11> <opt model> - Create a npc based on your feet.
        • <ID> - To differentiate NPCs. Keep <1-14> free for employers.
        • <NPC> - Type of HL2 npc. Example: dog, alyx, gman, mossman.
        • <type> - Function of npc.
        • <opt model> - Use a custom model instead of HL2. Do not use models/ or .mdl in this argument.
      • sm_removenpc <type 0-11> <1-100> - Remove a npc.
      • sm_npcwho – Prints the npc id number in chat by looking at the npc.
      • sm_npclist – Prints all the npcs in console.
      • sm_npcnotice <id> <text> - Place a notice on a npc.
      • sm_addvendoritem <id> <item id> - Add an item to a vendor npc.
      • sm_removevendoritem <id> <item id> - Take an item away from a vendor npc.

      NPC Types
      Spoiler
      • Type:0(Employers) - Creates a dynamic job employer dependant on their NPC-ID (Not all are for careers)
        • Dynamic Job Employers:
          Spoiler

          ID:1(Banker Career)
          ID:2(Weapons Career)
          ID:3(Police Career)
          ID:4(Food Career)
          ID:5(Medical Career)
          ID:6(Political Career)
          ID:7(Sanitation Career)
          ID:8(Teacher Career)
          ID:9(Furniture Career)
          ID:10(Gangsters Career)
          ID:11(Demote Menu)
          ID:12(VIPSkin Menu)
          ID:13(Bankers Career)
          ID:14(Rebels Career)

          Check my player guide page for career promotions and details ::Not Fully Updated::
          [HERE]
      • Type:1(Bankers) - Banking options and stats
      • Type:2(Vendors) - Add items for players to buy
      • Type:3(Stats) - View your stats on this NPC
      • Type:4(Rebuyers) - Add items to this NPC for players to resell to
      • Type:5(XP Traders) - Menu to trade in XP for cash
      • Type:6(Police Equipment) - Police use <action> to gain weapons dependant on their job
      • Type:7(Police Vendors) - Vendor that only police can use
      • Type:8(DonorWeapons Vendors) - VIPs use <action> to gain weapons dependant on their rank
      • Type:9(Auctioneer) - Disabled
      • Type:10(Taxi Drivers) - Nicks Taxi NPC
      • Type:11(Free Job Employer) - Nicks Dynamic Jobs



      Crime System:
      Spoiler

      Crime is earned from criminal behavior and illegal item use. Cops can cuff criminals with enough crime and they will go to jail. The more crime you have the longer you'll stay in jail. The max jail time being thirty minutes. Type /defaults in chat to see cuff-rate (crime you can be cuffed at).



      Bounty System:
      Spoiler

      If you gain enough crime you will get a bounty on your head. The more bounty the more the reward a player gets if they kill you, and you go to jail. Type /defaults in chat to see bounty-rate (crime you get a bounty at).



      Jail System:
      Spoiler
      • Prisoners HUD will display how long they've been cuffed, when their auto-release is, and when they can be uncuffed by a cop.
      • Cops can not uncuff prisoners freely.
      • Jail time is 1 second for every 10 crime the prisoner had when cuffed.
      • Cops can release a prisoner after 50% of their time has been served.
      • To tell when someone has served enough time in jail, look at them, then read "Release From Jail: Yes/No"
      • Jail times can not exceed 30 minutes. After 30 minutes players are auto-released.



      Starter Pack:
      Spoiler

      You can edit the starter pack in the rp_main. Search for the code below (Ctrl+F)
      Code:
      //If Person is new - This is the Starter Pack
          if(Minutes[Client] == 0)
          {
              CPrintToChat(Client, "{blue}[RP] You are new to this server. Giving you a starter pack. Now type /motd for help.");
              Minutes[Client] = 1;
              Bank[Client] = 10000;
              CPrintToChat(Client, "{green}[RP]x01 Bank: %d", Bank[Client]);
              ServerCommand("sm_additem %d 4 6", Client);
              Save(Client);
          }



      HUD System:
      Spoiler

      I will just put screenshots for this part.

      Look on the top left corner of the screen to see the HUD. It has important information.
      Type /hudcolor in chat then hit the "ESC" key to access the HUD color changing menu.
      Type /mainhud in chat to cycle between the three HUD displays (Left/Top/Off - Top may be messy as I have seperated the time from the same display).
      Type /centerhud in chat to cycle the centerhud on/off (when you are looking at another player).



      Player Stats:
      Spoiler

      Almost all of your stats can be viewed at a stats NPC. Your income and other alikes can be viewed at a banker.



      Pay System:
      Spoiler

      You earn your wage every minute. Which goes into your "Earned Cash". Which can then be withdrawn by pressing <action> on a banker vendor and seleting "Pocket Earned Cash" at which point you'll want to then bank the cash.



      Job System:
      Spoiler

      The roflcopter roleplay feautres dynamic jobs and custom jobs. I recently sorted these two out.
      Dynamics
      • A dynamic job is when you employ yourself by talking to an employment NPC.
      • You gain XP by doing your job. Type /jobinfo in chat to see how to do your current job.
      • XP can be used to employ yourself in other careers or promote yourself at your current occupation NPC.
      • Each job/rank has a set pay. Dynamic job titles are called "Job" and payments "Wage" and time "Job Time".

      Customs
      • A custom job is when you type /job <name> in chat to set yourself a custom job.
      • You must be a "Citizen" under dynamic jobs before your custom job will activate.
      • Just see a demotion NPC to get demoted to "Citizen", if not already.
      • Unlike dynamic jobs your pay increases by how much time you have in custom jobs.
      • You can check how much time until your next raise at a stats NPC.
      • Custom jobs titles are called "Occupation" and payment "Salary" and time "Occupation Time".



      Player Menu/Vendor System:
      Spoiler
      • Certain dynamic jobs allow you to sell items. EX: Gun Lord sells guns.
      • A job that sells items is a player vendor. A player vendor can view their stock with /stock.
      • Players can buy from player vendors by pressing <action> on them and visiting the [Use Player] menu.
      • You can add player vendors and edit their stocks in the pvitems.txt
      • Other dynamic jobs allow you to use actions on players. EX: Doctors can heal.
      • To do this a player would use <action> on another and visit the [Your Actions] menu.
      • These functions could easily be moved directly to CommandUse, but that is up to you.



      Hunger System:
      Spoiler
      • Hunger is displayed in your main HUD. Your hunger shows how hungry you are, from "Full" to "Dieng of Hunger".
      • Lessen your hunger by eating food bought from vendors offering them or food employed players.
      • Different foods feed you better (this can be set in the items.txt).
      • If your hunger displays "Starving" or lower you will not gain pay or minutes in the server.
      • If your hunger sits at "Dieng of Hunger" too long you will die and respawn at "Starving".



      Stamina System:
      Spoiler
      • Stamina is displayed in your main HUD. Your stamina shows how tired you are [0-100].
      • Stamina is required to do things throughout the roflcopter roleplay (Robbing/using items).
      • Regain your stamina by drinking stam shakes bought from vendors offering them or food(Rank dependant) employed players.
      • Different shakes feed you better (this can be set in the items.txt).
      • If your hunger displays "Starving" or lower you will not gain pay or minutes in the server.
      • Your stamina will slowly regenerate every minute. How much it regenerates each minute depends on your <job-lvl> (not promotion).



      Job-Level System:
      Spoiler
      • When you promote yourself throughout your careers the mod sets your job-level as well.
      • This can be changed in the script or manually set with sm_employ.
      • The higher your job-level the more your stamina regenerates every minute.



      Unique Items:
      Spoiler
      • Cloak - Camoflauges the player
      • Snow Cloak - Causes snow flakes to fall around you
      • Roflcopter - A tool built for one to fly (mods theme item)
      • Virus - <action> will release a gas and kill players near by turning them into zombies (needs testing)
      • Radio - Allows you to put CDs in and play them (Has a stop feature but it does not work)
      • CD's - Add different CD's in the items.txt file
      • Lamp - Spawn a lamp that can be turned on/off
      • Timebomb - Place one of these in someones pocket!
      • Item Packs - Allows you to sell items in packs
      • Present - Chooses between specified items to randomly give one the happy player
      • Arrest Warrant - Does nothing right now
      • Search Warrant - Use this on criminals door then /kickdoor to break one lock, unlock the door, and open it!
      • Megaphone - I like to talk in green txt in chat too
      • Prize Food - Food that gives you a surprise item is the best
      • Stamina Shakes - Refill that stamina
      • Medkit - This is different from a healthkit. Medkits let you heal OTHER players
      • Nervegas - Kill the town with gas!
      • Canister(Beta) - I recently made the canister and it should work fine. Pressing <action> releases a gas that infects nearby players, turning them into zombies for one life span.
      • Printer(Beta) - This is pretty much the same thing as Nicks drug plant with some modifications to act like printers off of Gmod. Payouts and chances to blow up.
      • Drug Plant - Drug plant from Nicks mod with some variable modifications.

      Changed: Nerfd drugs and printers A LOT. Both cost $500. Max printers is one and drugs three. Printers have %30 chance to blow each use and pay $10 every minute.
      Drugs have %65 chance to pay every minute and gives 2 grams. Grams are $2 each. Max grams is 500. Both combined is around 6k profit in 5hrs
      Without explosions and skipped minutes, explosions possibly leading to profit loss.
      Changed: Drug Addict into Illegal Dealer who sells illegal items. The item can then be used by the player, but not dropped or used by cops.



      Prisoner Options:
      Spoiler
      • Feed: Feed the prisoner
      • AFKROOM: Sends a player to the AFK room
      • VIPJail: Sends a prisoner to the VIP cell
      • Execute: Sentence a prisoner to execution
      • Suicide Chamber: Sends a prisoner to a suicide chamber
      • Suicide Chamber 2: Sends a prisoner to a suicide chamber
      • Shackle: Freeze a prisoner
      • Unshackle: Unfreeze a prisoner
      • Grab: Grab a prisoner
      • Let Go: Let go of a prisoner



      Talkzone System:
      Spoiler

      Details
      • Say chat is global.
      • Teamsay is global but limited to a radius in which players can hear you.
      • Teamsay radius can be increased by including "yell" at the begining.
      • Teamsay can be reduced by saying "whisper" at the begining.
      • Use phones to talk to other players.

      Commands
      • sm_call <player> - Call a player.
      • sm_answer - Answer your phone
      • sm_hangup - Hang up your phone
      • sm_togglephone - Turn your phone on/off

      Admin Commands
      • sm_call <player> - Call a player.
      • sm_sayadmin <message> - Says to all players.
      • sm_megaphone <message> - Prints text to everyone.



      Props System: Disabled Until Fixed
      Spoiler

      The prop plugin saves all props to the maps data directory in props.txt every 2 minutes.
      Admin Commands
      • sm_saveit - Saves all props on the map.
      • sm_spawn <model path> - Spawns a prop. EX: models/gman.mdl
      • sm_killit - Deletes a prop.
      • sm_freezeit - Freezes a prop.
      • sm_unfreezeit - Unfreezes a prop.
      • sm_walkthru - Makes a prop able to be walked through.



      Door System:
      Spoiler

      Client Commands
      • sm_door - Look at a door you want to buy/manage to bring up the menu.
      • sm_doors - Tells you how many doors you own
      • sm_kickdoor - Cops can use this after they pull a warrant to kick in a door.

      Admin Commands
      • sm_givedoor <Name> - Gives a door to a player.
      • sm_takedoor - Removes the owner and puts a door up for sale.
      • sm_givepermkey <Name> - Gives the door to a player
      • sm_setowner <player ID> <door ID> - sets an owner.
      • sm_removeowner <player ID> <door ID> - removes an owner.
      • sm_gkey <owner ID> <player ID> <door ID> - gives a key.
      • sm_tkeys <owner ID> <door ID> - takes keys.
      • sm_setprice <price> - sets a price on a door you look at.
      • sm_setlink <Main Door> <Linked Door> - Links a door.
      • sm_takepermkey <Name> - Takes the door from a player
      • sm_permkeys - Lookup for owner
      • sm_takepermbyid <SteamID> - Remove user by SteamId
      • sm_showprice - Look at door
      • sm_keys - Look at a door to see the owner and key holders.
      • sm_lastbreak - Look at a door to see the last break-in.
      • sm_allpermkeys - Point and go.
      • sm_lockit - Items can not break or bypass this lock.
      • sm_unlockit - Unlocks an admin locked door.

      Configuration Commands
      • sm_createrebeldoor <1-64> - Create a default rebel door.
      • sm_removerebeldoor <1-64> - Remove a default rebel door.
      • sm_listrebeldoors - List the default rebel doors.
      • sm_createvipdoo <1-64> - Create a default VIP door.
      • sm_removevipdoor <1-64> - Remove a default VIP door.
      • sm_listvipdoors - List the default VIP doors.



      Push System:
      Spoiler
      • Rebels may use sm_push to nudge someone.
      • Rebels may use a crowbars secondary attack to push players (Josteling cops gains crime).
      • Cops may use a stunsticks secondary attack to shuv players.



      VIP System:
      Spoiler
      • sm_setvip <1-4> - Sets a players VIP status (0 == Removed - 1 == VIP - 2 == Ultimate VIP - 3 == Weapons Pack - 4 == Advanced Weapons Pack)

      Code:
      if(Status == 0)
              {
                  VIP[Player] = 0;
                  Hunger[Player] = 100;
                  //VIPTime[Player] = 0;
                  ServerCommand("sm_getitem %d 167 1", Player);
       
                  CPrintToChat(Player, "{green}[RP]x01 Your VIP status has been removed by %N", Client);
                  Save(Player);
              } else
              if(Status == 1)
              {
                  VIP[Player] = 1;
                  Hunger[Player] = 100000;
                  ServerCommand("sm_getitem %d 167 1", Player);
                  ServerCommand("sm_additem %d 167 1", Player);
                  //VIPTime[Player] = 2592000;
                  //VIPTime[Player] -= 1;
                  CPrintToChat(Player, "{green}[RP]x01 Your status has been set to VIP by %N", Client);
                  Save(Player);
              } else
              if(Status == 2)
              {
                  VIP[Player] = 2;
                  Hunger[Player] = 100000;
                  ServerCommand("sm_getitem %d 167 1", Player);
                  ServerCommand("sm_additem %d 167 1", Player);
                  ServerCommand("sm_addbank %d 25000", Player);
                  CPrintToChat(Player, "{green}[RP]x01 Your status has been set to Ultimate VIP by %N", Client);
                  Save(Player);
              } else
              if(Status == 3)
              {
                  VIP[Player] = 3;    
                  CPrintToChat(Player, "{green}[RP]x01 Your status has been set to Weapon Package by %N", Client);
                  Save(Player);
              } else
              if(Status == 4)
              {
                  VIP[Player] = 4;  
                  CPrintToChat(Player, "{green}[RP]x01 Your status has been set to Advanced Weapon Package by %N", Client);
                  Save(Player);
              }
      Crime System:
      Spoiler

      Crime is earned from criminal behavior and illegal item use. Cops can cuff criminals with enough crime and they will go to jail. The more crime you have the longer you'll stay in jail. The max jail time being thirty minutes. Type /defaults in chat to see cuff-rate (crime you can be cuffed at).



      Bounty System:
      Spoiler

      If you gain enough crime you will get a bounty on your head. The more bounty the more the reward a player gets if they kill you, and you go to jail. Type /defaults in chat to see bounty-rate (crime you get a bounty at).



      Jail System:
      Spoiler
      • Prisoners HUD will display how long they've been cuffed, when their auto-release is, and when they can be uncuffed by a cop.
      • Cops can not uncuff prisoners freely.
      • Jail time is 1 second for every 10 crime the prisoner had when cuffed.
      • Cops can release a prisoner after 50% of their time has been served.
      • To tell when someone has served enough time in jail, look at them, then read "Release From Jail: Yes/No"
      • Jail times can not exceed 30 minutes. After 30 minutes players are auto-released.



      Starter Pack:
      Spoiler

      You can edit the starter pack in the rp_main. Search for the code below (Ctrl+F)
      Code:
      //If Person is new - This is the Starter Pack
          if(Minutes[Client] == 0)
          {
              CPrintToChat(Client, "{blue}[RP] You are new to this server. Giving you a starter pack. Now type /motd for help.");
              Minutes[Client] = 1;
              Bank[Client] = 10000;
              CPrintToChat(Client, "{green}[RP]x01 Bank: %d", Bank[Client]);
              ServerCommand("sm_additem %d 4 6", Client);
              Save(Client);
          }



      HUD System:
      Spoiler

      I will just put screenshots for this part.

      Look on the top left corner of the screen to see the HUD. It has important information.
      Type /hudcolor in chat then hit the "ESC" key to access the HUD color changing menu.
      Type /mainhud in chat to cycle between the three HUD displays (Left/Top/Off - Top may be messy as I have seperated the time from the same display).
      Type /centerhud in chat to cycle the centerhud on/off (when you are looking at another player).

      Talkzone System:
      Spoiler

      Details
      • Say chat is global.
      • Teamsay is global but limited to a radius in which players can hear you.
      • Teamsay radius can be increased by including "yell" at the begining.
      • Teamsay can be reduced by saying "whisper" at the begining.
      • Use phones to talk to other players.

      Commands
      • sm_call <player> - Call a player.
      • sm_answer - Answer your phone
      • sm_hangup - Hang up your phone
      • sm_togglephone - Turn your phone on/off
      • VIP System:
        Spoiler
        • VIP는 번호로 지정됩니다. <1-4> - Sets a players VIP status (0 == 없음 - 1 == VIP - 2 == Ultimate VIP - 3 == Weapons Pack - 4 == Advanced Weapons Pack)
        • MVP는 유료구매입니다.

        Code:
        if(Status == 0)
                {
                    VIP[Player] = 0;
                    Hunger[Player] = 100;
                    //VIPTime[Player] = 0;
                    ServerCommand("sm_getitem %d 167 1", Player);
         
                    CPrintToChat(Player, "{green}[RP]x01 Your VIP status has been removed by %N", Client);
                    Save(Player);
                } else
                if(Status == 1)
                {
                    VIP[Player] = 1;
                    Hunger[Player] = 100000;
                    ServerCommand("sm_getitem %d 167 1", Player);
                    ServerCommand("sm_additem %d 167 1", Player);
                    //VIPTime[Player] = 2592000;
                    //VIPTime[Player] -= 1;
                    CPrintToChat(Player, "{green}[RP]x01 Your status has been set to VIP by %N", Client);
                    Save(Player);
                } else
                if(Status == 2)
                {
                    VIP[Player] = 2;
                    Hunger[Player] = 100000;
                    ServerCommand("sm_getitem %d 167 1", Player);
                    ServerCommand("sm_additem %d 167 1", Player);
                    ServerCommand("sm_addbank %d 25000", Player);
                    CPrintToChat(Player, "{green}[RP]x01 Your status has been set to Ultimate VIP by %N", Client);
                    Save(Player);
                } else
                if(Status == 3)
                {
                    VIP[Player] = 3;    
                    CPrintToChat(Player, "{green}[RP]x01 Your status has been set to Weapon Package by %N", Client);
                    Save(Player);
                } else
                if(Status == 4)
                {
                    VIP[Player] = 4;  
                    CPrintToChat(Player, "{green}[RP]x01 Your status has been set to Advanced Weapon Package by %N", Client);
                    Save(Player);
                }


        Player Stats:
        Spoiler

        Almost all of your stats can be viewed at a stats NPC. Your income and other alikes can be viewed at a banker.



        Commands
        Spoiler
        Admin Commands:
        • sm_createjob <ID> <Job> <0|1> - Creates a job (public|admin).
        • sm_removejob <ID> <0|1> - Removes a job from the database (public|admin).
        • sm_joblist - Lists jobs from the database.
        • sm_employ <Name> <ID> <Lvl> - Employ a player manually.
        • sm_firecop <name> - Fires a cop.
        • sm_employcop <name> - Employs a cop.
        • sm_createitem <ID> <name> <type> <variable> <cost> - Creates an item in the database.
        • sm_removeitem <Id> - Removes an item from the database.
        • sm_itemlist - Lists items from the database.
        • sm_reloaditems - Reloads the item database. Need this if you add/remove/edit anything while sever is laoded.
        • sm_additem <Name> <Id> <Amount> - Gives an item to a player.
        • sm_name <Name> <New Name> - Sets name.
        • sm_status - Lists status of all players.
        • sm_info <Name> - Returns player info.
        • sm_listitem <Name> - Lists all Items the player owns.
        • sm_getitem <Name> <Id> <Amount> - Removes an item from a player.
        • sm_setbank <Name> <Amount> - Sets the Bank of the Client.
        • sm_setmoney <Name> <Amount> - Sets the money of the Client.
        • sm_addbank <Name> <Amount> - Adds to the Bank of the Client.
        • sm_addmoney <Name> <Amount> - Adds to the money of the Client.
        • sm_takebank <Name> <Amount> - Takes from the Bank of the Client.
        • sm_takemoney <Name> <Amount> - Takes from the money of the Client.
        • sm_setminutes <Name> <Amount> - Sets the minutes of the Client.
        • sm_addminutes <Name> <Amount> - Adds minutes to the Client.
        • sm_takeminutes <Name> <Amount> - Takes minutes from the Client.
        • sm_setxp <Name> <Amount> - Set clients experience.
        • sm_addxp <Name> <Amount> - Add to clients experience.
        • sm_takexp <Name> <Amount> - Take from clients experience.
        • sm_sethunger <Name> <Amount> - Set clients hunger.
        • sm_setvip <ID> - Sets a players VIP status.
        • sm_cuff - Cuffs a player.
        • sm_uncuff - Uncuffs a player.
        • sm_crime <Name> <Crime #> - Sets crime.
        • sm_bounty <name> <amount> - Sets bounty.
        • sm_bountyall <bounty> - Sets a bounty on everyone.
        • sm_gpsbug <Player 1> <Player 2> - Set a tracer from one player to another (Player one sees it).
        • sm_withdraw <amount> - Withdraw money if 100 points from a banker.
        • sm_deposit <amount> - Deposit money if 100 points from a banker.
        • sm_afkroom - Send a person to AfkRoom.
        • sm_shackle <name> - Shackles a player.
        • sm_unshackle <name> - Unshackles a player.
        • sm_pull <name> - Toggles towing a player.
        • sm_forcepull <leader name> <follower name> - Set towing between players.
        • sm_envlamp - Spawns an environment lamp.
        • sm_blacklamp - Spawns a black lamp.
        • sm_setnotice <ent> "<Name>" - Sets a name on a specified entity.
        • sm_looknotice <0|1> "<Name>" - Sets a name on the object under crosshairs.
        • sm_lockit - A lock that can not be bypassed.
        • sm_unlockit - Unlock an admin lock.
        • sm_exchangerate <amount> - Sets a new exchange rate. How many dollars for one experience.
        • sm_convertitem <original id> <new id> - Change item ids in the save database. Can only be run through rcon/console with no players on. This is to prevent data corruption.
        • sm_bonuscash - Gives bonus cash for time. Made for a reset, can be removed.
        • sm_compcash - Gives 35k if minutes are above 239. Made for a reset, can be removed.
        • sm_timersreset - Resets the games timers.
        • sm_dlcheck <Name> <ID> - Prints out the downloads table (Don't believe this currently works).
        • sm_addgamblingzone <zone id> - Add a gambling zone
        • sm_removegamblingzone <zone id> - Remove a gambling zone
        • sm_listgamblingzones - List Gambling Zones that are used
        • sm_setgamblingowner <name> <zone id> - Set a gambling zone owner.
        • sm_removegamblingowner <zone id> - Remove a gambling zone owner.
        • sm_auct - Not used.
        • sm_boersenschluss - Not used.
        • sm_boersencrash - Not used.

        Console Commands:
        • sm_dropmoney - Menu to drop money.
        • sm_gender - Switch between male/female genders.
        • sm_rank - Prins your rank stats in chat.
        • sm_stock - Shows an employed player their stock.
        • sm_model - Menu to change your gender model.
        • sm_switch - Command for cops to switch on/off duty (Spawn is always off-duty).
        • sm_noclip_off - Command to toggle noclip item off.
        • +roflcopter - Bind to a key to use a roflcopter if one is in your inventory and enabled.
        • -roflcopter - GoDown.
        • sm_duel - Toggles dueling mode on/off. Two players must have dueling enabled to deal damage to each other (This is for Cops vs Cops and Rebels vs Rebels).
        • sm_push - Nudges a player.
        • sm_hudcolor - Menu for changing HUD colors.
        • sm_job <name> - Set a custom job.
        • sm_jobinfo - See your current jobs details.
        • sm_defaults - Get a chat print out of all the roleplay defaults.
        • sm_vipjail - Send a prisoner to VIP jail (Cops only).
        • kickdoor - Kicks in a door after using a warrant (Cops only).
        • sm_casinocommands - Prints out the casino commands.
        • sm_mycasinos - Prints out info for your casinos.
        • sm_givecasinomoney - Put money into your casino.
        • sm_takecasinomoney - Take money from your casino.
        • sm_opencasino - Open your casino.
        • sm_closecasino - Close your casino.
        • sm_maxbet - Sets a max bet allowed in your casino.
        • sm_bettypes - Prints out bet types.
        • sm_bet <type> <amount> - Used to bet in casinos. Use sm_bettypes for bet types.
        • sm_doors - Show how many doors you have.
        • sm_door - Menu to manage/buy a door.

        Say Commands:
        • /exitafk - Used to exit the afkroom.
        • /tracers - Toggles tracers on/off.
        • /items - Displays the inventory menu.
        • /watergunon - Turns a firefighters watergun on.
        • /watergunoff - Turns a firefighters watergun off.
        • /diffuse - Disarms a bomb.
        • /dispose - Disposes of a disarmed bomb.
        • /mainhud - Cycle between three HUD states (top-left-off). Top format is messy for now.
        • /centerhud - Cycles the center/player HUD on/off.

        Console Commands:
        • sm_dropmoney - Menu to drop money.
        • sm_gender - Switch between male/female genders.
        • sm_rank - Prins your rank stats in chat.
        • sm_stock - Shows an employed player their stock.
        • sm_model - Menu to change your gender model.
        • sm_switch - Command for cops to switch on/off duty (Spawn is always off-duty).
        • sm_noclip_off - Command to toggle noclip item off.
        • +roflcopter - Bind to a key to use a roflcopter if one is in your inventory and enabled.
        • -roflcopter - GoDown.
        • sm_duel - Toggles dueling mode on/off. Two players must have dueling enabled to deal damage to each other (This is for Cops vs Cops and Rebels vs Rebels).
        • sm_push - Nudges a player.
        • sm_hudcolor - Menu for changing HUD colors.
        • sm_job <name> - Set a custom job.
        • sm_jobinfo - See your current jobs details.
        • sm_defaults - Get a chat print out of all the roleplay defaults.
        • sm_vipjail - Send a prisoner to VIP jail (Cops only).
        • kickdoor - Kicks in a door after using a warrant (Cops only).
        • sm_casinocommands - Prints out the casino commands.
        • sm_mycasinos - Prints out info for your casinos.
        • sm_givecasinomoney - Put money into your casino.
        • sm_takecasinomoney - Take money from your casino.
        • sm_opencasino - Open your casino.
        • sm_closecasino - Close your casino.
        • sm_maxbet - Sets a max bet allowed in your casino.
        • sm_bettypes - Prints out bet types.
        • sm_bet <type> <amount> - Used to bet in casinos. Use sm_bettypes for bet types.
        • sm_doors - Show how many doors you have.
        • sm_door - Menu to manage/buy a door.

        Say Commands:
        • /exitafk - Used to exit the afkroom.
        • /tracers - Toggles tracers on/off.
        • /items - Displays the inventory menu.
        • /watergunon - Turns a firefighters watergun on.
        • /watergunoff - Turns a firefighters watergun off.
        • /diffuse - Disarms a bomb.
        • /dispose - Disposes of a disarmed bomb.
        • /mainhud - Cycle between three HUD states (top-left-off). Top format is messy for now.
        • /centerhud - Cycles the center/player HUD on/off.



        Job Information
        Spoiler

        Key
        <career>
        • <job> [<wage amount>]
          • <required minutes>
          • <required experience>

        Dynamic Jobs
        Sanitation Career
        Pick up garbage and throw it into a dumpster, then press <action> on the dumpster to recycle the trash for experience.
        • Street Sweeper [$8]
          • 0 minutes
          • 0 experience
        • Sanitation Engineer [$11]
          • -- minutes
          • 300 experience
        • City Maintenance [$14]
          • -- minutes
          • 900 experience
        • State Health Inspector [$17]
          • -- minutes
          • 1800 experience
        • National Sanitation Engineer [$20]
          • -- minutes
          • 2700 experience


        Teaching Career
        Players may use <action> on you and visit the [Use Player] menu for motd URLs (set in the source).
        • Teaching Assistant [$8]
          • 180 minutes
          • 0 experience
        • Teacher [$11]
          • -- minutes
          • 70 experience
        • Principal [$14]
          • -- minutes
          • 105 experience

        Homemaking Career
        People can press <action> on you, then choose [Use Player] and buy things from you. You may type /stock to see what you sell.
        • Furniture Seller [$8]
          • 60 minutes
          • 0 experience
        • Furniture Mover [$11]
          • -- minutes
          • 200 experience
        • Interior Decorator [$14]
          • -- minutes
          • 500 experience


        Weapons Dealer Career
        People can press <action> on you, then choose [Use Player] and buy things from you. You may type /stock to see what you sell.
        • Light Weapons Dealer [$11]
          • 60 minutes
          • 200 experience
        • Heavy Weapons Dealer [$17]
          • -- minutes
          • 1500 experience
        • Gun Lord [$23]
          • -- minutes
          • 3700 experience


        Cooking Career
        People can press <action> on you, then choose [Use Player] and buy things from you. You may type /stock to see what you sell.
        • <job> [$9]
          • 0 minutes
          • 0 experience
        • <job> [$13]
          • 0 minutes
          • 0 experience
        • <job> [$17]
          • 0 minutes
          • 0 experience
        • <job> [$21]
          • 0 minutes
          • 0 experience
        • <job> [$25]
          • 0 minutes
          • 0 experience

        Banking Career
        People can press <action> on you, then choose [Use Player] for banker options.
        • Bank Associate [$12]
          • 120 minutes
          • 500 experience
        • Banker [$19]
          • -- minutes
          • 3500 experience


        Medical Career
        Press <action> on people who are hurt, then visit [Your Actions] menu and heal them.
        • Med Student [$10]
          • 240 minutes
          • 200 experience
        • Med Resident [$15]
          • -- minutes
          • 500 experience
        • Doctor [$20]
          • -- minutes
          • 1200 experience
        • Surgeon [$25]
          • -- minutes
          • 2300 experience
        • Chief of Surgery [$30]
          • -- minutes
          • 3400 experience


        Gangster Career
        Kill rebels with crime for experience and cops for experience.
        • Gangster [$12]
          • 180 minutes
          • 600 experience
        • Mafia Member [$19]
          • -- minutes
          • 1550 experience
        • Mafia Boss [$26]
          • -- minutes
          • 5100 experience


        Rebel Career
        This is a new idea career. Rebels may use [Use Player] to cuffsaw a prisoner. Cuffsaw has a 5m cooldown and gives crime.
        Rebels may not attack eachother unless they toggle /duel to enabled. This does not include the leader.
        • Rebel [$18]
          • 0 minutes
          • 3000 experience
        • Rebel Leader [$25]

        Exclusive Jobs
        Police Career
        Arrest people with crime and pull them to jail.
        • Police Recruit [$15]
        • Police Officer [$25]
          • -- minutes
          • 1k experience
        • Police Medic [$35] (Can be swapped with "Police Chief" without losing your job)
          • -- minutes
          • 2k experience
        • Police Chief [$35] (Can be swapped with "Police Medic" without losing your job)
          • -- minutes
          • 3k experience
        • SWAT [$45]
          • -- minutes
          • 4k experience


        Firefighter Career
        Put out fires, disarm, diffuse and dispose of bombs.
        • Firefighter [$30]


        Political Career
        Nothing, just wages.
        • City Official [$20]
          • 14400 minutes
          • 0 experience


        VIP Career
        VIP's are now handled through sm_setvip and other means. This is just for those that want this career.
        • VIP [--]
        • Ultimate VIP [--]


        Management Career
        Nothing, be awesome.
        • Management [$100]


        Key
        <career>
        • <job> [<wage amount>]
          • <required minutes>
          • <required experience>

        Dynamic Jobs
        Sanitation Career
        Pick up garbage and throw it into a dumpster, then press <action> on the dumpster to recycle the trash for experience.
        • Street Sweeper [$8]
          • 0 minutes
          • 0 experience
        • Sanitation Engineer [$11]
          • -- minutes
          • 300 experience
        • City Maintenance [$14]
          • -- minutes
          • 900 experience
        • State Health Inspector [$17]
          • -- minutes
          • 1800 experience
        • National Sanitation Engineer [$20]
          • -- minutes
          • 2700 experience


        Teaching Career
        Players may use <action> on you and visit the [Use Player] menu for motd URLs (set in the source).
        • Teaching Assistant [$8]
          • 180 minutes
          • 0 experience
        • Teacher [$11]
          • -- minutes
          • 70 experience
        • Principal [$14]
          • -- minutes
          • 105 experience

        Homemaking Career
        People can press <action> on you, then choose [Use Player] and buy things from you. You may type /stock to see what you sell.
        • Furniture Seller [$8]
          • 60 minutes
          • 0 experience
        • Furniture Mover [$11]
          • -- minutes
          • 200 experience
        • Interior Decorator [$14]
          • -- minutes
          • 500 experience


        Weapons Dealer Career
        People can press <action> on you, then choose [Use Player] and buy things from you. You may type /stock to see what you sell.
        • Light Weapons Dealer [$11]
          • 60 minutes
          • 200 experience
        • Heavy Weapons Dealer [$17]
          • -- minutes
          • 1500 experience
        • Gun Lord [$23]
          • -- minutes
          • 3700 experience


        Cooking Career
        People can press <action> on you, then choose [Use Player] and buy things from you. You may type /stock to see what you sell.
        • <job> [$9]
          • 0 minutes
          • 0 experience
        • <job> [$13]
          • 0 minutes
          • 0 experience
        • <job> [$17]
          • 0 minutes
          • 0 experience
        • <job> [$21]
          • 0 minutes
          • 0 experience
        • <job> [$25]
          • 0 minutes
          • 0 experience

        Banking Career
        People can press <action> on you, then choose [Use Player] for banker options.
        • Bank Associate [$12]
          • 120 minutes
          • 500 experience
        • Banker [$19]
          • -- minutes
          • 3500 experience


        Medical Career
        Press <action> on people who are hurt, then visit [Your Actions] menu and heal them.
        • Med Student [$10]
          • 240 minutes
          • 200 experience
        • Med Resident [$15]
          • -- minutes
          • 500 experience
        • Doctor [$20]
          • -- minutes
          • 1200 experience
        • Surgeon [$25]
          • -- minutes
          • 2300 experience
        • Chief of Surgery [$30]
          • -- minutes
          • 3400 experience


        Gangster Career
        Kill rebels with crime for experience and cops for experience.
        • Gangster [$12]
          • 180 minutes
          • 600 experience
        • Mafia Member [$19]
          • -- minutes
          • 1550 experience
        • Mafia Boss [$26]
          • -- minutes
          • 5100 experience


        Rebel Career
        This is a new idea career. Rebels may use [Use Player] to cuffsaw a prisoner. Cuffsaw has a 5m cooldown and gives crime.
        Rebels may not attack eachother unless they toggle /duel to enabled. This does not include the leader.
        • Rebel [$18]
          • 0 minutes
          • 3000 experience
        • Rebel Leader [$25]

        Exclusive Jobs
        Police Career
        Arrest people with crime and pull them to jail.
        • Police Recruit [$15]
        • Police Officer [$25]
          • -- minutes
          • 1k experience
        • Police Medic [$35] (Can be swapped with "Police Chief" without losing your job)
          • -- minutes
          • 2k experience
        • Police Chief [$35] (Can be swapped with "Police Medic" without losing your job)
          • -- minutes
          • 3k experience
        • SWAT [$45]
          • -- minutes
          • 4k experience


        Firefighter Career
        Put out fires, disarm, diffuse and dispose of bombs.
        • Firefighter [$30]


        Political Career
        Nothing, just wages.
        • City Official [$20]
          • 14400 minutes
          • 0 experience


        VIP Career
        VIP's are now handled through sm_setvip and other means. This is just for those that want this career.
        • VIP [--]
        • Ultimate VIP [--]


        Management Career
        Nothing, be awesome.
        • Management [$100]


         

        저작자표시 (새창열림)

        '정보' 카테고리의 다른 글

        #1. PPT 발표 준비를 해보자! [기초편]  (0) 2016.09.04
        어떤 선크림을 발라야 할까?  (1) 2016.08.04
        네이버와 티스토리의 방문객수 차이 비교  (4) 2015.10.12
        '정보' 카테고리의 다른 글
        • #1. PPT 발표 준비를 해보자! [기초편]
        • 어떤 선크림을 발라야 할까?
        • 네이버와 티스토리의 방문객수 차이 비교
        백고미
        백고미
        • 백고미
          백고미의 정신세계
          백고미
        • 전체
          오늘
          어제
          • 분류 전체보기 (125)
            • [ 공지사항 ] (0)
            • 정보 (14)
              • 워프레임 (5)
              • 게임 (3)
              • 군대 (1)
              • 이민 (1)
            • Java Spring (43)
              • JSP와 스프링 (34)
              • Tip (9)
            • Spring boot (1)
              • Tip (1)
            • 직업 정보 (2)
              • 경찰 공무원 (2)
              • AAFES (0)
              • HD GFD (0)
            • 리뷰 (1)
              • 인터넷 (1)
            • Life (2)
              • 운동 (1)
              • 자격증 (1)
            • 소스모드 (27)
              • CSGO (7)
              • CSS (0)
              • HL2DM (2)
              • L4D2 (1)
              • BMS (0)
              • TIP (16)
              • Extension (1)
              • 문법 (0)
            • C# (4)
              • s&box (4)
            • LUA (8)
              • Garry's Mod (8)
            • Resource (11)
              • Player Model (1)
              • Npc Model (1)
              • Weapon Model (2)
              • PropPhyics (6)
              • PropDynamic (1)
              • Texture (0)
              • Animation Texture (0)
              • Overlay (0)
              • Effect Sound (0)
              • Particle (0)
            • 일기장 (1)
              • TRH (4)
              • 스케줄 (1)
              • Els (0)
              • 프로젝트 (3)
        • 블로그 메뉴

          • 홈
          • 태그
          • 미디어로그
          • 위치로그
          • 방명록
        • 링크

          • John John한 블로그
        • 공지사항

        • 인기 글

        • 태그

          키벨류
          윈도우10 닌자캣
          발표 PPT
          경찰공무원 선택과목
          병무청가는길
          경찰공무원 가산점표
          경기북부병무청 망월사
          순경 가산점
          경찰 간부후보생
          공찰공무원 필수과목
          경기북부병무청
          경기북부 병무청 가는 법
          경찰 가산점표
          경찰 공무원 응시 자격
          경찰시험 응시 자격
          윈도우10 참가자 프로그램
          경기북부 병무청 가는길
          윈도우10 1주년
          스쿼트 운동 효과
          경기북부병무청 가는법
          경기북부 병무청
          경기북부 병무청 가는 길
          병무청 가는 법
          운전면허 종류
          경기북부병무청 회룡역
          윈도우10 고양이
          경기북부병무지청
          병무청가는법
          원동기장치면허
          병무청 가는 길
        • 최근 댓글

        • 최근 글

        • hELLO· Designed By정상우.v4.10.3
        백고미
        Official Half-Life 2: Deathmatch Roflcopter Roleplay Mod
        상단으로

        티스토리툴바