24.01.2013, 16:55
Title says all...How?
return something;
forward Test();
public Test()
}
return Test;
}
forward ResetMoney
public ResetMoney
{
//code here
return ResetPlayerMoney;
}
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.
}
Maybe this:
pawn Код:
|
NO!I know how to call function.Please READ my queston before answering.
For example again: If you don't return value on that created callback,then warning shows: "MyCallback should return value" I need ansfwer how to create callback like that.Where value must be returned. Is there anyone who can UNDERSTAND my question!? |