Command Problem
#5

Quote:
Originally Posted by Da' J'
Посмотреть сообщение
Don't get mad to me, but just asking. I see only once the "if" for checking if they have a job... Should you do it twice? In my eyes, i just keep staring at the miss of that. :/

What i'm talking about is
pawn Код:
if(PlayerData[playerid][Job] == 1)

Just trying to be kind and help. Hopefully it helps...
Nah, doing
pawn Код:
if(PlayerData[playerid][Job] == 0) return SomeErrorMsg
is the equivalent of doing
pawn Код:
if(PlayerData[playerid][Job] != 0)
{
    //we continue with our command
}

How is your
pawn Код:
JobInfo[PlayerData[playerid][Job]][Jobname]
set?
Reply


Messages In This Thread
Command Problem - by Tanush123 - 20.01.2012, 18:26
Re: Command Problem - by Da' J' - 20.01.2012, 18:33
Re: Command Problem - by Snowman12 - 20.01.2012, 18:35
Re: Command Problem - by MSI - 20.01.2012, 18:35
Re: Command Problem - by [ABK]Antonio - 20.01.2012, 18:36
Re: Command Problem - by Tanush123 - 20.01.2012, 18:40

Forum Jump:


Users browsing this thread: 1 Guest(s)