Money and bank system, a new set of eyes! - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Money and bank system, a new set of eyes! (
/showthread.php?tid=110470)
Money and bank system, a new set of eyes! -
mrdja1 - 26.11.2009
I need some fresh eyes and a fresh mind. I have been working on a RP script for like 2 weeks now. ITs done now i just need to have a money system, a paycheck system... can someone give me some ideas and examples, that would help.
Re: Money and bank system, a new set of eyes! -
KnooL - 26.11.2009
Try using YSI (****** Server Includes) it has many features, inbuilt user system, property system (included bank and houses), group system, language system. You can easily make commands, ex.
pawn Код:
Command_(kick)
{
if (help)
{
Text_Send(playerid, "KICK_HELP");
Text_SendFormat(playerid, "KICK_HELP1", "kick");
}
else
{
if (sscanf(params, "u", player))
{
Text_Send(playerid, "KICK_HELP");
Text_SendFormat(playerid, "KICK_HELP1", "kick");
}
else if (IsPlayerConnected(player))
{
Kick(player);
Text_SendFormat(player, "YOURE_KICKED", ReturnPlayerName(playerid), playerid);
Text_SendToAllFormat("THEYRE_KICKED", ReturnPlayerName(player), player, ReturnPlayerName(playerid), playerid);
}
}
return 1;
}
Make groups (not required to make classes for it. good for admin groups) and set commands for them.
That's what I recommend.
Re: Money and bank system, a new set of eyes! -
mrdja1 - 26.11.2009
Hmm, very good idea. Thanks, so far i got that RCash system in place, its not making me happy im thinking about just having a plasyer choose a carrier when they start out, have a program stream weekly pay from some pay site and have the hourly in game be someones weekly rl.