samp.directory
← Scripts y librerías

knownasrazi/samp-economy-cream

Cream economy system for SA-MP - bank, jobs, and shops, humanized.

Otro★ 5actualizado hace 43 díasMITPawn
Abrir en GitHub

README.md

samp-economy-clean

Economy, refined.

Clean economy system for SA-MP - bank, jobs, and shops, hand-crafted.

Money feels real when the code reads real.

Systems

  • Bank - deposit, withdraw, interest with cron
  • Jobs - trucker, pizza, with clean paydays
  • Shops - 24/7 with stock, not infinite

Hand-crafted Pawn

\\pawn // economy/bank.pwn // Human note: "interest every hour, but only if they played" forward PayBankInterest(); public PayBankInterest() { foreach (Player, i) { if (!IsPlayerConnected(i)) continue; if (PlayerInfo[i][pBank] < 1000) continue; // too poor to earn new interest = floatround(PlayerInfo[i][pBank] * 0.015); // 1.5% GivePlayerBankMoney(i, interest); } } \\

Install

Include in gamemode, or as filterscript.

License

MIT

Esta página se genera con lo que GitHub publica sobre el repositorio. samp.directory no aloja el código. Informar de un problema con esta ficha

knownasrazi/samp-economy-cream: Otro de SA-MP | samp.directory