gang territory - 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: gang territory (
/showthread.php?tid=312353)
gang territory -
Rudyy - 21.01.2012
any way to make this? and when u enter the zone it will say "You have entered a gang territory."
Re: gang territory -
mineralo - 21.01.2012
use IsPlayerInArea and make a timer if player get that area will show him the "you bakaba,"
pawn Код:
stock IsPlayerInArea(playerid, Float:max_x, Float:min_x, Float:max_y, Float:min_y)
{
new Float:Xa, Float:Ya, Float:Za;
GetPlayerPos(playerid, Xa, Ya, Za);
if(Xa <= max_x && Xa >= min_x && Ya <= max_y && Ya >= min_y) return 1;
return 0;
}
Re: gang territory -
Rudyy - 24.01.2012
how do i get the cords? LOL
Re: gang territory -
Steven82 - 24.01.2012
Use '/save' while in game.