18.06.2011, 21:53
pawn Код:
new Float:playerpos[3];
GetPlayerPos(playerid, playerpos[0], playerpos[1], playerpos[2]);
for(new v = 0; v < MAX_VEHICLES; v++)
{
if(IsPlayerInRangeOfPoint(v, 4, playerpos[0], playerpos[1], playerpos[2]))
{
DestroyVehicle(v);
}
}