@SnoW: You forgot to check if the player is connected, which will cause issues.
@AoD: cs_set_user_money(id, amount).
If you want all of the players:
Code:
new g_iMaxPlayers;
public plugin_init()
{
g_iMaxPlayers = get_maxplayers();
}
public AoDs_Function()
{
for(new i = 1 ; i <= g_iMaxPlayers ; i++)
{
if(is_user_connected(i) && is_user_alive(i))
{
cs_set_user_money(i, amount); // Replace 'amount' with whatever.
}
}
}