sscanf questions
#1

Hello,
I would like to do a command where when params is empty, it does an action but when i give an id, it does the action on the player. I'm currently using :

if(isnull(params))
{


}
else
{


}

Is there any way to do this with sscanf

2)
Also, i would like to do a cmd where either i give an id or a part of name of players in params. i'm currently using

if(!IsNumeric(params)) player1 = ReturnPlayerID(params);

is there any ways with sscanf

Thank for your answers
Reply


Messages In This Thread
sscanf questions - by sam29 - 01.06.2016, 19:52
Re: sscanf questions - by Konstantinos - 01.06.2016, 19:56
Re: sscanf questions - by sam29 - 01.06.2016, 19:58
Re: sscanf questions - by Konstantinos - 01.06.2016, 20:00
Re: sscanf questions - by F1N4L - 01.06.2016, 20:04

Forum Jump:


Users browsing this thread: 1 Guest(s)