-
Posts
559 -
Joined
-
Last visited
DarthStoney's Achievements
Newbie (1/14)
10
Reputation
Single Status Update
See all updates by DarthStoney
-
Try this,it may be the GetFirsItemInInventory causing the lockup.
void main() {
object oDestroy = GetItemPossessedBy(GetFirstPC(), "bomablood");
while( GetIsObjectValid( oDestroy ) ) {
if( GetTag( oDestroy ) == "bomablood" )
DestroyObject( oDestroy, 0.00, FALSE, 0.00 );
oDestroy = GetNextItemInInventory( GetFirstPC() );
object oItem=CreateItemOnObject( "bomastim", GetFirstPC(),1,0);
}
}