07.10.2014, 11:19
Quote:
CMD:checkbalance(playerid, params[])
{ new string[256];//the variable which will store the formatted message we will format in the next line. format(string, sizeof(string), "You currently have $%d In your bank account.", pInfo[playerid][Bank]);//this is the formated message which will tell the player that how much money he deposited in the bank account. SendClientMessage(playerid,-1,string);//this will send the formatted above,and which was stored in the variable above. return 1; } |