SA-MP Forums Archive
How to make a zone - 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: How to make a zone (/showthread.php?tid=129936)



How to make a zone - security - 24.02.2010

i want to make a zone that only for people with a certain ip can enter, and that i can put their ip in a txt file.

Stuff i already got:
Code:
new Clanzone;


Public OnFilterScriptInit()
{
Clanzone = GangZoneCreate(2649.73, -2574.052, 2836.069, -2333.239);
}


public OnPlayerSpawn(playerid) 
{
  GangZoneShowForPlayer(playerid, Clanzone, 0xFF800096);
  return 1;
}