V.I.P Tag
#1

hello everyone i made a command named as vip tag but the tag is not showing all things are working client messages are working but .............

pawn Код:
CMD:viptag(playerid,params[]) {
  if(PlayerInfo[playerid][Level] == 1 || IsPlayerAdmin(playerid)) {
    new Text3D:label;
    label = Create3DTextLabel("V.I.P member", 0x008080FF, 30.0, 40.0, 50.0, 40.0, 0);
    Attach3DTextLabelToPlayer(label, playerid, 0.0, 0.0, 0.7);
    return SendClientMessage(playerid, 0x008080FF, "VIP Tag added");
    } else return SendClientMessage(playerid, red, "ERROR:You Need to be VIP to use this command");
 }
i want the tag to be abhove the head of the player

please reply
Reply
#2

Hmm.. Let's say you want something like this:

EDIT:

PHP код:
CMD:viptag(playerid,params[])
{
  if(
PlayerInfo[playerid][Level] == || IsPlayerAdmin(playerid)) return SendClientMessage(playeridred"ERROR:You Need to be VIP to use this command");
  {
    new 
Text3D:label;
    
label Create3DTextLabel("V.I.P member"0x008080FF30.040.050.040.00);
    
Attach3DTextLabelToPlayer(labelplayerid0.00.00.7);
     
SendClientMessage(playerid0x008080FF"VIP Tag added");
    }
    return 
1;

Reply
#3

i want that a tag of 3d text label appears abhove the head of player vip member
Reply
#4

It should work:
PHP код:
CMD:viptag(playerid,params[])
{
  if(
PlayerInfo[playerid][Level] == || IsPlayerAdmin(playerid)) return SendClientMessage(playeridred"ERROR:You Need to be VIP to use this command");
  {
    new 
Text3D:label;
    
label Create3DTextLabel("V.I.P member"0x008080FF30.040.050.040.00);
    
Attach3DTextLabelToPlayer(labelplayerid0.00.00.7);
     
SendClientMessage(playerid0x008080FF"VIP Tag added");
    }
    return 
1;

Reply
#5

thx for help man but that helped but i took that from xvip +Rep to u
Reply
#6

pawn Код:
CMD:viptag(playerid,params[]) {
  #pragma unused params
  if(PlayerInfo[playerid][Level] == 1 || IsPlayerAdmin(playerid)) {
    new Text3D:label;
    label = Create3DTextLabel("V.I.P member", 0x008080FF, 30.0, 40.0, 50.0, 40.0, 0);
    Attach3DTextLabelToPlayer(label, playerid, 0.0, 0.0, 0.7);
    return SendClientMessage(playerid, 0x008080FF, "VIP Tag added");
    } else return SendClientMessage(playerid, red, "ERROR:You Need to be VIP to use this command");
 }
Reply
#7

ok man fine that command it gives message also vip tag added but when i rotate my camera i cant see my tag over my head
Reply
#8

Quote:
Originally Posted by CBCandyBoy
Посмотреть сообщение
ok man fine that command it gives message also vip tag added but when i rotate my camera i cant see my tag over my head
no one cant see their tags on their head
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)