GLOBALELITE.PL GLOBALELITE.pl 83 Napisano 19 Maja 2017 Share Napisano 19 Maja 2017 This plugin its just a simple money system.When you kill a guy it gives you money.On player connect it loads money and on player disconnect it saves the money.I will add more features laterCOMMANDS:sm_setmoney <name> <amount>CVARS:money_hs_bonus <20> How much extra money with a headshot killmoney_kill <100> How much money for killing 1 playermoney_lose_suicide <50> How much money lose on suicideNATIVES:SetMoney(client, amount)GetMoney(client)Players money saved in data/money.txt Code: "Money"{ "STEAM_1:0:12345678" { "Current Money" "100" } "STEAM_1:0:87654321" { "Current Money" "80" }} Attached Files Get Plugin or Get Source (money_system.sp - 3.4 KB) money.inc (135 Bytes) Pełny artykuł: https://forums.alliedmods.net/showthread.php?t=297636&goto=newpost Odnośnik do odpowiedzi Udostępnij na innych stronach
Rekomendowane odpowiedzi