03.01.2012, 03:28
How can i update another person bank account if they are online or offline? Well im making bank and for Transfer what do i use to transfer money to another account even if they are offline? I use MYSQL
pawn Код:
if(listitem == 3)
{
if(PlayerData[playerid][Bank] < 0)
{
format(str,sizeof(str),"You got {FF0000}$%d {FFFFFF}in your bank account\nEnter the name of the player you want to give your cash to",PlayerData[playerid][Bank]);
ShowPlayerDialog(playerid,15,DIALOG_STYLE_LIST,"Transfer",str,"Transfer","Back");
}
if(PlayerData[playerid][Bank] > 0)
{
format(str,sizeof(str),"You got {2BD600}$%d {FFFFFF}in your bank account\nEnter the name of the player you want to give your cash to",PlayerData[playerid][Bank]);
ShowPlayerDialog(playerid,15,DIALOG_STYLE_LIST,"Transfer",str,"Transfer","Back");
}
}