little prblem
#1

pawn Код:
CMD:licenses(playerid,params[])
{
    new GunLic[30];
    switch (PlayerData[playerid][GunLicense])
    {
    case 0: format(GunLic,30, "Not Passed");
    case 1: format(GunLic,30, "Passed");
    }
    format(str,sizeof(str),"Gun License: %s",GunLic);
    SendClientMessage(playerid,orange,str);
    return 1;
}
when i do /licenses while i dont have gun license it shows Not Passed. When i buy a gun license and do /licenses it shows "Gun License: ", how can i make it show passed when i buy one?
Reply


Messages In This Thread
little prblem - by Tanush123 - 18.08.2011, 14:54
Re: little prblem - by Norck - 18.08.2011, 15:10

Forum Jump:


Users browsing this thread: 1 Guest(s)