[HELP] Attach3DTextLabelToPlayer
#1

I have put this script:

pawn Код:
new staff:label = Create3DTextLabel("STAFF BL", COLOR_WHITE, 30.0, 40.0, 50.0, 40.0, 0);
Attach3DTextLabelToPlayer(label, playerid, 0.0, 0.0, 0.7);
At:

pawn Код:
public OnPlayerConnect(playerid)
And when i try to compile...2 warnings:
Код:
C:\gf.pwn(2356) : warning 213: tag mismatch
C:\gf.pwn(2357) : warning 213: tag mismatch
Reply
#2

Quote:
Originally Posted by monster010
Посмотреть сообщение
I have put this script:

pawn Код:
new staff:label = Create3DTextLabel("STAFF BL", COLOR_WHITE, 30.0, 40.0, 50.0, 40.0, 0);
Attach3DTextLabelToPlayer(label, playerid, 0.0, 0.0, 0.7);
At:

pawn Код:
public OnPlayerConnect(playerid)
And when i try to compile...2 warnings:
Код:
C:\gf.pwn(2356) : warning 213: tag mismatch
C:\gf.pwn(2357) : warning 213: tag mismatch
pawn Код:
new stafflabel = Create3DTextLabel("STAFF BL", COLOR_WHITE, 30.0, 40.0, 50.0, 40.0, 0, 0);
Attach3DTextLabelToPlayer(stafflabel, playerid, 0.0, 0.0, 0.7);
You defined it as "staff:label" and attached "label"
Reply
#3

Quote:
Originally Posted by Nathan_Taylor
Посмотреть сообщение
pawn Код:
new stafflabel = Create3DTextLabel("STAFF BL", COLOR_WHITE, 30.0, 40.0, 50.0, 40.0, 0, 0);
Attach3DTextLabelToPlayer(stafflabel, playerid, 0.0, 0.0, 0.7);
You defined it as "staff:label" and attached "label"
wrong, still will give warnings.

he should do:

pawn Код:
new Text3D:stafflabel =Create3DTextLabel( ... );
https://sampwiki.blast.hk/wiki/Attach3DTextLabelToPlayer
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)