Help Me
#7

Quote:
Originally Posted by Bojaa
View Post
Like This?
PHP Code:
CMD:skills(playeridparams[])
{
            new 
string[1041];
            new 
level PlayerInfo[playerid][pDetSkill];
            new 
levell PlayerInfo[playerid][pLawSkill];
            new 
levelt PlayerInfo[playerid][pTruckSkill];
            if(
level >= && level <= 50) {
            
format(stringsizeof(string), "Detective Level 1: You need %d\nLawyer Level 1: You need %d\nTrucker level 1:You Need %d",51 level,51 levell,51 levelt);
            }
            else if(
level >= 51 && level <= 100) {
            
format(stringsizeof(string), "Detective Level 2: You need %d\nLawyer Level 2: You need %d\nTrucker level 1:You Need %d",101 level,101 levell,101 levelt);
            }
            
ShowPlayerDialog(playerid500DIALOG_STYLE_MSGBOX"jobs"string"close""");
        } 
This Worked But it dont show the second level 2 How it be fixed?
See trucker level it show -2
Reply


Messages In This Thread
Help Me - by Bojaa - 07.04.2017, 14:59
Re: Help Me - by Bojaa - 07.04.2017, 15:57
Re: Help Me - by SyS - 07.04.2017, 15:58
Re: Help Me - by Bojaa - 07.04.2017, 16:10
Re: Help Me - by SyS - 07.04.2017, 16:21
Re: Help Me - by Bojaa - 07.04.2017, 16:27
Re: Help Me - by Bojaa - 07.04.2017, 16:31

Forum Jump:


Users browsing this thread: 1 Guest(s)