Little help
#1

This is my code,it updates the textlabel above the player level:

pawn Код:
case 1 .. 3:
            {
                Ticketable[i] = Create3DTextLabel("Suspect - Ticketable",yellow,30.0,40.0,50.0,40.0,0);
                Attach3DTextLabelToPlayer(Ticketable[i], i, 0.0, 0.0, 0.7);
                DeletePlayer3DTextLabel(i, Arrestable);
                SetPlayerColor(i,yellow);
            }

            case 4 .. 10:
            {
                Arrestable[i] = Create3DTextLabel("Suspect - Arrestable",red,30.0,40.0,50.0,40.0,0);
                Attach3DTextLabelToPlayer(Arrestable[i], i, 0.0, 0.0, 0.7);
                DeletePlayer3DTextLabel(i, Ticketable);
                SetPlayerColor(i,red);
The problem is here:

error 035: argument type mismatch (argument 2)

Lines:

pawn Код:
DeletePlayer3DTextLabel(i, Arrestable);
pawn Код:
DeletePlayer3DTextLabel(i, Ticketable);
Basically,this code put a 3dlabel above the player head,from 1 to 3 it's "Ticketable",then i wanna destroy the label if it's wanted level 4 from 10,showing "Arrestable",but i get that errors.
Reply


Messages In This Thread
Little help - by Face9000 - 25.05.2012, 19:23
Re: Little help - by Libra_PL - 25.05.2012, 19:25
Re: Little help - by Face9000 - 25.05.2012, 19:28
Re: Little help - by iggy1 - 25.05.2012, 19:28
Re: Little help - by Face9000 - 25.05.2012, 19:30
Re: Little help - by iggy1 - 25.05.2012, 19:33
Re: Little help - by Catalyst- - 25.05.2012, 19:34
Re: Little help - by Face9000 - 25.05.2012, 19:34
AW: Little help - by EthanR - 25.05.2012, 19:35

Forum Jump:


Users browsing this thread: 1 Guest(s)