zones - 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: zones (
/showthread.php?tid=109825)
zones -
Lajko1 - 22.11.2009
hello guys i have 1 question, how should i make zones ? like Temple etc etc , so than i can make command /loc (id) how should i make this
ty for any help
Re: zones -
Puzi - 22.11.2009
Code:
new gangzone;
gangzone = GangZoneCreate(Float:minx, Float:miny, Float:maxx, Float:maxy);
And I guess you could name every gangzone and assign ID's to them.
Re: zones -
Lajko1 - 22.11.2009
i dont want to make a GANGZONE i want to make zones... Example : when player come to diliamore , under mini map will change zone name to Diliamore , if player is in Burger Shot there should write Burger Shot , if player is in Temple under map should change Temple , if player come to ocean docks under minimap should write ''Ocean Docks'' and so on do you understand now what i want ?
Re: zones -
MadeMan - 22.11.2009
This can help you
http://forum.sa-mp.com/index.php?topic=44902.0
Use search too.
Re: zones -
skylord - 22.11.2009
When a enters idlewood a message will pop up and say idlewood, Look the link below it's a tutorial.
pawn Code:
public isPlayerInArea()
{
new Float:X, Float:Y, Float:Z;
for(new i=0; i < MAX_PLAYERS; i++)
{
GetPlayerPos(i, X, Y, Z);
if (X <= MinX && X >= MaxX && Y <= MinY && Y >= MaxY)
{
SendClientMessage(playerid, COLOR_WHITE, "IdleWood");
}
}
}
https://sampwiki.blast.hk/wiki/Areacheck