How can i make a cmd with optional options?
#8

Quote:
Originally Posted by OKStyle
Посмотреть сообщение
pawn Код:
CMD:kill(playerid, params[])
{
    if(sscanf(params, "d", params[0])) return SetPlayerHealth(playerid, 0.0);
    SetPlayerHealth(params[0], 0.0);
    return 1;
}
TYVM!
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)