26.03.2012, 17:52
Guys!!
listen ,
I did they approach the area any time you explode until you die.
But that doesn't work for me, I have no Error or Warnings that doesn't do anything I was approaching the area.
The script code is:
listen ,
I did they approach the area any time you explode until you die.
But that doesn't work for me, I have no Error or Warnings that doesn't do anything I was approaching the area.
The script code is:
PHP код:
public IsPlayerInArea(playerid,Floatdata[4])
{
new Float:Pos[3];
for(new i = 0; i <500; i++)
{
GetPlayerPos(i,Pos[0],Pos[1],Pos[2]);
if (Pos[0] >= 1298.2169 && Pos[0] >= 1475.8424 && Pos[1] <= 2099.4082 && Pos[1] >= 2247.8201)
{
CreateExplosion(Pos[0],Pos[1],Pos[2],12,10.0);
}
}
}