J'ai pas pu m' empêcher d'améliorer ton code ^^
if(strcmp(cmd,"/permis",true)==0)
{
if(IsPlayerConnected(playerid))
{
new TextP[ 5 ] = "Passé", TextNp[ 10 ] = "Non Passé";
SendClientMessage(playerid, COLOR_WHITE, "|__________________ Licenses __________________|");
format(string, sizeof(string), "** Permi Conduire: %s.", (PlayerInfo[playerid][pCarLic] ? TextP : TextNp ));
SendClientMessage(playerid, COLOR_GREY, string);
format(string, sizeof(string), "** Point Permis: %d.",PlayerInfo[playerid][pPointPermis]);
SendClientMessage(playerid, COLOR_GREY, string);
format(string, sizeof(string), "** Permi Vol: %s.", (PlayerInfo[playerid][pFlyLic] ? TextP : TextNp ));
SendClientMessage(playerid, COLOR_GREY, string);
format(string, sizeof(string), "** Permi Navigation: %s.", (PlayerInfo[playerid][pBoatLic] ? TextP : TextNp ));
SendClientMessage(playerid, COLOR_GREY, string);
format(string, sizeof(string), "** Permi Pêche: %s.", (PlayerInfo[playerid][pFishLic] ? TextP : TextNp ));
SendClientMessage(playerid, COLOR_GREY, string);
format(string, sizeof(string), "** Permi Arme: %s.", (PlayerInfo[playerid][pGunLic] ? TextP : TextNp ));
SendClientMessage(playerid, COLOR_GREY, string);
SendClientMessage(playerid, COLOR_WHITE, "|______________________________________________|");
}
return 1;
}
Si ça compile pas dit le moi ^^