help little with string
#5

Quote:
Originally Posted by mineralo
Посмотреть сообщение
it's very simple message to admins
pawn Код:
forward MessageToAdmins(color,const string[]);
public MessageToAdmins(color,const string[])
{
    for(new i = 0; i < MAX_PLAYERS; i++)
    {
        if(IsPlayerConnected(i) == 1) if (GetPlayerAdminz(i) >= 1) SendClientMessage(i, color, string);
    }
    return 1;
}
and what is deference between "%s" "%d" and "%i" ?
I and D are for numbers
S is for any line of text. ****** sscanf samp and find it
Reply


Messages In This Thread
help little with string - by mineralo - 19.01.2012, 16:56
Re: help little with string - by Sinner - 19.01.2012, 17:03
Re: help little with string - by mineralo - 19.01.2012, 17:08
Re: help little with string - by Konstantinos - 19.01.2012, 17:08
Re: help little with string - by milanosie - 19.01.2012, 17:10
Re: help little with string - by mineralo - 19.01.2012, 17:10
Re: help little with string - by mSp - 19.01.2012, 17:14

Forum Jump:


Users browsing this thread: 1 Guest(s)