[REQ]Floating Text
#1

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
Reply
#2

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

https://sampwiki.blast.hk/wiki/Create3DTextLabel
Reply
#3

However it was done, it's amazing! :P
Reply
#4

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
Reply
#5

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...
Reply
#6

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

Weird, I compiled it normally.
Reply
#8

Not sure why its doing it
Reply
#9

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

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
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)