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,36 @@
DarkRP.PLAYER.canAfford = DarkRP.stub{
name = "canAfford",
description = "Whether the player can afford the given amount of money",
parameters = {
{
name = "amount",
description = "The amount of money",
type = "number",
optional = false
}
},
returns = {
{
name = "answer",
description = "Whether the player can afford it",
type = "boolean"
}
},
metatable = DarkRP.PLAYER
}
DarkRP.ENTITY.isMoneyBag = DarkRP.stub{
name = "isMoneyBag",
description = "Whether this entity is a money bag",
parameters = {
},
returns = {
{
name = "answer",
description = "Whether this entity is a money bag.",
type = "boolean"
}
},
metatable = DarkRP.ENTITY
}