19.07.2014, 08:03
Working Lol I forgot that _
GTIsShown[playerid][0] = 0;
GTIsShown[playerid][1] = 0;
GTIsShown[playerid][2] = 0;
GTIsShown[playerid][3] = 0;
GTIsShown[playerid][4] = 0;
GTIsShown[playerid][5] = 0;
GTIsShown[playerid][6] = 0;
GTIsShown[playerid][7] = 0;
GTIsShown[playerid][8] = 0;
GTIsShown[playerid][9] = 0;
GTIsShown[playerid][10] = 0;
for (new i; i < GAMETEXT_STYLES; i++) GTIsShown[playerid][i] = 0;
pawn Код:
pawn Код:
|
You might be interested in this post from fixes.inc:
https://sampforum.blast.hk/showthread.php?pid=2903018#pid2903018 All the associated code for those additional types is here, to save you duplicating effort: https://github.com/Y-Less/sa-mp-fixe...nc#L2659-L3082 That code creates both global and per-player TD for the 14 styles I listed. I didn't think to add the message box one. May I suggest consistency in numbering? It doesn't make much sense to have vehicle names be style 7 in fixes.inc and style 8 here. Of course, there is no reason you should do, it would just be better IMHO. |
I didn't at all say remove it! I pointed you to existing code you could use to save you time, and suggested that you might want to maintain compatibility for everyone's sake. I know how long and hard replicating those styles is, since I've already done it, so why not try and save someone else the trouble?
Don't remove it - you already made it and if only one other person uses it, that's still good. |
btw whats the format to use for it change the color for each text ?
|