20.03.2011, 18:24
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;
}
I don't know what's causing the issue.