tag mismatch ?
#7

If you pass the "Label" var by reference that will definitely work.

pawn Код:
stock LabelText(playerid, &Text3D: Label)
{
    /*============================Gold VIP==================================*/
    if(AccountInfo[playerid][AdminLevel] == 5 && AccountInfo[playerid][VIPlevel] == 3)
    {
        Label = Create3DTextLabel("test",0x008080FF, 30.0, 40.0, 50.0, 40.0, 0);
    }
    if(AccountInfo[playerid][AdminLevel] == 4 && AccountInfo[playerid][VIPlevel] == 3)
    {
        Label = Create3DTextLabel("test",0x008080FF, 30.0, 40.0, 50.0, 40.0, 0);
    }
    //...and so on
}
To use it.
pawn Код:
new Text3D: label;
LabelText(playerid, label);//the function will make "label" equal to a new 3DText if one is made
Its the same really as label = Create3DTextLabel(...) in your version. Use it the same way you use GetPlayerHealth.
Reply


Messages In This Thread
tag mismatch ? - by [D]ry[D]esert - 22.05.2012, 16:39
Re: tag mismatch ? - by iggy1 - 22.05.2012, 16:43
Re: tag mismatch ? - by Faisal_khan - 22.05.2012, 16:49
Re: tag mismatch ? - by [D]ry[D]esert - 22.05.2012, 16:52
Re: tag mismatch ? - by iggy1 - 22.05.2012, 16:54
Re: tag mismatch ? - by [D]ry[D]esert - 23.05.2012, 06:46
Re: tag mismatch ? - by iggy1 - 23.05.2012, 07:21
Re: tag mismatch ? - by Vince - 23.05.2012, 07:39

Forum Jump:


Users browsing this thread: 2 Guest(s)