How to create callback that handle returns?
#7

Maybe this:

pawn Код:
forward ResetMoney(); // you may want to put "playerid" inside here.
public ResetMoney() // and here.
{
    // The code that you want to start - here.
}
COMMAND:resetmoney(playerid, params[])
{
    SetTimer("ResetMoney",2000,0); // Starts public ResetMoney after 2 seconds ( 2000 milliseconds) ,0 = not doing it again and again (,1 = repeat)
    return 1; // don't know if it is ResetMoney or ResetMoney(playerid) we should put in the timer.
}
Reply


Messages In This Thread
How to create callback that handle returns? - by Plovix - 24.01.2013, 16:55
Re: How to create callback that handle returns? - by FUNExtreme - 24.01.2013, 17:06
Re: How to create callback that handle returns? - by Patrick - 24.01.2013, 17:08
Re: How to create callback that handle returns? - by Plovix - 24.01.2013, 17:11
Re: How to create callback that handle returns? - by Patrick - 24.01.2013, 17:28
Re: How to create callback that handle returns? - by Plovix - 24.01.2013, 19:27
Re: How to create callback that handle returns? - by gnoomen2 - 24.01.2013, 21:03
Re: How to create callback that handle returns? - by Plovix - 24.01.2013, 22:09
Re: How to create callback that handle returns? - by FUNExtreme - 24.01.2013, 22:30
Re: How to create callback that handle returns? - by Sime30 - 24.01.2013, 22:32

Forum Jump:


Users browsing this thread: 1 Guest(s)