[HELP] set3dtext command - 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: [HELP] set3dtext command (
/showthread.php?tid=246287)
[HELP] set3dtext command -
Lazy_Duck - 03.04.2011
Hi
I need someone to help me out with making a textcommand , witch attach a 3d head text on player....
my current command:
Код HTML:
new Text3D:label[MAX_PLAYERS];
if(strcmp("/set3dtext", cmdtext, true) == 0)
{
label[playerid] = Create3DTextLabel("Blahblahblahblahblah!",0x008080FF,30.0,40.0,50.0,40.0,0);
Attach3DTextLabelToPlayer(label[playerid], playerid, 0.0, 0.0, 0.7);
return 1;
}
if(strcmp("/remove3dtext", cmdtext, true) == 0)
{
Delete3DTextLabel(label[playerid]);
return 1;
}
This command attach a 3d text "Blahblahblahblah" on player..
But i want that every player can create his own 3d text ingame
So the command should be like that
/Set3dtext [TEXT]
someone help me
Re: [HELP] set3dtext command -
coole210 - 03.04.2011
You have a variable that's named label already..
Re: [HELP] set3dtext command -
Lazy_Duck - 03.04.2011
thnx
but how do i make this command /Set3dtext [TEXT] ;(