lmkabenefits.blogg.se

Zenith networks darkrp gmod forums
Zenith networks darkrp gmod forums







getPhrase( "x_set_your_money ", ply: EntIndex() = 0 and "Console " or ply: Nick(), DarkRP. getPhrase( "you_set_x_money ", target: Nick(), DarkRP. Call( "playerWalletChanged ", GAMEMODE, target, amount - target: getDarkRPVar( "money "), target: getDarkRPVar( "money ")) or amountĭarkRP. getPhrase( "could_not_find ", tostring(args)))Īmount = hook. defineChatCommand( "check ", CreateCheque, 0.3) - for those of you who can't spell defineChatCommand( "cheque ", CreateCheque, 0.3)ĭarkRP. Call( "playerDroppedCheque ", nil, ply, recipient, min_amount, Cheque)ĭarkRP. If IsValid(ply) and IsValid(recipient) thenĭarkRP. If ply: customEntityLimitReached(chequeTable) thenĭarkRP. defineChatCommand( "moneydrop ", DropMoney, 0.3) defineChatCommand( "dropmoney ", DropMoney, 0.3)ĭarkRP. Call( "playerDroppedMoney ", nil, ply, amount, moneybag)ĭarkRP. Ply: DoAnimationEvent(ACT_GMOD_GESTURE_ITEM_DROP) defineChatCommand( "give ", GiveMoney, 0.2)ĭarkRP. getPhrase( "you_gave ", ent2: Nick(), DarkRP. getPhrase( "has_given ", ply: Nick(), DarkRP. Call( "playerGaveMoney ", nil, ply, ent2, amount)ĭarkRP. If not IsValid(ent2) or not ent2: IsPlayer() or ent2: GetPos(): DistToSqr(ply: GetPos()) >= 22500 then return end Ply: DoAnimationEvent(ACT_GMOD_GESTURE_ITEM_GIVE)ĭarkRP. getPhrase( "must_be_looking_at ", DarkRP. If not IsValid(ent) or not ent: IsPlayer() or ent: GetPos(): DistToSqr(ply: GetPos()) >= 22500 thenĭarkRP. Partial(SafeRemoveEntity, moneybag))ĭarkRP. getPhrase( "payday_missed "))įunction DarkRP.createMoneyBag( pos, amount) Call( "playerGetSalary ", GAMEMODE, self, amount) Local suppress, message, hookAmount = hook. retrieveSalary( self, function( amount)Īmount = math.floor(amount or GAMEMODE. DarkRPUnInitialized then return endįunction DarkRP.payPlayer( ply1, ply2, amount)ĭarkRP. Call( "playerWalletChanged ", GAMEMODE, self, amount, self: getDarkRPVar( "money ")) or total Local total = self: getDarkRPVar( "money ") + amount









Zenith networks darkrp gmod forums