SA-MP Forums Archive
Question - 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Question (/showthread.php?tid=182406)



Question - Scriptissue - 10.10.2010

Yeah, my bad I forgot that.
I have some thing else.
I tired to add text to a certain command that allows to show how many users are in a certain faction.
So I made that script, the problem it I want to change the color of the Valid and Invalid, to another but I can't, It gives me the same color of the User: %s, is there any way to change the color to red ? only the color of Valid and Invalid ?
pawn Код:
if(PlayerInfo[playerid][pFaction1]) { text4 = "Valid"; } else { text4 = "Invalid";
}
    format(string, sizeof(string), "User: %s.", text4);
                        SendClientMessage(giveplayerid, COLOR_WHITE, string);