gangzone not working
#1

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;
}
Reply
#2

Is it not Exploding?
Reply
#3

Quote:
Originally Posted by [N
Dakota ]
Is it not Exploding?
no, neither is the zone red
Reply
#4

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.
Reply
#5

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 =/
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)