SA-MP Forums Archive
Few questions. - 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: Few questions. (/showthread.php?tid=169105)



Few questions. - [NWA]Hannes - 18.08.2010

How to attach text to a pickup?
And how to remove the default map icons done by samp?


Re: Few questions. - billiout - 18.08.2010

1. i dont 100% understand what you want. i think you mean the 3d text label https://sampwiki.blast.hk/wiki/Create3DTextLabel take a look here.

2. you cant remove the default map icons.


Re: Few questions. - Claude - 18.08.2010

pawn Код:
Create3DTextLabel
At the position of the pickup


Re: Few questions. - [NWA]Hannes - 18.08.2010

Quote:
Originally Posted by Claude
Посмотреть сообщение
pawn Код:
Create3DTextLabel
At the position of the pickup
Ok, So i dont need to use some Attach3DTextLabel function?
And how to use format for it?


Re: Few questions. - billiout - 18.08.2010

Quote:
Originally Posted by [NWA]Hannes
Посмотреть сообщение
Ok, So i dont need to use some Attach3DTextLabel function?
And how to use format for it?
come on i post it before https://sampwiki.blast.hk/wiki/Create3DTextLabel


Re: Few questions. - [NWA]Hannes - 18.08.2010

Quote:
Originally Posted by billiout
Посмотреть сообщение
Maybe you should answer my question instead?

I only need to use Create3DTextLabel?
And how do i use format?


Re: Few questions. - billiout - 18.08.2010

yes you only need the create3dtextlabel and for the format is this
Код:
Create3DTextLabel(text[], color, Float:X, Float:Y, Float:Z, Float:DrawDistance, virtualworld, testLOS);



Re: Few questions. - [NWA]Hannes - 19.08.2010

Quote:
Originally Posted by billiout
Посмотреть сообщение
yes you only need the create3dtextlabel and for the format is this
Код:
Create3DTextLabel(text[], color, Float:X, Float:Y, Float:Z, Float:DrawDistance, virtualworld, testLOS);
...
Код:
new str[128];
format(str, sizeof(str), "There are %d/%d materials left to pick up!", mAviable, mLeft);
Create3DTextLabel(str, 0xFFFF00FF, 1911.2227, -1776.1204, 13.3828, 25, -1, 0);
Would work?