Author Topic: Trying to prevent usage of an event.  (Read 402 times)

I don't want players to use "spawnItem" or "spawnProjectile", how would I do this?

unRegisterOutputEvent("fxDTSBrick","spawnItem");
unRegisterOutputEvent("fxDTSBrick","spawnProjectile");

How exactly do I use these?

Script or console.
Either way it works.

Just slap it in a script, or do I have to add anything to it?

No need to add anything.