gangzone not working - 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: gangzone not working (
/showthread.php?tid=123430)
gangzone not working -
braduz - 25.01.2010
adding the gangzone:
gangzone = GangZoneCreate(-54.8044, 1642.6683, 443.5656, 2184.0942);
defining
new gangzone;
extra:
public OnPlayerEnterArea(playerid, areaid)
{
new Float

, Float:y, Float:z;
if(areaid == gangzone)
{
SendClientMessage(playerid, 0xFF0000AA, "Wolfbot: Warning you are trespassing into the admin hq!");
GetPlayerPos(playerid, x, y, z);
CreateExplosion(x+random(1), y+random(1), z+random(1), 6, 100.0);
}
return 1;
}
Re: gangzone not working -
-Rebel Son- - 25.01.2010
Is it not Exploding?
Re: gangzone not working -
braduz - 25.01.2010
Quote:
Originally Posted by [N
Dakota ]
Is it not Exploding?
|
no, neither is the zone red
Re: gangzone not working -
-Rebel Son- - 25.01.2010
try this
Код:
new Float:x, Float:y, Float:z;
GetPlayerPos(playerid, x, y, z);
CreateExplosion(x, y, z, 7, 10.0);
For the explosion.
and for the missmatched red color, get X-treme vehicle plotter, it will help you make gangzones. use that to define a special color. or to fix the red.
Re: gangzone not working -
braduz - 05.02.2010
Quote:
Originally Posted by [N
Dakota ]
try this
Код:
new Float:x, Float:y, Float:z;
GetPlayerPos(playerid, x, y, z);
CreateExplosion(x, y, z, 7, 10.0);
For the explosion.
and for the missmatched red color, get X-treme vehicle plotter, it will help you make gangzones. use that to define a special color. or to fix the red.
|
Cant find the page, damn =/