Back In trouble!!
#1

Hey mates i want little help. Is there is a way to return a player to another cmd when the functions of the first cmd completes.

I mean when player A uses /cmd1 then the functions of cmd1 completes and also returns the player to another cmd functions.

I don't want to use 1 command for the functions. Just want to return them to another cmd.

Help me if you have understanded.

I am using dcmd.
Reply
#2

pawn Код:
CMD:cmd1(playerid,params[])
{
    // cmd1 code
    return cmd_cmd2(playerid, params); // when cmd1 finish execution it will go to cmd2 (make sure you have that command)
}
Is this what you are looking for ?
Reply
#3

I don't think DCMD supports returning.
I recommend using ZCMD, a LOT faster!

EDIT: Nevermind, he already solved it while I was typing :P^
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)