Is there a way to remove the COMPLETE map?
#8

Quote:
Originally Posted by funky1234
Посмотреть сообщение
I don't think this is possible with a 'few lines' of code, though is definitely possible.

A way to check if a 'static' object (San Andreas object) is valid would go down a treat in this case.

pawn Код:
#define SA_OBJECTS 18630 //I'm basing this number on the fact that SA-MP objects start at 16831

for(new i; i < SA_OBJECTS; i++)
{
     if(!IsValidStaticObject(i)) continue;
     RemoveSpecificBuilding(i); //A function from my include. Though it is basically: RemoveBuildingForPlayer([everyone], i, 0.0, 0.0, 0.0, A_HIGH_NUMBER.0);
}
Are yuo sure that will work?
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)