need TextDraw over player head
#1

hello
some one can give me TextDraw Over Player Head?
i want it with a command
the text:"TesteR"

please give me a system
Reply
#2

3D Text Label?
Anyways, try this 3D Text Label
https://sampwiki.blast.hk/wiki/Attach3DTextLabelToPlayer
E.X:
pawn Код:
if (strcmp("/mycommand", cmdtext, true, 10) == 0)
{
    new Text3D:label = Create3DTextLabel("TesteR", 0x008080FF, 30.0, 40.0, 50.0, 40.0, 0);
    Attach3DTextLabelToPlayer(label, playerid, 0.0, 0.0, 0.7);
    return 1;
}
Reply
#3

2 errors:

C:\Documents and Settings\Administrator\щемзп дтбегд\gta san andres\samp03csvr_win32\TextO.pwn(47) : error 017: undefined symbol "Create3DTextLabel"
C:\Documents and Settings\Administrator\щемзп дтбегд\gta san andres\samp03csvr_win32\TextO.pwn(47) : warning 213: tag mismatch
C:\Documents and Settings\Administrator\щемзп дтбегд\gta san andres\samp03csvr_win32\TextO.pwn(4 : error 017: undefined symbol "Attach3DTextLabelToPlayer"
C:\Documents and Settings\Administrator\щемзп дтбегд\gta san andres\samp03csvr_win32\TextO.pwn(47) : warning 204: symbol is assigned a value that is never used: "label"
C:\Documents and Settings\Administrator\щемзп дтбегд\gta san andres\samp03csvr_win32\TextO.pwn(47 -- 51) : warning 217: loose indentation
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


2 Errors.

47- new Text3D:label = Create3DTextLabel("TesteR", 0x008080FF, 30.0, 40.0, 50.0, 40.0, 0);
48- Attach3DTextLabelToPlayer(label, playerid, 0.0, 0.0, 0.7);
Reply
#4

Updates SA-MP include.
Reply
#5

i update the includes and its dont work again
Reply
#6

#include <a_samp>

-Add that ^^ on the top of your script
Reply
#7

i have it
ohhh guy i know why it dont workedddD!!
i fix it now
thank you all
Reply
#8

Quote:
Originally Posted by Yair_Mode
Посмотреть сообщение
i have it
ohhh guy i know why it dont workedddD!!
i fix it now
thank you all
[ame]http://www.youtube.com/watch?v=oqAOHof4GmM[/ame]
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)