GetPlayerMoney

GetPlayerMoney

Description:
Function GetPlayerMoney retrieves the amount of money a player has.


Parameters:
(playerid)
int playerid The ID of the player to get the money of.


Return Values:
The amount of money the player has.


Examples:
public OnPlayerSpawn(playerid)
{
   new string[32];
   format(string, sizeof(string), "Your money: $%i.", GetPlayerMoney(playerid));
   SendClientMessage(playerid, 0xFFFFFFAA, string);
}


Related Functions
The following functions may be useful, as they are related to this function in one way or another.