#9

Hello guys, theres something I would like to ask:

pawn Код:
//-----[Server GMX]-----
CMD:gmx(playerid, params[])
{
    SaveUserDate(playerid);

    SetTimer("Gmx",3000,false); // <---- About this
    SendRconCommand("gmx"); // <---- And this
    return 1;
}
What does the callback of the timer "Gmx" do? If I understood the code correctly, then you're setting a timer for a gmx command, and then you're instantly calling a SendRconCommand("gmx"); under it..? Am I right?
Reply


Messages In This Thread
GMX - by Kingunit - 30.08.2011, 13:28
Re: GMX - by Kingunit - 30.08.2011, 13:38
Re: GMX - by Kayaque - 30.08.2011, 13:40
Re: GMX - by Kingunit - 30.08.2011, 13:42
Re: GMX - by Venice - 30.08.2011, 13:43
Re: GMX - by Kingunit - 30.08.2011, 13:49
Re: GMX - by Kingunit - 30.08.2011, 14:09
Re: GMX - by Kingunit - 30.08.2011, 14:19
Re: GMX - by Universal - 30.08.2011, 14:31
Re: GMX - by Kingunit - 30.08.2011, 14:32

Forum Jump:


Users browsing this thread: 4 Guest(s)