SA-MP Forums Archive
Simple 3DTextLabel test command, won't show label? - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Simple 3DTextLabel test command, won't show label? (/showthread.php?tid=480610)



[REQUIRE EXPERT] Simple 3DTextLabel test command, won't show label? - Dokins - 11.12.2013

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.


Re: Simple 3DTextLabel test command, won't show label? - willsuckformoney - 11.12.2013

I could be wrong but maybe there may be a limit?


Re: Simple 3DTextLabel test command, won't show label? - Pottus - 11.12.2013

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


Re: Simple 3DTextLabel test command, won't show label? - Dokins - 11.12.2013

On the streamer one, it did the same.

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


Re: Simple 3DTextLabel test command, won't show label? - Dokins - 11.12.2013

Still unresolved.


Re: Simple 3DTextLabel test command, won't show label? - SickAttack - 11.12.2013

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;
}



Re: Simple 3DTextLabel test command, won't show label? - Dokins - 11.12.2013

I tried it, it made no difference.


Re: Simple 3DTextLabel test command, won't show label? - SickAttack - 11.12.2013

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




Re: Simple 3DTextLabel test command, won't show label? - Dokins - 11.12.2013

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.


Re: Simple 3DTextLabel test command, won't show label? - SickAttack - 11.12.2013

Try it once again and then leave your response.