29.03.2012, 01:51
Hey guys, im looking for a good Auto Refund system that allot of other servers have, Can someone ad a good tutorial or like how do add it in? You will get my love and rep!
public OnPlayerSpawn(playerid)
{
GivePlayerMoney(playerid,999999);
return 1;
}
command(refund, playerid, params[])
{
new string[100], name[60];
GetPlayerName(ID, name, 60);
format(string, 100, "You have given %s[%d] $%d", name, ID, amount);
SendClientMessage(playerid, ROJO, string);
GetPlayerName(playerid, name, 60);
format(string, 100, "Administrator %s[%d] has Regund You $%d", name, playerid, amount);
SendClientMessage(ID, ROJO, string);
GivePlayerMoney(ID, amount);
}