Need help
#1

How to create a over name a text how to do it?? Help!(But to have like CoD 5 Ressuraction)!
Reply
#2

Quote:
Originally Posted by SpiderWalk
Посмотреть сообщение
(But to have like CoD 5 Ressuraction)!
Wth is that? .-.
Anyway you have to use the 3dtextlabel, this way
pawn Код:
//At the top of your script:
new
   Text3D:label[MAX_PLAYERS];
//Into OnPlayerSpawn
label[playerid] = Create3DTextLabel("CoD 5 Resurraction!",0xFFFFFFFF,0.0,0.0,0.0,10.0,0,1);
Attach3DTextLabelToPlayer(label[playerid], playerid, 0.0, 0.0, 0.4)
Reply
#3

https://sampwiki.blast.hk/wiki/Create3DTextLabel
https://sampwiki.blast.hk/wiki/Attach3DTextLabelToPlayer
Reply
#4

create a variable text3d

pawn Код:
new Text3D:labeltest[MAX_PLAYERS];
create it in onplayerconnect and attach to player
pawn Код:
labeltest[playerid] = Create3DTextLabel(" ",0x008080FF,30.0,40.0,50.0,40.0,0);
    Attach3DTextLabelToPlayer(labeltest[playerid], playerid, 0.0, 0.0, 0.8);

make sure u delete it in onplayerdisconnect

pawn Код:
Delete3DTextLabel(labeltest[playerid]);
and yo ucan update the text for player where u want

pawn Код:
Update3DTextLabelText(labeltest[playerid],RED,"Hello!");
Reply
#5

C:\Documents and Settings\Korisnik\Desktop\G.R.P\filterscripts\comm ands.pwn(57) : error 017: undefined symbol "labeltest"
C:\Documents and Settings\Korisnik\Desktop\G.R.P\filterscripts\comm ands.pwn(57) : warning 215: expression has no effect
C:\Documents and Settings\Korisnik\Desktop\G.R.P\filterscripts\comm ands.pwn(57) : error 001: expected token: ";", but found "]"
C:\Documents and Settings\Korisnik\Desktop\G.R.P\filterscripts\comm ands.pwn(57) : error 029: invalid expression, assumed zero
C:\Documents and Settings\Korisnik\Desktop\G.R.P\filterscripts\comm ands.pwn(57) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


4 Errors.

And when i want to do compline this errors is in
Reply
#6

what to do!?
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)