Raven's Roleplay /stats
#1

hey everybody,
i am currently working on the raven's roleplay server right now.. is their anyway i can edit /stats so it will be a dialog?
here is the command if you need it

Код:
if (strcmp(cmd, "/stats", true) == 0)
	{
	    if(IsPlayerConnected(playerid))
	    {
			if (gPlayerLogged[playerid] != 0)
			{
				ShowStats(playerid,playerid);
				new y, m, d;
				new h,mi,s;
				getdate(y,m,d);
				gettime(h,mi,s);
				format(string,sizeof(string), "(%d/%d/%d)[%d:%d:%d] %s [CMD] -> /stats",d,m,y,h,mi,s,sendername);
				CommandLog(string);
			}
			else
			{
				SendClientMessage(playerid, COLOR_GRAD1, "   You are not Logged in!");
				return 1;
			}
		}
		return 1;
	}
Reply
#2

Post your CommandLog function. Edit it to make it in dialog.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)