a guest Jan 21st, 2019 48 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
- int i;
- for (i = 0; i < openborvariant("count_entities"); ++i)
- // If we on an odd box, don't do anything.
- if(i % 2)
- void ent = getentity(i);
- char name = getentityproperty(ent,"defaultname");
- if ( getentityproperty(ent, "exists") && name == "box" )
- int sort = getentityproperty(ent,"sortid");
- changeentityproperty(ent,"sortid", sort);
RAW Paste Data