Jaysyn904 66a0a3e043 Initial commit
Initial commit.
2024-08-03 14:13:18 -04:00

21 lines
536 B
Plaintext

//::///////////////////////////////////////////////
//:: Scarface's Persistent Banking
//:: sfpb_balance
//:://////////////////////////////////////////////
/*
Written By Scarface
*/
//////////////////////////////////////////////////
#include "sfpb_config"
void main()
{
// Vars
object oPC = GetLastSpeaker();
string sID = SF_GetPlayerID(oPC);
int nBanked = GetCampaignInt(GetName(GetModule()), DATABASE_GOLD + sID);
// Set custom token for the account balance
SetCustomToken(1000, IntToString(nBanked));
}