Change 3DTextLabel with GameTextForPlayer - 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: Change 3DTextLabel with GameTextForPlayer (
/showthread.php?tid=427114)
Change 3DTextLabel with GameTextForPlayer -
Davman - 31.03.2013
Hello, i've got this code:
Код:
{
format(str,sizeof(str),"Informazioni Business\n%s\n\nCosto entrata: $%d\nUsa /enter per entrare in questo edificio",BizInfo[i][bName],BizInfo[i][bEntranceFee]);
}
BizInfo[i][bPickup] = Create3DTextLabel(str, COLOR_LIGHTBLUE, BizInfo[i][bSpawnX], BizInfo[i][bSpawnY], BizInfo[i][bSpawnZ], 10.0, 0, 0);
I want to change 3DTextLabel with GameTextForPlayer.
Thanks!
Re: Change 3DTextLabel with GameTextForPlayer -
MattyG - 31.03.2013
So would you want the text to come up only when the person is in range of the business?