04.09.2013, 16:02
An example:
It will print var: "Yes"
So, it goes like:
pawn Код:
new
var = 1
;
printf( "var: \"%s\"", ( var == 1 ) ? ( "Yes" ) : ( "No" ) );
So, it goes like:
pawn Код:
format(string,sizeof(string),"|| Name : %s || || Gun License : %s ||",RemoveUnderScore(playerid), ( pInfo[playerid][GunLic] == 1 ) ? ( "Yes" ) : ( "No" ) );