SA-MP Forums Archive
Creating house info TextDraw - 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: Creating house info TextDraw (/showthread.php?tid=485268)



Creating house info TextDraw - volcaN131 - 03.01.2014

Hey again,
I would like to do that as soon as a player enters a pickup of a house/bizz he gets a textdraw with it's info but cant manage to get it work..
Mind helping me or direct me how it should look like.


Re : Creating house info TextDraw - Flobesst - 03.01.2014

Hi,

Your script should look like this:

- you create an empty player textdraw
- when a player enters a house, you set the texdraw's string (containing house's info) with PlayerTextDrawSetString()
- you show the player textdraw with PlayerTextDrawShow()