21.12.2011, 06:19
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...)
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:)