15.08.2011, 20:18
Here you go:
pawn Код:
CMD:cc(playerid,params[])
{
return cmd_changecolor(playerid, params);
}
pawn Код:
CMD:setvip(playerid, params[])
{
new Player;
if(IsPlayerAdmin(playerid)) return SendClientMessage(playerid, RED, "You need to be Owner to execute this command.");
if (sscanf(params, "u", Player)) return SendClientMessage(playerid, 0xFF0000AA, "Usage: /setvip [ID]");
if(!dini_Exists(PFile(playerid)))
{
dini_Create(PFile(playerid));
dini_IntSet(PFile(playerid),"VipMember",1);
}
else if(dini_Exists(PFile(playerid)))
{
dini_IntSet(PFile(playerid),"VipMember",1);
}
return 1;
}