sscanf
#1

Hi,

Now i use

Код:
new PLAYERNAME;
if (sscanf(params, "u", PLAYERNAME ) )
{
SendClientMessage( playerid, COLOR_RED,"* Bad name");
return 1;
}
To check is player in game i need only do that?

Код:
if( PLAYERNAME == INVALID_PLAYER_ID)
{
SendClientMessage(playerid,COLOR_RED,"*Player not connected");
return 1;
}
Reply


Messages In This Thread
sscanf - by CSCripMa - 21.02.2016, 14:19
Re: sscanf - by ReshiramZekrom - 21.02.2016, 14:42
Re: sscanf - by saffierr - 21.02.2016, 15:18

Forum Jump:


Users browsing this thread: 1 Guest(s)