SA-MP Forums Archive
[REQ]Floating Text - 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: [REQ]Floating Text (/showthread.php?tid=222176)



[REQ]Floating Text - Alex_Carillo - 06.02.2011

Hey i need some help with this Floating Text on a build bored wish i can have a code i can do for this thanks


Re: [REQ]Floating Text - JaTochNietDan - 06.02.2011

This was most likely accomplished using 3D Text Labels, see the SA-MP Wiki for more information:

https://sampwiki.blast.hk/wiki/Create3DTextLabel


Re: [REQ]Floating Text - jameskmonger - 06.02.2011

However it was done, it's amazing! :P


Re: [REQ]Floating Text - Alex_Carillo - 06.02.2011

Well Im Trying To Add This " AddPlayerClass(274,1063.3174,-1980.8558,22.7249,173.2029,0,0,0,0,0,0); " to the public


Код HTML:
OnGameModeInit()
{
    Create3DTextLabel("I'm at the coordinates:\n30.0,40.0,50.0",0x008080FF,30.0,40.0,50.0,40.0,0);
    return 1;
}
how would i be able to do that


Re: [REQ]Floating Text - xRyder - 06.02.2011

I'm not sure what you want to do but you can just add it in the function.

pawn Код:
public OnGameModeInit()
{
    AddPlayerClass(274,1063.3174,-1980.8558,22.7249,173.2029,0,0,0,0,0,0);
    Create3DTextLabel("I'm at the coordinates:\n30.0,40.0,50.0",0x008080FF,30.0,40.0,50.0,40.0,0);
    return 1;
}
If that's what you want...


Re: [REQ]Floating Text - Alex_Carillo - 06.02.2011

xRyder Hey whats up i tried doing that and what its doing its telling me pawno has stopped working any ideas


Re: [REQ]Floating Text - xRyder - 06.02.2011

Weird, I compiled it normally.


Re: [REQ]Floating Text - Alex_Carillo - 06.02.2011

Not sure why its doing it


Re: [REQ]Floating Text - xRyder - 06.02.2011

Quote:
Originally Posted by Alex_Carillo
Посмотреть сообщение
Not sure why its doing it
Try to open it with another pawno.exe, and compile it... :S


Re: [REQ]Floating Text - gtapolicemods - 06.02.2011

I think your referring this to my server. It was actually quite simple to make.





******* Video: [ame]http://www.youtube.com/watch?v=wwimAcIM9HY[/ame]

We actually did this on a command so basically when we do our command it would keep the green text draw "reduce speed...." up all the time, but when we do that command again it hides the green text draw and puts up the red text draw "fire trucks..." Which changes all of them and opens and closes sidewalk gates etc...

But pretty much what we did is took the coords up from the traffic board up there then pasted them into the textdraw coords.



Hope This Helps