Thread Rating:
- 0 Votes - 0 Average
- 1
- 2
- 3
- 4
- 5
HELP needed
|
Author |
Message |
Skul
Master
Posts: 413
Likes Given: 0
Likes Received: 19 in 15 posts
Joined: Jun 2012
Reputation: 9
|
RE: HELP needed
Vixen,
Easy code to do, I'll post up a quick fix for you off the top of my head, you might have to debug it:
Code:
[function wipe_multis_playerchars_nonstaticitems]
local.maxlooptimes=<serv.maxlooptimes>
serv.maxlooptimes=0
forinstances t_multi
foritems 32
if (<serv.uid.<region.uid>.type>==t_multi)
remove
endif
endfor
endfor
forinstances t_multi_custom
foritems 32
if (<serv.uid.<region.uid>.type>==t_multi_custom)
remove
endif
endfor
endfor
foritems 9999
if !( <attr> & attr_move_never ) && !( <attr> & attr_static )
remove
endif
endfor
forchars 9999
if !(<npc>)
remove 1
endif
endfor
serv.maxlooptimes=<local.maxlooptimes>
be sure to visit every mapplane and run this command since it only effects the map you choose to use it on.
(This post was last modified: 06-26-2012 10:44 AM by Skul.)
|
|
06-26-2012 09:24 AM |
|
|
Messages In This Thread |
RE: HELP needed - Skul - 06-26-2012 09:24 AM
|
User(s) browsing this thread: 2 Guest(s)