#How do i call a function without a player event
1 messages · Page 1 of 1 (latest)
For example, using that code, how can i call a function in game with /scriptevent, i dont have it really clear
/scriptevent id message
you can use a if to see if your id matches it must have a namespace ie namespace:id
Con-Databases
This package contains three types of databases, JsonDatabase, NBTDatabase, CustomDatabase.
Each of these database types supports all possible Map class operations from ECMAScript, which means.
Inherited from Map
- size: number of properties
- [Symbol.iterator]: is iterable [key, value]
- clear(): clear all values
- delete(key: string): delete specific value
- entries(): generator of ...
Branch: stable
·
i made this, but first the code its not being read, and i dont know how to call the function i want
keep the first but on the next line js if (id === "zyro:script") //rest
remove initiator with sourceEntity
nvm i made it work somehow