Why is this not working?
#1

Код:
if (strcmp("/test", cmdtext, true, 10) == 0)
	{
	    new str[124];
		format(str, sizeof(str), "~n~~n~~n~~n~~n~~n~~w~Esta por llegar un nuevo ~g~reporte de ~r~%s");
		GameToAdmins(str);
		return 1;
	}

stock GameToAdmins(text[])
{
    for(new a, g = GetMaxPlayers(); a < g; a++)
        if(IsPlayerConnected(a) && IsPlayerAdmin(a))
            GameTextForPlayer(a, text);
}
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)