Step 3.: Get SDKHooks (Sourcemod 1.5 and above comes with these
Step 4.: Reset Server
NOTICE:
Since [GR] Nick removed his Roleplay Mod from Public availability, and was banned off AlliedModders Forums, I've decided to release this mod to the public. It isn't a leak, nor stolen mod. I was given this Version and Mod (3.2.6n) by Nick himself, and I've been given permission to edit and repost as my own work.
v1.6.5:
-Drug Dealer is now useless (All jobs share a Drugpoint cooldown, you'll see as drug are items now.
-New cvar sv_maxdrugpoints - Default: 10
-Search Warrant, Drug Plant, Jihad Bomb and Nuclear bomb items added
v1.6.3:
-Removed all pointless and stupid comments
+You can now heal upto your job's HP
-Removed all unnecessary "GetClientName" Uses
v1.6.1: Fixed jail timer, added when you get out, added a new job item: Unlimited Sprint (usage: "sprint" "1" 1 = Unlimited Sprint, 0 = Limited)
v1.6: SQL Update:
Several formal updates (Adding commas to money values, much more optimized hud
*IMPORTANT* Instructions for updating the mod:
Spoiler
Everything needs to be replaced. I mean EVERY file for the roleplay mod. Yes this means players WILL need to be refunded, however it's for a greater cause in the long run.
You also need to add this section to your "addons/sourcemod/configs/databases.cfg" OR ELSE IT WILL NOT WORK
=========Commands=========
===Jobs Commands===
sm_createjob <id> <jobname> <level(0 = Public, 1 = Admin, 2 = Cop)> - Creates a job in the jobs.txt database
sm_removejob <id> <level> - Removes a job from the jobs.txt database.
sm_joblist - Lists all jobs in the console.
sm_employ <player> <jobid> <level> - Employ a player to a specific job.
====Item Commands====
sm_createitem <id> <name> <type> <variable> <cost> - Creates an item in the items.txt database.
sm_removeitem <id> - Removes an item from the items.txt database.
sm_itemlist - Prints all items in the item database.
sm_additem <player> <id> <amount> - Gives a specified item and amount to a player.
sm_takeitem <player> <id> <amount> - Takes items from a player.
sm_addvendoritem <NPC Id> <Item ID> - Add an item to a specific NPC Vendor.
sm_removevendoritem <NPC Id> <Item ID> - Take an item from a specific NPC Vendor.
=====Currency Commands====
sm_setgrams <player> <amount> - Set a player's grams they have on them.
sm_setmoney <player> <amount> - Set player's wallet amount
sm_setmoneybank <player> <amount> - Set a player's bank amount.
sm_addmoney <player> <amount> - Give a player money.
sm_addmoneybank <player> <amount> - Give a player's bank money.
sm_setincome <player> <amount> - Set a players' Income.
sm_listitem <player> - Shows all items a player owns.
sm_getitem <player> <id> <amount> - Removes an item from a player.
====Misc Commands====
sm_setpropsused <player> <amount> - Sets the amount of props a player has used.
sm_gpsbug <player to> <player from> <0|1>(Off/On) - Toggles a beam. Player To = Gets beam, Player From = Beamed.
sm_restartmap - Restarts the map.
sm_bank - Remotely opens the bank menu.
sm_crime <player> <amount> - Set a players' crime amount.
sm_name <player> <new name> - Renames a player
sm_status - Prints all client stats in the console.
sm_weapon <player> <weapon classname> - Gives a player a weapon.
sm_cuff <player> - Cuffs a player.
sm_uncuff <player> - Uncuffs a player.
sm_sexexp <player> <amount> - Set a player's respect/experience (Depends on current team.).
sm_playeroftheweek <player> - Award a player with POtW status.
sm_trial_freezeprop - Freezes a prop (Must have "Trial Admin" job. Requires no Flags.
sm_trial_unfreezeprop - Unfreezes a prop.
sm_trial_delete - Deletes an entity.
=====Notice Commands=====
sm_setnotice <Entity ID> <Notice> - Set a notice on a specific entity.
sm_looknotice <Notice> - Sets a notice where your crosshairs are.
sm_noticelist - Shows all notices in the database.
=====NPC Commands=====
sm_createnpc <id> <npc> <type> <alt model> - Creates an NPC where you're standing.
sm_removenpc <type> <id> - Remove an NPC.
sm_npclist - Shows all NPCs and Types.
sm_npcwho - Shows the NPC's ID.
==Jail Commands==
sm_addjail <id> - Creates a jail where you're standing
sm_removejail <id> - Removes a jail
sm_listjails - Lists all current jails in the database.
sm_setexit - Sets the exit location for jail.
sm_setsuicide <1/2> - Set the suicide chamber location.
sm_removesuicide <1/2> - Remove the suicide chamber location.
sm_listsuicide - Shows the coords of the suicide chambers.
sm_setvipjail - Sets the VIP Jail location.
====Zone Commands====
sm_setgarbagezone - Create the garbage zone where you're standing.
sm_setafk - Sets the AFK Room teleport.
sm_createnokillzone <id> - Creates a no kill zone where you're standing.
sm_removenokillzone <id> - Removes a no kill zone.
sm_createnocrimezone <id> - Creates a no-crime zone.
sm_removenocrimezone <id> - Removes a no-crime zone.
sm_listnocrimezones - Lists all no-crime zones in database.
sm_addtaxizone <id> - Creates a taxi zone.
sm_removetaxizone <id> - Removes a taxi zone.
sm_listtaxizones - Lists all taxi zones.
sm_addgamblingzone <id> - Creates a gambling zone.
sm_removegamblingzone <id> - Removes a gambling zone.
sm_listgamblingzones - Lists all gambling zones in database.
sm_setgamblingowner <id> <name> - Sets a gambling zone's owner.
====Door Commands====
sm_setdooramount <amount> - Set the door you're looking at's price.
sm_resetdoor - Reset the door you're looking at back to buyable mode.
sm_deletedoor - Remove a door from buyable mode.
sm_createcopdoor <id> - Creates a cop door.
sm_removecopdoor <id> - Removes a cop door.
sm_listcopdoors - Lists all cop doors.
sm_createfirefighterdoor <id> - Creates a firefighter door.
sm_removefirefighterdoor <id> - Removes a firefighter door.
sm_listfirefighterdoors - Lists all firefighter doors foun in database.
sm_lockit - Super-Locks a door.
sm_unlockit - un-Superlocks a door.
sm_spawndoor <1-14> - Creates a custom door.
sm_tempremovedoor - Temporarily Removes a custom door.
sm_permremovedoor - Permanently removes a custom door.
sm_savedoor <1-100> - Saves a custom door to the database.
sm_listdoors - Lists all custom doors.
sm_setlocks <amount> - Set a door's locks.
=====Prop Commands=====
sm_freezeprop - Freezes a prop in place.
sm_unfreezeprop - Unfreezes a prop.
sm_delete - Deletes an entity.
sm_angles - Set a frozen prop's angles.
sm_origin - Set a frozen props' angles.
How to Install?
1) Open up the zipped "Roleplay Remixed", drag the files into your hl2mp folder of your gameserver: (PATH\hl2mp)
2) Restart Server
Last edited by DarkDeviL; 07-11-2021 at 04:55.
Reason: Restore to previous version.
Kidnapper: You press E on a target whom is standing still, you open the menu and click "Kidnap", and bring them to the kidnap zone for Money and +1000-3000 crime, with a cooldown of 3 minutes.
Maybe we should team up together to build a server, Ezz. First a few question to make sure you legit. Which files did you modified that contains your original work?