DIALOG_STYLE_MSGBOX
#1

Can i use the "Case" setup for MSGBOX dialog, for Accept and Cancel?
Reply
#2

All you really need to do it

pawn Код:
if(reponse)
{
  // accept
}
else
{
  // cancel
}
Reply
#3

Juss checking, so i didn't fail, xD
Reply
#4

You could use switch(), but that's generally used for lots of cases.
Reply
#5

OK, It all works but i get errors on this, Did i do this correct?

pawn Код:
if(gTeam[playerid] == TEAM_DRUGDEALER) || if(gTeam[playerid] == TEAM_CIVIL)
Reply
#6

pawn Код:
if(gTeam[playerid] == TEAM_DRUGDEALER || gTeam[playerid] == TEAM_CIVIL)
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)