20.06.2011, 09:34
Can someone Make me a Filterscript with /enter and /exit CMD'S and they only work when you at a Deifinite Point (( Ex : at a door to do /enter )) - So i can Edit it later if i want to make Enterable places ? Thanks
COMMAND:enter(playerid, cmdtext)
{
if(IsPlayerInRangeOfPoint(playerid, 5, 1, 2, 3))
{
SetPlayerPos(playerid, 50, 60, 70);
}
else if(IsPlayerInRangeOfPoint(playerid, 5, 4, 5, 6))
{
SetPlayerPos(playerid, 80, 90, 100);
}
return 1;
}