SA-MP Forums Archive
3dtext random for player - 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 random for player (/showthread.php?tid=597165)



3dtext random for player - Karolukas123 - 27.12.2015

Hey.. i need some help.. i have 4 cords and i need make it random..

little more info, i wanna make 3dtext random, text shows for 4sec, and gone, and letter show again random, and if player near that 3dtext he can write command /find and get money


So if you guys can give some example or else...


Re: 3dtext random for player - Karolukas123 - 27.12.2015

okey.. so if i create 3dtext

KonvejerioTekstas[playerid] = Create3DTextLabel("Test", 0x008080FF, RandomText[Random][0], RandomText[Random][1], RandomText[Random][2], 20.0, 0, 0);

how check if player near that text ??


Re: 3dtext random for player - SaltySandy - 27.12.2015

Use a checkpoint and make the command /find look for the coords of that checkpoint.


Re: 3dtext random for player - Karolukas123 - 27.12.2015

i don't need checkpoint's.. text create in random place.. but how check.. i make for now if player near that random place command works.. but i need if player near text