22.05.2012, 16:39
Hi i wanna make When admin or vip spawn 3D laber Attached to them like this but Warning Show to me
I hate Warnings in my Gamemode >.<
This is my Code
Код:
tag mismatch
This is my Code
pawn Код:
new Label;
Код:
Label = LabelText(playerid); /*Line 1891*/Attach3DTextLabelToPlayer(Label, playerid, 0.0, 0.0, 0.7);
pawn Код:
stock LabelText(playerid)
{
/*============================Gold VIP==================================*/
if(AccountInfo[playerid][AdminLevel] == 5 && AccountInfo[playerid][VIPlevel] == 3)
{
Create3DTextLabel(""RED"Owner & "Gold"Gold "PURPLE"VIP *",0x008080FF, 30.0, 40.0, 50.0, 40.0, 0);
}
if(AccountInfo[playerid][AdminLevel] == 4 && AccountInfo[playerid][VIPlevel] == 3)
{
Create3DTextLabel(""RED"Head Admin & "Gold"Gold "PURPLE"VIP *",0x008080FF, 30.0, 40.0, 50.0, 40.0, 0);
}
if(AccountInfo[playerid][AdminLevel] == 3 && AccountInfo[playerid][VIPlevel] == 3)
{
Create3DTextLabel(""RED"Administrator & "Gold"Gold "PURPLE"VIP *",0x008080FF, 30.0, 40.0, 50.0, 40.0, 0);
}
if(AccountInfo[playerid][AdminLevel] == 2 && AccountInfo[playerid][VIPlevel] == 3)
{
Create3DTextLabel(""RED"Moderator & "Gold"Gold "PURPLE"VIP *",0x008080FF, 30.0, 40.0, 50.0, 40.0, 0);
}
if(AccountInfo[playerid][AdminLevel] == 1 && AccountInfo[playerid][VIPlevel] == 3)
{
Create3DTextLabel(""RED"Trail Moderator & "Gold"Gold "PURPLE"VIP *",0x008080FF, 30.0, 40.0, 50.0, 40.0, 0);
}
/*============================Silver VIP==================================*/
if(AccountInfo[playerid][AdminLevel] == 5 && AccountInfo[playerid][VIPlevel] == 3)
{
Create3DTextLabel(""RED"Owner & "Silver"Silver "PURPLE"VIP *",0x008080FF, 30.0, 40.0, 50.0, 40.0, 0);
}
if(AccountInfo[playerid][AdminLevel] == 4 && AccountInfo[playerid][VIPlevel] == 3)
{
Create3DTextLabel(""RED"Head Admin & "Silver"Silver "PURPLE"VIP *",0x008080FF, 30.0, 40.0, 50.0, 40.0, 0);
}
if(AccountInfo[playerid][AdminLevel] == 3 && AccountInfo[playerid][VIPlevel] == 3)
{
Create3DTextLabel(""RED"Administrator & "Silver"Silver "PURPLE"VIP *",0x008080FF, 30.0, 40.0, 50.0, 40.0, 0);
}
if(AccountInfo[playerid][AdminLevel] == 2 && AccountInfo[playerid][VIPlevel] == 3)
{
Create3DTextLabel(""RED"Moderator & "Silver"Silver "PURPLE"VIP *",0x008080FF, 30.0, 40.0, 50.0, 40.0, 0);
}
if(AccountInfo[playerid][AdminLevel] == 1 && AccountInfo[playerid][VIPlevel] == 3)
{
Create3DTextLabel(""RED"Trail Moderator & "Silver"Silver "PURPLE"VIP *",0x008080FF, 30.0, 40.0, 50.0, 40.0, 0);
}
/*============================Bronze VIP==================================*/
if(AccountInfo[playerid][AdminLevel] == 5 && AccountInfo[playerid][VIPlevel] == 3)
{
Create3DTextLabel(""RED"Owner & "Bronze"Bronze "PURPLE"VIP *",0x008080FF, 30.0, 40.0, 50.0, 40.0, 0);
}
if(AccountInfo[playerid][AdminLevel] == 4 && AccountInfo[playerid][VIPlevel] == 3)
{
Create3DTextLabel(""RED"Head Admin & "Bronze"Bronze "PURPLE"VIP *",0x008080FF, 30.0, 40.0, 50.0, 40.0, 0);
}
if(AccountInfo[playerid][AdminLevel] == 3 && AccountInfo[playerid][VIPlevel] == 3)
{
Create3DTextLabel(""RED"Administrator & "Bronze"Bronze "PURPLE"VIP *",0x008080FF, 30.0, 40.0, 50.0, 40.0, 0);
}
if(AccountInfo[playerid][AdminLevel] == 2 && AccountInfo[playerid][VIPlevel] == 3)
{
Create3DTextLabel(""RED"Moderator & "Bronze"Bronze "PURPLE"VIP *",0x008080FF, 30.0, 40.0, 50.0, 40.0, 0);
}
if(AccountInfo[playerid][AdminLevel] == 1 && AccountInfo[playerid][VIPlevel] == 3)
{
Create3DTextLabel(""RED"Trail Moderator & "Bronze"Bronze "PURPLE"VIP *",0x008080FF, 30.0, 40.0, 50.0, 40.0, 0);
}
/*============================Just VIP==================================*/
if(AccountInfo[playerid][VIPlevel] == 1)
{
Create3DTextLabel(""Bronze"Bronze "PURPLE"VIP *",0x008080FF, 30.0, 40.0, 50.0, 40.0, 0);
}
if(AccountInfo[playerid][VIPlevel] == 2)
{
Create3DTextLabel(""Silver"Silver "PURPLE"VIP *",0x008080FF, 30.0, 40.0, 50.0, 40.0, 0);
}
if(AccountInfo[playerid][VIPlevel] == 3)
{
Create3DTextLabel(""Gold"Gold "PURPLE"VIP *",0x008080FF, 30.0, 40.0, 50.0, 40.0, 0);
}
return 1;
}