Simple 3DTextLabel test command, won't show label?
#1

pawn Код:
CMD:labeltest(playerid, params[])
{

    new Float: x, Float:y, Float:z;
    GetPlayerPos(playerid, x,y,z);
    //CreateDynamic3DTextLabel("THIS WORKS!", COLOUR_WHITE, x,y, z, 100.0, INVALID_PLAYER_ID, INVALID_VEHICLE_ID , 0, 0, -1, -1, 20.0);
    Create3DTextLabel("THIS WORKS!", COLOUR_WHITE, x,y, z, 100.0, -1, 0);
    return 1;
}

It will not create either label, Dynamic one or the 3DTextLabel. Neither, at all.


I do use Labels elsewhere in the server and they still load in.
Reply
#2

I could be wrong but maybe there may be a limit?
Reply
#3

You set the virtual world to -1 this isn't a streamer function.
Reply
#4

On the streamer one, it did the same.

I also changed the normal 3dtext label to 0 and it still didn't work.
Reply
#5

Still unresolved.
Reply
#6

You set the VirtualWorld to -1.

Use this:
Код:
CMD:labeltest(playerid, params[])
{
    new Float: x, Float:y, Float:z;
    GetPlayerPos(playerid, x,y,z);
    Create3DTextLabel("THIS WORKS!", COLOUR_WHITE, x, y, z,  40.0, 0, 0);
    return 1;
}
Reply
#7

I tried it, it made no difference.
Reply
#8

Are you sure? Well i tested it and it works.

Reply
#9

Quote:
Originally Posted by SickAttack
Посмотреть сообщение
Are you sure? Well i tested it and it works.

I figured it would, but why would it not work in my script, at least i've determined it's not a coding issue.
Reply
#10

Try it once again and then leave your response.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)