[Help] With this simple /licences command
#1

pawn Код:
CMD:licencas(playerid, params[])
{
    new wlic[5];
    new clic[5];
    new blic[5];
    new filic[5];
    new fllic[5];
    if(PVar[playerid][pWlicense]==1){
    wlic="Sim";
    }
    else return wlic="Nгo";
    if(PVar[playerid][pClicense]==1){
    clic="Sim";
    }
    else return clic="Nгo";
    if(PVar[playerid][pBlicense]==1){
    blic="Sim";
    }
    else return blic="Nгo";
    if(PVar[playerid][pFishlicense]==1){
    filic="Sim";
    }
    else return filic="Nгo";
    if(PVar[playerid][pFlylicense]==1){
    fllic="Sim";
    }
    else return fllic="Nгo";
    new str[250],str2[250],str3[250],str4[250],str5[250];
    format(str, sizeof(str), "Veнculos "#CREDISH"(AB)"#CGREY": "#CYELLOW"%s", clic);
    format(str2, sizeof(str2), "Nбutica "#CREDISH"(NA)"#CGREY": "#CYELLOW"%s", blic);
    format(str3, sizeof(str3), "Brevк "#CREDISH"(VO)"#CGREY": "#CYELLOW"%s",fllic);
    format(str4, sizeof(str4), "Armas: "#CYELLOW"%s",  wlic);
    format(str5, sizeof(str5), "Pescaria: "#CYELLOW"%s",filic);
    SendClientMessage(playerid, COLOR_GREY, "[--"#CORANGE"CARTEIRA DE LICENЗAS"#CGREY"--]");
    SendClientMessage(playerid, COLOR_GREY, str);
    SendClientMessage(playerid, COLOR_GREY, str2);
    SendClientMessage(playerid, COLOR_GREY, str3);
    SendClientMessage(playerid, COLOR_GREY, str4);
    SendClientMessage(playerid, COLOR_GREY, str5);
    SendClientMessage(playerid, COLOR_GREY, "[-------------------------]");
    return 1;
}
Nothing happens when I type /licences...
I don't know what's causing the issue.
Reply


Messages In This Thread
[Help] With this simple /licences command - by kariok - 20.03.2011, 18:24
Re: [Help] With this simple /licences command - by Stigg - 20.03.2011, 18:39
Re: [Help] With this simple /licences command - by Amel_PAtomAXx - 20.03.2011, 18:41
Re: [Help] With this simple /licences command - by Stigg - 20.03.2011, 18:43
Re: [Help] With this simple /licences command - by Amel_PAtomAXx - 20.03.2011, 18:43
Re: [Help] With this simple /licences command - by Stigg - 20.03.2011, 18:44
Re: [Help] With this simple /licences command - by kariok - 20.03.2011, 18:46
Re: [Help] With this simple /licences command - by kariok - 20.03.2011, 20:21

Forum Jump:


Users browsing this thread: 2 Guest(s)