SA-MP Forums Archive
Help - Show message when Player enters an area - 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: Help - Show message when Player enters an area (/showthread.php?tid=73035)



Help - Show message when Player enters an area - nickbugun - 12.04.2009

I want a message to show to the player who entered a certain area.
For example when a player enters the area shown in the image below he sees "Welcome to the Car Shop".

Can anybody PLS help?



Re: Help - Show message when Player enters an area - AiVAMAN - 12.04.2009

https://sampwiki.blast.hk/wiki/YSI:Areas

use this

(And don't say PLS please, i hate that word)

And you will need
https://sampwiki.blast.hk/wiki/SendClientMessage
too. good luck

P.S. or you can use IsPlayerInArea made by Seif_


Re: Help - Show message when Player enters an area - Backwardsman97 - 12.04.2009

You could use my areas include. Just create the area and when OnPlayerEnterArea gets called, check if it's that area and send them the message.


Re: Help - Show message when Player enters an area - AiVAMAN - 12.04.2009

ye, thats good thing too.