26.08.2009, 11:42
ok i need some help i need someone how to tell me how to make it so i can go ...
/bank <amount>
then this happens ....
gPlayerInfo[playerid][PLAYER_BANK] = (amount)
useing this
/bank <amount>
then this happens ....
gPlayerInfo[playerid][PLAYER_BANK] = (amount)
useing this
Code:
dcmd_bank(playerid, params[]) { if (strlen(params)) { if (IsPlayerConnected(playerid)) { SendClientMessage(playerid, 0x00FF00AA, "Money Hase Been Banked"); } } else { SendClientMessage(playerid, 0xFF0000AA, "Usage: \"/bank \""); } } return 1; }