/spec off
#5

Quote:
Originally Posted by lelemaster
Посмотреть сообщение
Check if the player tipes off before checking for any ID.

Ex:
pawn Код:
command(specnew, playerid, params[])
{
    if(strcmp(text, "off", true) == 0)
    {
        //your codes
    }
    else
    {
        //dont forget the new and stuff
        if(sscanf(params, "u", id))
        {
            // codes
        }
    }
    return 1;
}
Worked, REP+
Reply


Messages In This Thread
/spec off - by Stefand - 01.06.2013, 22:04
Re: /spec off - by Vince - 01.06.2013, 22:20
Re: /spec off - by Stefand - 01.06.2013, 22:25
Re : /spec off - by lelemaster - 02.06.2013, 01:39
Re: Re : /spec off - by Stefand - 02.06.2013, 06:38

Forum Jump:


Users browsing this thread: 1 Guest(s)