Categories > Coding > Lua >

Toggling an onspawn script

Potatox

61928

Posts: 376

Threads: 26

Joined: May, 2019

Reputation: 2

Posted

So; I'm currently working on a PL script that "executes" when you spawn (Autogives M4 & Keycard) but I want a way to disable it. I semi-know how chatcommands work but would like to know how I would be able to disable the automatic M4 & Keycard from saying "/disable" or enable it from


Also if anyone knows the other way to do chatcmds; if I do "something /respawn" it respawns me & I need a way to get rid of that since It's kind of annoying.


Note: if you need me to explain further just ask me abt it an' i'll try reply with an understandable response

  • 0

Hyakki
Wanting to learn Lua ; _ ;

Hyakki#0711

Users viewing this thread:

( Members: 0, Guests: 1, Total: 1 )