Part of StarfallEx namespace
๐ External
darkrp.getDarkRPVar(ply, k)๐ Has LDoc๐๏ธ 0 viewsUpdated 2 months ago
Description
Get the value of a DarkRPVar, which is shared between server and client. Case-sensitive. Possible variables include (but are not limited to): AFK, AFKDemoted, money, salaryRL, rpname, job, HasGunlicense, Arrested, wanted, wantedReason, agenda, zombieToggle, hitTarget, hitPrice, lastHitTime, Energy For money specifically, you may optionally use Player:getMoney instead. Some variables may be blacklisted so that you can't read their value.
Parameters
| Name | Type | Description |
|---|---|---|
ply | Player | The player |
var | string | The name of the variable. |
Returns
| Type | Description |
|---|---|
any | The value of the DarkRP var. |
Examples
No examples available.
Used In
No usages found in the codebase.