30.08.2011, 14:31
Hello guys, theres something I would like to ask:
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?
pawn Код:
//-----[Server GMX]-----
CMD:gmx(playerid, params[])
{
SaveUserDate(playerid);
SetTimer("Gmx",3000,false); // <---- About this
SendRconCommand("gmx"); // <---- And this
return 1;
}