[HELP] If there are 2 if
#3

This?
pawn Код:
if(GetPlayerSkin(playerid) == 125)
{
     //do something here
}
else
{
     //do something here
     return 1;
}
if(GetPlayerColor(playerid) == COLOR_RED)
{
    //do something here
}
else
{
   //do something here
     return 1;
}
Or this?
pawn Код:
if(GetPlayerSkin(playerid) == 125 && GetPlayerColor(playerid) == COLOR_RED)
{
     //do something here
}
else
{
      // do something here
        return 1;
}
Reply


Messages In This Thread
[HELP] If there are 2 if - by V4at - 27.06.2012, 11:05
Re: [HELP] If there are 2 if - by Skaizo - 27.06.2012, 11:21
Re: [HELP] If there are 2 if - by newbienoob - 27.06.2012, 11:21
Re: [HELP] If there are 2 if - by [MM]RoXoR[FS] - 27.06.2012, 11:22
Re : [HELP] If there are 2 if - by V4at - 27.06.2012, 11:29
Re: [HELP] If there are 2 if - by SKAzini - 27.06.2012, 12:51
Re: [HELP] If there are 2 if - by Randy More - 27.06.2012, 12:56

Forum Jump:


Users browsing this thread: 3 Guest(s)