20.09.2009, 22:31
i'm trying to add a % sign... in a client text.. which it aint working. i'm using this:
The message it does display but the " % " sign don't... i read on wiki that if i need to make an escape character which it soppose to be written in the string... add an " \ " infront of the sign... but still don't work even i tried " \%; " which also didn't worked both occasions i got no errors at all... but that symbol is not displaying. I tried it with " %" alone.. no other chars and still.... didn't showed up
Code:
format(string, sizeof(string),"SAC: You healed %s to 100\%",PlayerInfo[giveplayerid][name]); SendClientMessage(playerid,COLOR_BRIGHTRED,string);