16.04.2012, 06:10
Can anyone tell me how can i add this USAGE: /refund [playerid] to my CMD
This is my code
This is my code
Код:
CMD:refund(playerid, params[])
{
if(PlayerInfo[playerid][pAdmin] >= 4)
{
PlayerInfo[playerid][pLevel] = 5;
GivePlayerCash(playerid, 5000000);
PlayerInfo[playerid][pAccount] = 5000000;
PlayerInfo[playerid][pMats] = 50000;
PlayerInfo[playerid][pPot] = 500;
PlayerInfo[playerid][pCrack] = 500;
PlayerInfo[playerid][pDonateRank] = 3;
}
return 1;
}

