GMX Bug?
#6

Quote:
Originally Posted by Glad2BeHere
Посмотреть сообщение
replace OnGMX(); with SetTimer("OnGMX", 1000, false); && ensure ur admin lvl iz 5
I don't get you. Could you type in the code? From my understanding, that doesn't make any sense at all.

Quote:
Originally Posted by pds2012
Посмотреть сообщение
As stock doesn't get called when using timer... only public are called if you want to use a timer

try this one

pawn Код:
CMD:gmrestart(playerid, params[])
{
    if(Player[playerid][pAdmin] <  5) return SendClientMessage(playerid, -1,"You're not authorized to use this command");
    GameTextForAll("~w~Server Restarting...", 20000, 5);
    SetTimer("OnServerRestart", 10000, 0);
    return 1;
}

public OnServerRestart()
{
    SendRconCommand("gmx");
    return 1;
}
That's what I already have, it only saves player data just before doing the RCON gmx command.
Reply


Messages In This Thread
GMX Bug? - by Skribblez - 12.03.2013, 15:09
Re: GMX Bug? - by Glad2BeHere - 12.03.2013, 15:15
Re: GMX Bug? - by Skribblez - 12.03.2013, 15:17
Re: GMX Bug? - by Glad2BeHere - 12.03.2013, 15:35
Re: GMX Bug? - by Patrick - 12.03.2013, 15:41
Re: GMX Bug? - by Skribblez - 12.03.2013, 15:41
Re: GMX Bug? - by Glad2BeHere - 12.03.2013, 15:50
Re: GMX Bug? - by Skribblez - 12.03.2013, 15:57
Re: GMX Bug? - by Glad2BeHere - 12.03.2013, 16:03
Re: GMX Bug? - by Skribblez - 12.03.2013, 16:07

Forum Jump:


Users browsing this thread: 2 Guest(s)