Textdraw when player aproaches door.
#1

Hello everyone.
I want to show the player a textdraw when he stands in front of a house door.
The problem is I don't know where to insert this logic. On what callback??
Reply
#2

Maybe this:
https://sampwiki.blast.hk/wiki/OnPlayerEnterCheckpoint
https://sampwiki.blast.hk/wiki/IsPlayerInCheckpoint
Reply
#3

If you use Incognito's streamer, then you can create dynamic areas around the houses and when somebody is close enough, have the textdraw displayed,

https://github.com/samp-incognito/sa...wiki/Callbacks
OnPlayerEnterDynamicArea(playerid, areaid)
OnPlayerLeaveDynamicArea(playerid, areaid)

https://github.com/samp-incognito/sa...Natives-(Areas)

or

If you have house pickups, then show the textdraw when a player picks up the pickup (OnPlayerPickUpPickup).
https://sampwiki.blast.hk/wiki/OnPlayerPickUpPickup
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)