Command time
#1

Hi. If it possible to do, that for example command /help in same time can use also one person? If somebody use that command, other persons can use it later (30 sec. after).

If it possible, how to do that?
Reply
#2

Code:
new VarTime;

CMD:help(playerid)
{
    if(VarTime > gettime()) return SendClientMessage(playerid, -1, "Please wait for 30 sec.");
    VarTime = 30 + gettime();

    //code

    return 1;
}
Reply
#3

Thanks a lot.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)