SA-MP Forums Archive
Can i get a small help? - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Can i get a small help? (/showthread.php?tid=335184)



Can i get a small help? - Laure - 17.04.2012

Can i get help that how can i color only Community Advisor of it leaving the color of other text to be COLOR_OOC
Код:
	else if(PlayerInfo[playerid][pHelper] >= 2)
	{
		new string[128];
		format(string, sizeof(string), "(( Community Advisor %s: %s ))", GetPlayerNameEx(playerid), params);
		OOCOff(COLOR_OOC,string);
		return 1;
	}



Re: Can i get a small help? - SuperViper - 17.04.2012

You should stop using the NGRP script, but if you wanna change the color, change COLOR_OOC to another color.


Re: Can i get a small help? - Laure - 17.04.2012

Dude thats simple i said u how may i change just the color of Community Advisor leaving the other text color OOC.


Re: Can i get a small help? - Laure - 17.04.2012

Please help me just for it


Re: Can i get a small help? - [MG]Dimi - 17.04.2012

pawn Код:
format(string, sizeof(string), "(( {FFFF00}Community Advisor %h %s: %s ))", COLOR_OOC,GetPlayerNameEx(playerid), params);
FFFF00 is yellow. You change it how you want. Should work.