Quote:
Originally Posted by jameskmonger
pawn Код:
IsJailed(playerid) { new string[4]; switch(PlayerInfo[playerid][pJailed]) { case 0: format(string, sizeof(string), "No"); case 1: format(string, sizeof(string), "Yes"); default: format(string, sizeof(string), "ERR"); } return string; }
Now just use it as:
pawn Код:
format(str9, sizeof str9, ""Blue"|| "White"Jailed:"Red" %s \n", IsJailed(playerid));
Don't know why I helped you after you insulted me, but oh well.
|
Thanks, but whats wrong with the whole code why doesnt it show? And i cant remember when did i insult you...