Create3DTextLabel with CallRemoteFunction
#1

I'm not sure if it's a bug with the CallRemoteFunction or I'm simply missing something. I don't usually use CallRemoteFunction, in fact, this is my first time really using and completely understanding what it does. So with that being said, why is the following code not working?

pawn Код:
forward CreateLabel(text[], color, Float:X, Float:Y, Float:Z, Float:DrawDistance, virtualworld, testLOS);
public CreateLabel(text[], color, Float:X, Float:Y, Float:Z, Float:DrawDistance, virtualworld, testLOS)
{
        Create3DTextLabel(text, color, Float:X, Float:Y, Float:Z, Float:DrawDistance, virtualworld, testLOS);
    return 1;
}

//in other script
CallRemoteFunction("CreateLabel", "sxffffii", "Defend", 0xC0C0C0FF, 1091.99805, 2713.90527, 13.87788, 50.0, 0, 1);
The coordinates are correct, I already double checked. Am I missing something? Thanks in advance!

EDIT: I tried debugging and the label is being created..
Quote:

CreateLabel(Defend, C0C0C0FF, 1091.998046, 2713.905273, 13.877880, 50.000000, 0, 1)

Why won't it show up in-game?
Reply


Messages In This Thread
Create3DTextLabel with CallRemoteFunction - by Onfroi - 25.09.2014, 00:43
Re: Create3DTextLabel with CallRemoteFunction - by Jacapo - 25.09.2014, 01:21
Re: Create3DTextLabel with CallRemoteFunction - by Onfroi - 25.09.2014, 01:26
Re: Create3DTextLabel with CallRemoteFunction - by Jacapo - 25.09.2014, 01:27

Forum Jump:


Users browsing this thread: 1 Guest(s)