07.12.2012, 14:33
pawn Код:
CMD:carteira(playerid, params[])
{
new text1[20], text2[20], text3[20], text4[20], text5[20];
if(PlayerInfo[playerid][pCarLic]){ text1 = "Sim";}
else {text1 = "Nгo";}
if(PlayerInfo[playerid][pFlyLic]){ text4 = "Sim";}
else {text4 = "Nгo";}
if(PlayerInfo[playerid][pBoatLic]){ text2 = "Sim";}
else {text2 = "Nгo";}
if(PlayerInfo[playerid][pFishLic]){ text3 = "Sim";}
else {text3 = "Nгo";}
if(PlayerInfo[playerid][pGunLic]){ text5 = "Sim";}
else {text5 = "Nгo";}
SendClientMessage(playerid, COLOR_WHITE, "{B5B5B5}|_"AbreviaturaServidor2"_|Licenзas|_"AbreviaturaServidor2"_|");
format(STR, sizeof(STR), "Motorista:{de1480} %s.", text1);
SendClientMessage(playerid, 0x33FF00FF, STR);
format(STR, sizeof(STR), "Voo:{de1480} %s.", text4);
SendClientMessage(playerid, 0x33FF00FF, STR);
format(STR, sizeof(STR), "Navegacao:{de1480} %s.", text2);
SendClientMessage(playerid, 0x33FF00FF, STR);
format(STR, sizeof(STR), "Pesga Legal:{de1480} %s.", text3);
SendClientMessage(playerid, 0x33FF00FF, STR);
format(STR, sizeof(STR), "Porte de Armas:{de1480} %s.", text5);
SendClientMessage(playerid, 0x33FF00FF, STR);
return 1;
}