weapon display
#1

Hey, I got a question.
I made a textdraw and variables.. etc.

What If i want this textdraw to display the player's current weapon, That'd be nice if you helped me.
Reply
#2

simply, I want to display the weapon name on my textdraw, how ?
Reply
#3

pawn Код:
new weap[32], var = GetPlayerWeapon(playerid);
switch(var)
{
    case 0, 18, 44, 45: weap = "None"; //If the weapon is 0, 18, 44 or 45, make the weapon 'null'
    default: GetWeaponName(var, weap, sizeof(weap)); //Get the name of the player's weapon
}
TextDrawSetString(TextDraw, weap);
Reply
#4

Not working.
Reply
#5

Ї\_(ツ)_/Ї
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)