PGCC_PRC8/_module/nss/_setgp.nss
Jaysyn904 e51634d39b Initial upload
Initial upload.
2024-10-09 14:17:22 -04:00

31 lines
698 B
Plaintext

#include "fcb_inc_vars"
#include "fcb_inc_parser"
#include "fcb_inc_general"
//==========================================/
void main()
//==========================================/
{
//uncomment to use - gives infinite gold
/*
string arg = retrieve_arg(1);
if(get_is_number(arg))
{
int gp_amount = StringToInt(arg);
if(gp_amount < 0)
{
gp_amount = 0;
}
object user = GetLocalObject(FCB_HOST, USER);
int gp_current = GetGold(user);
give_gold(gp_amount - gp_current, user);
set_function_result(IntToString(GetGold(user)));
set_function_result_valid();
}
*/
}