19.03.2013, 17:32
Take a closer look
If mask is equal 0, then string formatted will be "* %s takes out a cellphone.", but if the player has a mask on, then it will be "* Stranger takes out a cellphone.". This is called ternary operator
pawn Код:
PlayerInfo[playerid][pMaskuse] == 0 ? ("* %s takes out a cellphone.") : ("* Stranger takes out a cellphone.")