||===Help with CMD: (Params)===||
#1

Hello guys!
How cand i make this to work? CMD: start lvrace
I dont' want to type in game /start lvrace ! I want to type just /lvrace !

It's like i want to use params in CMD...)
Код:
CMD:start lvrace(playerid, params[])
{
    if(AutomaticRace == true) return SendError(playerid, "Not possible. Automatic race is enabled!");
    if(RaceBusy == 0x01 || RaceStarted == 1) return SendError(playerid, "There's a race currently. Wait first till race ends!");
    LoadRace(playerid, params);
    return ( 1 );
}

and i will use:
CMD:lvrace( playerid, params[] ) return cmd_start lvrace( playerid, params );//ShortCut Race:)
Reply


Messages In This Thread
||===Help with CMD: (Params)===|| - by nGen.SoNNy - 21.12.2011, 06:19
Re: ||===Help with CMD: (Params)===|| - by [MG]Dimi - 21.12.2011, 06:24
Re: ||===Help with CMD: (Params)===|| - by nGen.SoNNy - 21.12.2011, 06:43

Forum Jump:


Users browsing this thread: 1 Guest(s)