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

Hi , guys i am using a filterscript by @Riichard , the text colour changer , umm can someone please help me , if i install this filter script in my server all players can use this but i want that this filterscript should only be used by VIP members can someone please help me ! it will be highly appreciated i want this fs for VIP [Players Only] someone please help.


please pm me your skype


EDIT : // i am very suck at scrapting , plis provide ur skype
Reply
#2

some one please help , i need serious help
Reply
#3

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

please pm me ur skype pleaseseee i need help!!!!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)