Stats wont show good
#2

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.
Reply


Messages In This Thread
Stats wont show good - by Markx - 31.05.2011, 08:26
Re: Stats wont show good - by jameskmonger - 31.05.2011, 09:16
Re: Stats wont show good - by Markx - 31.05.2011, 16:19

Forum Jump:


Users browsing this thread: 1 Guest(s)