Help please:error 035: argument type mismatch (argument 1)
#1

new Float: X, Float: Y, Float: Z;
new string[256];
format(string, sizeof(string), "XP: %d || Rank: %d ", Kills,LVL);
Create3DTextLabel(string,0x000000FF,X,Y,Z,50.0,0,0 );
Attach3DTextLabelToPlayer(EXP, playerid, 0.0, 0.0, 0.4);

pease guys what wrong here ?
Reply
#2

You're not storing the ID of the 3D label anywhere? So how can you reference to it? You need to store it in a variable and then reference to it, for example:

pawn Код:
new Float: X, Float: Y, Float: Z, string[20], Text3D:EXP;
format(string, sizeof(string), "XP: %d || Rank: %d ", Kills,LVL);
EXP = Create3DTextLabel(string,0x000000FF,X,Y,Z,50.0,0,0 );
Attach3DTextLabelToPlayer(EXP, playerid, 0.0, 0.0, 0.4);
The error is probably because it's not initialized as a Text3D type variable.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)