Streamer Destroy All Items
#1

Hey!

I dont quite understand this function.. what is it meant for second parameter..

Streamer_DestroyAllItems(type, serverwide = 1)

Parameters:
type: The item type.
serverwide: 0 for the current script, 1 for all scripts.
Returns:
0 on failure, 1 on success.

Destroys all created items of the specified item type.

serverwide means to destroy all items that were made in includes aswell or what is it meant to be ?
Reply
#2

i think if you want to destroy the items of a filterscript you have to set the param value to 0 otherwise 1 and the items from the gamemode, or other filterscripts will be destroyed
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)