Problem with a peace of code.
#1

Hi, I know this code is wrong but you probably understand what I'm trying to do. Do you have any Idea how I can get this code to work?
pawn Код:
switch(InJail[id])
    {
        case 0: IsInJail = "No";
        case 1: IsInJail = "Yes for %i seconds", Info[id][TimeInJail];
    }
Reply
#2

Be more clear, I don't have a clue what the problem is. What are you trying to do & what's the problem?

Are you trying to send it:
pawn Код:
new string[128];
format(string, sizeof(string), "Jail: %s", IsInJail);
SendClientMessage(id, -1, string);
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)