Class names
#5

~r~ = red
~b~ = blue
~p~ = purple
~y~ = yellow
~g~ = green

etc... just use first letter of color you want with "~" before letter and after

also when using class selection if you want to use diff names for diff characters just use a simple switch code:
pawn Код:
switch(classid)
{
   case 1..5: GameTextForPlayer(playerid, "~r~Team 1 Name Here", 2000, 5); <---- Skins: 1 through 5
   case 6..10: GameTextForPlayer(playerid, "~r~Team 2 Name Here", 2000, 5); <---- Skins 6 through 10
}
and you can keep going

EDIT: the 2000 stands for the milliseconds the text will show onscreen so the text will who for 2 seconds unill it goes away
The "5" means the style of the text, go here for all styles: https://sampwiki.blast.hk/wiki/GameTextStyle
Reply


Messages In This Thread
Class names - by [GPS]Chris - 19.01.2009, 17:32
Re: Class names - by SmartyPants - 19.01.2009, 17:34
Re: Class names - by [GPS]Chris - 19.01.2009, 17:45
GameTextForPlayer(playerid, "~r~Team Name Here", 2000, 5); - by TMNuclear - 28.03.2009, 15:32
Re: Class names - by StrickenKid - 28.03.2009, 15:54
Re: Class names - by TMNuclear - 28.03.2009, 17:23
Problem :( - by TMNuclear - 28.03.2009, 17:43
Re: Class names - by Rks25 - 28.03.2009, 17:45
Re: Class names - by TMNuclear - 28.03.2009, 17:46
Re: Class names - by Rks25 - 28.03.2009, 17:47
TextDraw !! - by TMNuclear - 28.03.2009, 17:49
Re: Class names - by TMNuclear - 28.03.2009, 18:01
Re: Class names - by Rks25 - 28.03.2009, 18:40
To Rk_ - by TMNuclear - 28.03.2009, 18:43
Re: Class names - by Rks25 - 28.03.2009, 19:05
Re: Class names - by TMNuclear - 28.03.2009, 19:20

Forum Jump:


Users browsing this thread: 1 Guest(s)