Jump to content
  • Chatbox

    Load More
    You don't have permission to chat.

Recommended Posts

Posted

salut, am facut comanda /pc si imi da eroarea asta warning 203: symbol is never used: "pc"

aici aveti comanda:

YCMD:pc(playerid,params[], help) {
    new string[250],result[250];
    if(PlayerInfo[playerid][pPremiumAccount] == 0 && PlayerInfo[playerid][pAdmin] == 0 && PlayerInfo[playerid][pYT] == 0) return 1;
    if(togpremium[playerid] == 1) return 1;
    if(sscanf(params, "s[250]",result)) return SendClientMessage(playerid, COLOR_GREY, "USAGE: {FFFFFF}/pc <text>");
    if(PlayerInfo[playerid][pPremiumAccount] == 1) format(string, sizeof(string), "Premium %s: %s", GetName(playerid), result);
    else format(string, sizeof(string), "Admin %s: %s", GetName(playerid), result);
    if(PlayerInfo[playerid][pYT] == 1) format(string, sizeof(string), "Youtuber %s: %s", GetName(playerid), result);
    foreach(Player, i) {
        if(IsPlayerConnected(i) && PlayerInfo[pVip] == 1 || PlayerInfo[pAdmin] > 0) {
            if(togpremium == 0) MesajLung(i, 0xD0D05B, string);
        }
    }
    return 1;
}

  • 3 years later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...