Initial commit

This commit is contained in:
pavetr
2026-03-15 14:54:49 +03:00
commit 64f8029c06
4027 changed files with 254888 additions and 0 deletions

View File

@@ -0,0 +1,71 @@
DarkRP.declareChatCommand{
command = "rpname",
description = "Set your RP name",
delay = 1.5
}
DarkRP.declareChatCommand{
command = "name",
description = "Set your RP name",
delay = 1.5
}
DarkRP.declareChatCommand{
command = "nick",
description = "Set your RP name",
delay = 1.5
}
DarkRP.declareChatCommand{
command = "buy",
description = "Buy a pistol",
delay = 1.5,
condition = fn.FAnd {
fn.Compose{fn.Curry(fn.GetValue, 2)("enablebuypistol"), fn.Curry(fn.GetValue, 2)("Config"), gmod.GetGamemode},
fn.Compose{fn.Not, fn.Curry(fn.GetValue, 2)("noguns"), fn.Curry(fn.GetValue, 2)("Config"), gmod.GetGamemode}
}
}
DarkRP.declareChatCommand{
command = "buyshipment",
description = "Buy a shipment",
delay = 1.5
}
DarkRP.declareChatCommand{
command = "buyvehicle",
description = "Buy a vehicle",
delay = 1.5
}
DarkRP.declareChatCommand{
command = "buyammo",
description = "Purchase ammo",
delay = 1.5,
condition = fn.Compose{fn.Not, fn.Curry(fn.GetValue, 2)("noguns"), fn.Curry(fn.GetValue, 2)("Config"), gmod.GetGamemode}
}
DarkRP.declareChatCommand{
command = "price",
description = "Set the price of the microwave or gunlab you're looking at",
delay = 1.5
}
DarkRP.declareChatCommand{
command = "setprice",
description = "Set the price of the microwave or gunlab you're looking at",
delay = 1.5
}
DarkRP.declareChatCommand{
command = "forcerpname",
description = "Forcefully change a player's RP name",
delay = 0.5,
tableArgs = true
}
DarkRP.declareChatCommand{
command = "freerpname",
description = "Remove a RP name from the database so a player can use it",
delay = 1.5
}