Coder Social home page Coder Social logo

totenfluch / t-rp-v2 Goto Github PK

View Code? Open in Web Editor NEW
4.0 2.0 3.0 239 KB

Roleplay Gamemode for CS:GO

License: GNU General Public License v3.0

SourcePawn 98.03% C++ 1.97%
sourcemod sourcepawn gamemode roleplay ggc plg kzg plugin roleplay-suite t-rp

t-rp-v2's Introduction

T-RP

Roleplay system for CSGO in sourcepawn

Whitepaper: https://totenfluch.de/rp/Roleplay_Whitepaper_v1.pdf

Usage:

  • Cars:
    • sm_car_stow
    • sm_car_on
    • sm_car_exit
    • sm_car_off
    • sm_siren
    • sm_car_view
    • sm_car_info
    • sm_seat
  • Inventory:
    • Press INSPECT (F)
  • Job (Apple Harvester)
    • Zone name: Apple_*
    • sm_astats
  • Job (Miner)
    • Zone name: mining_*
    • sm_mstats
  • Job (Drug Planter)
    • sm_plant
  • Job (Gardener)
    • Zone name: garden_*
  • Job (Garbage Collector)
    • sm_garbagespawns
  • Job (Police)
    • sm_purge (depricated)
    • sm_helpme (depricated)
    • sm_criminals
    • sm_jailcells
    • sm_jstats
    • Zone name: JailExit (Escape from Jail)
  • Police Whitelist
    • sm_tpolice
    • sm_addpolice
    • sm_policeofficers
    • sm_police
  • Npc Creation
    • sm_npc -- blank npc
    • sm_editnpc -- Aim at npc to edit
  • Money
    • sm_givemoney
    • sm_givebankedmoney
  • Apartments
    • Zone name: apartment__
    • sm_apartmentadmin
    • sm_apartment (In Zone & Owned)
  • Furniture
    • sm_builder
    • sm_abuilder

t-rp-v2's People

Contributors

totenfluch avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

t-rp-v2's Issues

i cant compile this

`//// rpg_tconomy.sp
// L:\downloads\mo\Fun\csgo\addons\sourcemod\scripting\rpg_tconomy.sp(28) : fatal error 120: cannot read from file: "rpg_licensing"
//
// Compilation aborted.
// 1 Error.
//
// Compilation Time: 0.22 sec
// ----------------------------------------

//// rpg_tcrime.sp
// L:\downloads\mo\Fun\csgo\addons\sourcemod\scripting\rpg_tcrime.sp(27) : fatal error 120: cannot read from file: "tStocks"
//
// Compilation aborted.
// 1 Error.
//
// Compilation Time: 0.23 sec
// ----------------------------------------

//// rpg_tPoliceWhitelist.sp
// L:\downloads\mo\Fun\csgo\addons\sourcemod\scripting\rpg_tPoliceWhitelist.sp(27) : fatal error 120: cannot read from file: "autoexecconfig"
//
// Compilation aborted.
// 1 Error.
//
// Compilation Time: 0.19 sec
// ----------------------------------------

//// rpg_unstuck.sp
// L:\downloads\mo\Fun\csgo\addons\sourcemod\scripting\rpg_unstuck.sp(26) : fatal error 120: cannot read from file: "rpg_jobs_core"
//
// Compilation aborted.
// 1 Error.
//
// Compilation Time: 0.16 sec
// ----------------------------------------

//// tattslottovendor_not finished.sp
// L:\downloads\mo\Fun\csgo\addons\sourcemod\scripting\tattslottovendor_not finished.sp(11) : fatal error 120: cannot read from file: "sourcemod-misc"
//
// Compilation aborted.
// 1 Error.
//
// Compilation Time: 0.12 sec
// ----------------------------------------

//// binoculars.sp
// L:\downloads\mo\Fun\csgo\addons\sourcemod\scripting\binoculars.sp(7) : fatal error 120: cannot read from file: "sourcemod-misc"
//
// Compilation aborted.
// 1 Error.
//
// Compilation Time: 0.14 sec
// ----------------------------------------

//// blockkill.sp
// L:\downloads\mo\Fun\csgo\addons\sourcemod\scripting\blockkill.sp(3) : warning 207: unknown #pragma
// L:\downloads\mo\Fun\csgo\addons\sourcemod\scripting\blockkill.sp(3) : error 038: extra characters on line
// L:\downloads\mo\Fun\csgo\addons\sourcemod\scripting\blockkill.sp(10) : error 010: invalid function or declaration
// L:\downloads\mo\Fun\csgo\addons\sourcemod\scripting\blockkill.sp(12) : error 001: expected token: ";", but found "-identifier-"
// L:\downloads\mo\Fun\csgo\addons\sourcemod\scripting\blockkill.sp(19) : error 010: invalid function or declaration
// L:\downloads\mo\Fun\csgo\addons\sourcemod\scripting\blockkill.sp(21) : error 001: expected token: ";", but found "-identifier-"
// L:\downloads\mo\Fun\csgo\addons\sourcemod\scripting\blockkill.sp(29) : error 021: symbol already defined: "Action"
// L:\downloads\mo\Fun\csgo\addons\sourcemod\scripting\blockkill.sp(29) : error 017: undefined symbol "client"
// L:\downloads\mo\Fun\csgo\addons\sourcemod\scripting\blockkill.sp(29) : error 029: invalid expression, assumed zero
// L:\downloads\mo\Fun\csgo\addons\sourcemod\scripting\blockkill.sp(29) : fatal error 127: too many error messages on one line
//
// Compilation aborted.
// 9 Errors.
//
// Compilation Time: 0.2 sec
// ----------------------------------------

//// car_menu.sp
// L:\downloads\mo\Fun\csgo\addons\sourcemod\scripting\car_menu.sp(6) : fatal error 120: cannot read from file: "tConomy"
//
// Compilation aborted.
// 1 Error.
//
// Compilation Time: 0.16 sec
// ----------------------------------------

//// coinflip_vendor.sp
// L:\downloads\mo\Fun\csgo\addons\sourcemod\scripting\coinflip_vendor.sp(12) : fatal error 120: cannot read from file: "sourcemod-misc"
//
// Compilation aborted.
// 1 Error.
//
// Compilation Time: 0.16 sec
// ----------------------------------------

Press enter to exit ...`

This Is The Error Pls Help

Upload To Server

### Hey, I compiled everything and when I upload it to my server it's doing this

L 02/09/2019 - 14:05:04: [SM] Exception reported: Invalid database Handle 0 (error: 4)
L 02/09/2019 - 14:05:04: [SM] Blaming: rpg_apartments.smx
L 02/09/2019 - 14:05:04: [SM] Call stack trace:
L 02/09/2019 - 14:05:04: [SM]   [0] SQL_SetCharset
L 02/09/2019 - 14:05:04: [SM]   [1] Line 114, C:\Users\hadar\Documents\compiled\RP\rpg_apartments.sp::OnPluginStart
L 02/09/2019 - 14:05:04: [SM] Unable to load plugin "rpg_apartments.smx": Error detected in plugin startup (see error logs)
L 02/09/2019 - 14:05:04: [SM] Unable to load plugin "rpg_apartments_keys.smx": Native "aparments_allowPlayer" was not found
L 02/09/2019 - 14:05:04: [SM] Unable to load plugin "rpg_chatcontroller.smx": Could not find required plugin "chat-processor"
L 02/09/2019 - 14:05:04: [SM] Unable to load plugin "rpg_crime_handler.smx": Native "Gangs_RegisterFeature" was not found
L 02/09/2019 - 14:05:04: [SM] Unable to load plugin "rpg_furniture.smx": Native "apartments_isClientOwner" was not found
L 02/09/2019 - 14:05:04: [SM] Unable to load plugin "rpg_furniture_chest.smx": Native "furniture_getDurability" was not found
L 02/09/2019 - 14:05:04: [SM] Exception reported: Invalid database Handle 0 (error: 4)
L 02/09/2019 - 14:05:04: [SM] Blaming: rpg_inventory_core.smx
L 02/09/2019 - 14:05:04: [SM] Call stack trace:
L 02/09/2019 - 14:05:04: [SM]   [0] SQL_SetCharset
L 02/09/2019 - 14:05:04: [SM]   [1] Line 80, C:\Users\hadar\Documents\compiled\RP\rpg_inventory_core.sp::OnPluginStart
L 02/09/2019 - 14:05:04: [SM] Unable to load plugin "rpg_inventory_core.smx": Error detected in plugin startup (see error logs)
L 02/09/2019 - 14:05:04: [SM] Unable to load plugin "rpg_inventory_weaponhandler.smx": Native "inventory_addItemHandle" was not found
L 02/09/2019 - 14:05:04: [SM] Exception reported: Invalid database Handle 0 (error: 4)
L 02/09/2019 - 14:05:04: [SM] Blaming: rpg_jail.smx
L 02/09/2019 - 14:05:04: [SM] Call stack trace:
L 02/09/2019 - 14:05:04: [SM]   [0] SQL_SetCharset
L 02/09/2019 - 14:05:04: [SM]   [1] Line 93, C:\Users\hadar\Documents\compiled\RP\rpg_jail.sp::OnPluginStart
L 02/09/2019 - 14:05:04: [SM] Unable to load plugin "rpg_jail.smx": Error detected in plugin startup (see error logs)
L 02/09/2019 - 14:05:04: [SM] Exception reported: Invalid database Handle 0 (error: 4)
L 02/09/2019 - 14:05:04: [SM] Blaming: rpg_jobs_core.smx
L 02/09/2019 - 14:05:04: [SM] Call stack trace:
L 02/09/2019 - 14:05:04: [SM]   [0] SQL_SetCharset
L 02/09/2019 - 14:05:04: [SM]   [1] Line 88, C:\Users\hadar\Documents\compiled\RP\rpg_jobs_core.sp::OnPluginStart
L 02/09/2019 - 14:05:04: [SM] Unable to load plugin "rpg_jobs_core.smx": Error detected in plugin startup (see error logs)
L 02/09/2019 - 14:05:04: [SM] Unable to load plugin "rpg_job_apples.smx": Native "jobs_registerJob" was not found
L 02/09/2019 - 14:05:04: [SM] Unable to load plugin "rpg_job_drugs.smx": Native "inventory_getPlayerItemAmount" was not found
L 02/09/2019 - 14:05:04: [SM] Unable to load plugin "rpg_job_garbagecollector.smx": Native "jobs_registerJob" was not found
L 02/09/2019 - 14:05:04: [SM] Unable to load plugin "rpg_job_gardener.smx": Native "jobs_registerJob" was not found
L 02/09/2019 - 14:05:04: [SM] Unable to load plugin "rpg_job_medic.smx": Native "jobs_registerJob" was not found
L 02/09/2019 - 14:05:04: [SM] Unable to load plugin "rpg_job_miner.smx": Native "jobs_registerJob" was not found
L 02/09/2019 - 14:05:04: [SM] Unable to load plugin "rpg_job_police.smx": Native "jobs_registerJob" was not found
L 02/09/2019 - 14:05:04: [SM] Unable to load plugin "rpg_npc_bulletvendor.smx": Native "Gangs_RegisterFeature" was not found
L 02/09/2019 - 14:05:04: [SM] Exception reported: Invalid database Handle 0 (error: 4)
L 02/09/2019 - 14:05:04: [SM] Blaming: rpg_npc_core.smx
L 02/09/2019 - 14:05:04: [SM] Call stack trace:
L 02/09/2019 - 14:05:04: [SM]   [0] SQL_SetCharset
L 02/09/2019 - 14:05:04: [SM]   [1] Line 91, C:\Users\hadar\Documents\compiled\RP\rpg_npc_core.sp::OnPluginStart
L 02/09/2019 - 14:05:04: [SM] Unable to load plugin "rpg_npc_core.smx": Error detected in plugin startup (see error logs)
L 02/09/2019 - 14:05:04: [SM] Unable to load plugin "rpg_npc_weaponvendor.smx": Native "npc_registerNpcType" was not found
L 02/09/2019 - 14:05:04: [SM] Unable to load plugin "rpg_perks.smx": Native "npc_registerNpcType" was not found
L 02/09/2019 - 14:05:04: [SM] Unable to load plugin "rpg_police_healstation.smx": Native "jobs_isActiveJob" was not found
L 02/09/2019 - 14:05:04: [SM] Unable to load plugin "rpg_skins.smx": Native "inventory_addItemHandle" was not found
L 02/09/2019 - 14:05:04: [SM] Unable to load plugin "rpg_spawnteleporter.smx": Native "jobs_setCurrentInfo" was not found
L 02/09/2019 - 14:05:04: [SM] Exception reported: Invalid database Handle 0 (error: 4)
L 02/09/2019 - 14:05:04: [SM] Blaming: rpg_systemcontroller.smx
L 02/09/2019 - 14:05:04: [SM] Call stack trace:
L 02/09/2019 - 14:05:04: [SM]   [0] SQL_SetCharset
L 02/09/2019 - 14:05:04: [SM]   [1] Line 57, C:\Users\hadar\Documents\compiled\RP\rpg_systemcontroller.sp::OnPluginStart
L 02/09/2019 - 14:05:04: [SM] Unable to load plugin "rpg_systemcontroller.smx": Error detected in plugin startup (see error logs)
L 02/09/2019 - 14:05:04: [SM] Exception reported: Invalid database Handle 0 (error: 4)
L 02/09/2019 - 14:05:04: [SM] Blaming: rpg_tconomy.smx
L 02/09/2019 - 14:05:04: [SM] Call stack trace:
L 02/09/2019 - 14:05:04: [SM]   [0] SQL_SetCharset
L 02/09/2019 - 14:05:04: [SM]   [1] Line 61, C:\Users\hadar\Documents\compiled\RP\rpg_tconomy.sp::OnPluginStart
L 02/09/2019 - 14:05:04: [SM] Unable to load plugin "rpg_tconomy.smx": Error detected in plugin startup (see error logs)
L 02/09/2019 - 14:05:04: [SM] Exception reported: Invalid database Handle 0 (error: 4)
L 02/09/2019 - 14:05:04: [SM] Blaming: rpg_tcrime.smx
L 02/09/2019 - 14:05:04: [SM] Call stack trace:
L 02/09/2019 - 14:05:04: [SM]   [0] SQL_SetCharset
L 02/09/2019 - 14:05:04: [SM]   [1] Line 57, C:\Users\hadar\Documents\compiled\RP\rpg_tcrime.sp::OnPluginStart
L 02/09/2019 - 14:05:04: [SM] Unable to load plugin "rpg_tcrime.smx": Error detected in plugin startup (see error logs)
L 02/09/2019 - 14:05:04: [SM] Exception reported: Invalid database Handle 0 (error: 4)
L 02/09/2019 - 14:05:04: [SM] Blaming: rpg_tPoliceWhitelist.smx
L 02/09/2019 - 14:05:04: [SM] Call stack trace:
L 02/09/2019 - 14:05:04: [SM]   [0] SQL_SetCharset
L 02/09/2019 - 14:05:04: [SM]   [1] Line 62, C:\Users\hadar\Documents\compiled\RP\rpg_tPoliceWhitelist.sp::OnPluginStart
L 02/09/2019 - 14:05:04: [SM] Unable to load plugin "rpg_tPoliceWhitelist.smx": Error detected in plugin startup (see error logs)
L 02/09/2019 - 14:05:04: [SM] Unable to load plugin "rpg_unstuck.smx": Native "jobs_startProgressBar" was not found
L 02/09/2019 - 14:05:04: [SM] Fatal error encountered parsing translation file "smac.phrases.txt"
L 02/09/2019 - 14:05:04: [SM] Error (line 0, column 0): Stream failed to open
L 02/09/2019 - 14:05:28: [rpg_licensing.smx] socket error 3 (errno 10060)
L 02/09/2019 - 14:08:57: Error log file session closed.
L 02/09/2019 - 14:08:57: SourceMod error session started
L 02/09/2019 - 14:08:57: Info (map "de_dust2") (file "errors_20190209.log")
L 02/09/2019 - 14:08:57: [SM] Fatal error encountered parsing translation file "smac.phrases.txt"
L 02/09/2019 - 14:08:57: [SM] Error (line 0, column 0): Stream failed to open
L 02/09/2019 - 14:08:57: [SM] Unable to load plugin "rpg_ctDoors.smx": Native "jobs_isActiveJob" was not found
L 02/09/2019 - 14:08:57: [SM] Unable to load plugin "rpg_custom_vendor.smx": Native "npc_registerNpcType" was not found
L 02/09/2019 - 14:08:57: [SM] Unable to load plugin "rpg_damagecontroller.smx": Native "jail_isInJail" was not found
L 02/09/2019 - 14:08:58: [SM] Unable to load plugin "rpg_deathpenality.smx": Native "jobs_getActiveJob" was not found
L 02/09/2019 - 14:08:58: [SM] Unable to load plugin "rpg_event_bank.smx": Native "inventory_hasPlayerItem" was not found
L 02/09/2019 - 14:08:58: [SM] Unable to load plugin "rpg_event_vault.smx": Native "inventory_hasPlayerItem" was not found
L 02/09/2019 - 14:08:58: [SM] Unable to load plugin "rpg_furniture_bed.smx": Native "jobs_startProgressBar" was not found
L 02/09/2019 - 14:08:58: [SM] Unable to load plugin "rpg_hud.smx": Native "jobs_isInProgressBar" was not found
L 02/09/2019 - 14:08:58: [SM] Unable to load plugin "rpg_interact.smx": Native "police_isPlayerCuffed" was not found
L 02/09/2019 - 14:08:58: [SM] Unable to load plugin "rpg_interact_criminal.smx": Native "interact_registerInteract" was not found
L 02/09/2019 - 14:08:58: [SM] Unable to load plugin "rpg_interact_giveitem.smx": Native "interact_registerInteract" was not found
L 02/09/2019 - 14:08:58: [SM] Unable to load plugin "rpg_interact_givemoney.smx": Native "interact_registerInteract" was not found
L 02/09/2019 - 14:08:58: [SM] Unable to load plugin "rpg_lootdrop.smx": Native "tConomy_addCurrency" was not found
L 02/09/2019 - 14:08:58: [SM] Unable to load plugin "rpg_npc_bank.smx": Native "npc_registerNpcType" was not found

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.