Some One Please Help [Urgent] Giving +rep
#4

Quote:
Originally Posted by SAMProductions
Посмотреть сообщение
Just Simply Add "if(PlayerInfo[playerid][VipLevel] >= 1)", that's my VipLevel Function,

Like this,

pawn Код:
CMD:ctext(playerid)
{
        if(PlayerInfo[playerid][VipLevel] >= 1) return SendClientMessage(playerid, -1,">ERROR< You must be VIP Level 1 to use this Command.");
    ShowPlayerDialog(playerid,Texts,DIALOG_STYLE_LIST,"Choose Your Favorite Color","Text 1 > {FFFF00}Yellow\nText 2 > {FF0000}Red\nText 3 > {00BFFF}Blue\nText 4 > {00FF00}Green\nText 5 > {696969}Gray\nText 6 > {FF00FF}Pink\nText 7 > White","Change","Cancel");
    format(str, sizeof(str), "|| %s » This seeing the text colors {FFFFFF}/CText", rName(playerid));
    SendClientMessageToAll(0x828282AA, str);
    return 1;
}
CMD:textcall(playerid)
{
        if(PlayerInfo[playerid][VipLevel] >= 1) return SendClientMessage(playerid, -1,">ERROR< You must be VIP Level 1 to use this Command.");
    ShowPlayerDialog(playerid,TextsAdm,DIALOG_STYLE_LIST,"Choose Color","Text 1 > {FFFF00}Yellow\nText 2 > {FF0000}Red\nText 3 > {00BFFF}Blue\nText 4 > {00FF00}Green\nText 5 > {696969}Gray\nText 6 > {FF00FF}Pink\nText 7 > White","Change","Cancel");
    return 1;
}
Just Change "if(PlayerInfo[playerid][VipLevel] >= 1)" to your Vip Level Function.

and If you want to make it for RCON Admins only

Use:

pawn Код:
CMD:ctext(playerid)
{
        if(!IsPlayerAdmin(playerid)) return SendClientMessage(playerid, -1,">ERROR< You don't is administrator rcon.");
    ShowPlayerDialog(playerid,Texts,DIALOG_STYLE_LIST,"Choose Your Favorite Color","Text 1 > {FFFF00}Yellow\nText 2 > {FF0000}Red\nText 3 > {00BFFF}Blue\nText 4 > {00FF00}Green\nText 5 > {696969}Gray\nText 6 > {FF00FF}Pink\nText 7 > White","Change","Cancel");
    format(str, sizeof(str), "|| %s » This seeing the text colors {FFFFFF}/CText", rName(playerid));
    SendClientMessageToAll(0x828282AA, str);
    return 1;
}
CMD:textcall(playerid)
{
        if(!IsPlayerAdmin(playerid)) return SendClientMessage(playerid, -1,">ERROR< You don't is administrator rcon.");
    ShowPlayerDialog(playerid,TextsAdm,DIALOG_STYLE_LIST,"Choose Color","Text 1 > {FFFF00}Yellow\nText 2 > {FF0000}Red\nText 3 > {00BFFF}Blue\nText 4 > {00FF00}Green\nText 5 > {696969}Gray\nText 6 > {FF00FF}Pink\nText 7 > White","Change","Cancel");
    return 1;
}
bro please give ur skype
Reply


Messages In This Thread
Some One Please Help [Urgent] Giving +rep - by bond1999 - 29.10.2013, 03:32
Re: Some One Please Help [Urgent] Giving +rep - by bond1999 - 29.10.2013, 03:38
Re: Some One Please Help [Urgent] Giving +rep - by SAMProductions - 29.10.2013, 03:40
Re: Some One Please Help [Urgent] Giving +rep - by bond1999 - 29.10.2013, 03:43
Re: Some One Please Help [Urgent] Giving +rep - by bond1999 - 29.10.2013, 04:00

Forum Jump:


Users browsing this thread: 1 Guest(s)