one command multiple actions. (/goto [Location] (LS LV SF))
#2

pawn Код:
CMD:goto(playerid, params[])
{
    if(!strcmp("sf", params, true, 2))
    {
        // SF tp cmd
    }
    if(!strcmp("ls", params, true, 2))
    {
        // LS tp cmd
    }
    if(!strcmp("lv", params, true, 2))
    {
        // LV tp cmd
    }
    return 1;
}
Reply


Messages In This Thread
one command multiple actions. (/goto [Location] (LS LV SF)) - by Verth - 21.12.2013, 13:04
Re: one command multiple actions. (/goto [Location] (LS LV SF)) - by newbie scripter - 21.12.2013, 13:14
Re: one command multiple actions. (/goto [Location] (LS LV SF)) - by Patrick - 21.12.2013, 13:15
Re: one command multiple actions. (/goto [Location] (LS LV SF)) - by Verth - 21.12.2013, 13:41

Forum Jump:


Users browsing this thread: 1 Guest(s)