Help message when entering somewhere - 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: Help message when entering somewhere (
/showthread.php?tid=536124)
Help message when entering somewhere -
LeanAlex - 07.09.2014
I want for example when you enter the Binco that says ЎWelcome to Binco!
Re: Help message when entering somewhere -
dusk - 07.09.2014
Assuming you are using default entrances:
pawn Код:
public OnPlayerInteriorChange(playerid, newinteriorid, oldinteriorid)
{
if(newinteriorid == 15 && IsPlayerInRangeOfPoint(playerid,10.0,207.737991,-109.019996,1005.132812))
{
SendClientMessage(playerid,0x00FF00FF,"Welcome to binco!");
}
return 1;
}
It may not be the best way. I would suggest creating your own entrances.
Re: Help message when entering somewhere -
osman2571 - 07.09.2014
post binco interior enter
Re: Help message when entering somewhere -
Steel_ - 07.09.2014
Quote:
Originally Posted by osman2571
post binco interior enter
|
http://weedarr.wikidot.com/interior