18.08.2011, 15:10
pawn Код:
CMD:licenses(playerid,params[])
{
new GunLic[30];
switch (PlayerData[playerid][GunLicense])
{
case 0: format(GunLic,30, "Not Passed");
default: format(GunLic,30, "Passed"); // I've edited this line
}
format(str,sizeof(str),"Gun License: %s",GunLic);
SendClientMessage(playerid,orange,str);
return 1;
}