ResetPlayerMoney

From SA-MP Wiki

Jump to: navigation, search


Reset a player's money to $0.


Parameters:
(playerid)
playeridThe ID of the player to reset the money of.


ReturnsThis function doesn't return a specific value


public OnPlayerDeath(playerid, killerid, reason)
{
    SendClientMessage(playerid, 0xFFFFFFAA, "You died and lost all of your cash!");
    ResetPlayerMoney(playerid);
    return 1;
}

Related Functions

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

Personal tools
In other languages