Money problem
#10

Quote:
Originally Posted by TzAkS.
Посмотреть сообщение
Код:
CMD:gmx(playerid,params[])
{
	if(Logged[playerid] == 0)
 	{
 		SendClientMessage(playerid, COLOR_GREY, "You are not logged in.");
 		return 1;
 	}
 	if(PlayerInfo[playerid][pAdmin] < 5) return SendClientMessage(playerid, COLOR_GREY,"You are not allowed to use this command");
    SaveAccountStats(playerid);
    SendRconCommand("gmx");
 	return 1;
}
But u need and a timer,becouse he doesn`t have time to call SaveAccountStats
Ok i setted the timer.. even though i have a timer that savesaccounts every 10 sec, it still doesn't works.
Reply


Messages In This Thread
Money problem - by DannySnoopy - 03.04.2012, 18:44
Re: Money problem - by TheArcher - 03.04.2012, 18:47
Re: Money problem - by blank. - 03.04.2012, 18:50
Re: Money problem - by DannySnoopy - 03.04.2012, 19:14
Re: Money problem - by blank. - 03.04.2012, 19:16
Re: Money problem - by TzAkS. - 03.04.2012, 19:22
Re: Money problem - by DannySnoopy - 03.04.2012, 19:22
Re: Money problem - by DannySnoopy - 03.04.2012, 19:24
Re: Money problem - by TzAkS. - 03.04.2012, 19:28
Re: Money problem - by DannySnoopy - 03.04.2012, 19:31

Forum Jump:


Users browsing this thread: 1 Guest(s)