achat +rep if you help
#1

can someone help me make a admin chat so when i type /a it sends my text to all admins using if(PlayerInfo[playerid][pAdmin] >= ), this is what i currently got
Код:
CMD:a(playerid, params[])
{
	new string[128];
	if(isnull(params)) return SendClientMessage(playerid,-1,"USAGE: /a [adminchat]");
    format(string, sizeof(string), "Admin Chat: %s %s", GetName(playerid), params);
    printf("Admin Chat: %s %s", GetName(playerid), string);  // not sure if i need that
  
	return 1;
}
im just trying to figure out how to send this to all admins rep+ if you help
Reply


Messages In This Thread
achat +rep if you help - by cluckintucker - 05.01.2013, 15:04
Re: achat +rep if you help - by [HK]Ryder[AN] - 05.01.2013, 15:07
Re: achat +rep if you help - by cluckintucker - 05.01.2013, 15:10
Re: achat +rep if you help - by Mr.Anonymous - 05.01.2013, 15:20
Re: achat +rep if you help - by [HK]Ryder[AN] - 05.01.2013, 15:22
Re: achat +rep if you help - by arakuta - 05.01.2013, 15:23
Re: achat +rep if you help - by cluckintucker - 05.01.2013, 15:24
Re: achat +rep if you help - by cluckintucker - 05.01.2013, 15:26
Re: achat +rep if you help - by [HK]Ryder[AN] - 05.01.2013, 15:26
Re: achat +rep if you help - by -=Dar[K]Lord=- - 05.01.2013, 15:27

Forum Jump:


Users browsing this thread: 2 Guest(s)