15.06.2009, 19:07
pawn Код:
#define COLOR_LIGHTBLUE 0x33CCFFAA
public OnPlayerInteriorChange(playerid,newinteriorid,oldinteriorid)
{
if(PlayerToPoint(100, playerid,-26.6916,-55.7149,1003.5469) || PlayerToPoint(100, playerid,-26.6916,-55.7149,1003.5469) || PlayerToPoint(100, playerid,-30.9467,-89.6096,1003.5469))
{
if((newinteriorid==4) || (newinteriorid==6) || (newinteriorid==16) || (newinteriorid==18) || (newinteriorid==10) || (newinteriorid==17))
{
SendClientMessage(playerid,COLOR_LIGHTBLUE, "Holy shit! You're in a 24/7!");
}
}
return 1;
}