SA-MP Forums Archive
3Dtext Not working - 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)
+--- Thread: 3Dtext Not working (/showthread.php?tid=501919)



3Dtext Not working - donhu789 - 21.03.2014

http://pastebin.com/GXxR9H7Z

Attach3DTextLabelToPlayer(Create3DTextLabel("Emeli e",PINK,30.0, 40.0, 50.0, 40.0, 0), playerid, 0.0, 0.0, 0.5);


C:\Documents and Settings\PhongLan\Desktop\My ModGamemode\Next generation Gaming\gamemodes\SATDM_v14.pwn(8082) : error 029: invalid expression, assumed zero


hyelp


[GAmemode]SATDM


Re: 3Dtext Not working - Mriss - 21.03.2014

DELETED


Re: 3Dtext Not working - Parallex - 21.03.2014

You are missing some things in this 3D Text Label.
It should be like this, for example:
pawn Код:
new Text3D:label = Create3DTextLabel("Hello, I am new here!", 0x008080FF, 30.0, 40.0, 50.0, 40.0, 0);
    Attach3DTextLabelToPlayer(label, playerid, 0.0, 0.0, 0.7);
    return 1;
}



Re: 3Dtext Not working - Hanuman - 21.03.2014

put this at top of OnGamemodeInit();
Код:
new Text3D:label;
And put this where u want to show this label
Код:
label = Create3DTextLabel("Emeli e", PINK, 30.0, 40.0, 50.0, 40.0, 0);
Attach3DTextLabelToPlayer(label, playerid, 0.0, 0.0, 0.7);



Re: 3Dtext Not working - donhu789 - 21.03.2014

thanks Hanuman REPPED