[None-Solved] Errors. Basic.
#7

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;
}
Reply


Messages In This Thread
2 Basic Things. - by Alex_Obando - 15.08.2011, 03:20
Re: [None-Solved] Errors. Basic. - by Tanush123 - 15.08.2011, 03:25
Respuesta: [None-Solved] Errors. Basic. - by Alex_Obando - 15.08.2011, 03:29
Re: [None-Solved] Errors. Basic. - by Tanush123 - 15.08.2011, 20:06
Re: [None-Solved] Errors. Basic. - by iPLEOMAX - 15.08.2011, 20:09
Re: [None-Solved] Errors. Basic. - by DeadAhead - 15.08.2011, 20:12
Re: [None-Solved] Errors. Basic. - by Scenario - 15.08.2011, 20:18
Re: [None-Solved] Errors. Basic. - by iPLEOMAX - 15.08.2011, 20:20
Re: [None-Solved] Errors. Basic. - by Scenario - 15.08.2011, 20:28

Forum Jump:


Users browsing this thread: 3 Guest(s)