16.09.2015, 09:36
Nгo testei '-'
PHP код:
public OnVehicleSpawn(vehicleid)
{
new Float:X,Float:Y,Float:Z;
GetVehiclePos(vehicleid,X,Y,Z);
if((X < 2464.032) && (X > -326.9805) && (Y < -829.1292) && (Y > -1051.009))
{
SendClientMessageToAll(0x00FF00FF, "Veiculo dentro GZ destruido");
DestroyVehicle(vehicleid);
}
else
{
SendClientMessageToAll( 0x00FF00FF, "Veiculo fora da GZ");
}
return 1;
}