Need Class Colours and Names
#1

Well i need some labels that say terrorists cia and swat. Like if you joined a popular sever it will show the type of jobs when u scroll through the classes. It will say Terrorist or Cop in big letters. I need that for my dm server. So i was wondering if someone could help me with it. I remember i asked this long ago and someone just said to use this onplayercolour or something. Forgot what it was but i couldn't do it.

I also need teams like terrorists red and cops/swat/cia blue. So I'd appreciate if someone could give me the script for it or a detailed explanation/tutorial on how to do it. Since I can't find a good way on how to do it.

~Thanks
Reply
#2

hello demi so this is what you have been doing, anyway heres what ya need https://sampwiki.blast.hk/wiki/GameTextForPlayer and for teams https://sampwiki.blast.hk/wiki/PAWN_tutorial
Reply
#3

Nahh lol just came back after a longgggggg time. I'd go on server but its so crowded now =\ I visit daily though, only for a few minutes though =S

And the gametextforplayer thing i Don't get could you explain it to me?
Reply
#4

sure you`ll do this in OnPlayerRequestClass you`ll do something like this
Код:
if (classid == 0)
{
  GameTextForPlayer(playerid,"CIA",5000,5);//GameTextForPlayer(playerid,const,time in milisecs,style);
}
else if (classid == 1)
{
  GameTextForPlayer(playerid,"~r~Terrorist",5000,5);
}
a list of styles and color can be found here https://sampwiki.blast.hk/wiki/GameTextStyle
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)