31.05.2011, 09:16
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;
}
pawn Код:
format(str9, sizeof str9, ""Blue"|| "White"Jailed:"Red" %s \n", IsJailed(playerid));