Simple question [+rep]
#1

Well I want to make something but I don't get it how I can do it... On the left side you see that messages saying like




Cops Weapons
Shotgun
MP5
M4

How to make that?
Reply
#2

Using Textdraws
Reply
#3

Yeah but can I make it to be like
GetPlayerWeapons(playerid);

TextDrawCreate(548, 130, "%s");

Something like that.

Something like TextDrawShowForPlayer(playerid,Weapons);
Reply
#4

Okay, Now I have resolved the thing about this, but still how do I update them?
Quote:

if(classid == 0)
{
gTeam[playerid] = TEAM_RUSSIA;
SetPlayerTeam(playerid,TEAM_RUSSIA);
TextDrawShowForPlayer(playerid, Text:Russian);
TextDrawFont(Text:Russian , 0);
TextDrawLetterSize(Text:Russian , 0.5, 3.5);
TextDrawColor(Text:Russian , 0xFF0000FF);
TextDrawSetOutline(Text:Russian , 0);
TextDrawSetProportional(Text:Russian , 1);
TextDrawSetShadow(Text:Russian , 1);

Like if player changes the skin it shows him other stuff
Reply
#5

ok when they switch to classid == 1, make

pawn Код:
TextDrawHideForPlayer(Playerid....);//just hide all the gun textdraws
TextDrawShowForPlayer(playerid...);//the textdraws you want to show
Reply
#6

Its easy use cases on request class... and make a textdraw wich shows and destroys itself again when spawned
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)