Possible to add commands that allow this to be altered
var prop = GameManager.server.CreateEntity("assets/content/vehicles/mlrs/rocket_mlrs.prefab",
I've changed it to fire mrls rockets and it works, just curious if you could do that. Thanks!
Possible to add commands that allow this to be altered
var prop = GameManager.server.CreateEntity("assets/content/vehicles/mlrs/rocket_mlrs.prefab",
I've changed it to fire mrls rockets and it works, just curious if you could do that. Thanks!
Possibly you could add just different commands for different rockets, would probably be easier that way. I will try to modify it my self. Will let you know if I am successful lol
Merged post
Here is the thing I modified
h ttps://pastebin.com/kDkcaeXs
Has some issues, but I am not familar to codeing. Sill new to it
For some reason it has an issue with effect now
Then if you remove it
issues with the new regions I created.
Ignore everything above
Did the suggestion I wanted on my own, works fine except regular rocket_fire!
Allows users to select /trocketfire , /trockethv , /tlrocketmlrs , /tlrocketsam , etc. Speed applies to all of them. Config file has all of the settings. Turns off and on, you can have multiple selected, but you can turn all of them off but one. I had the issue of all of them being on lol.
https://pastebin.pl/view/3a782d7a
perms
permission.RegisterPermission("trollcheaters.admin", this); //basic
permission.RegisterPermission("trollcheaters.adminfire", this);
permission.RegisterPermission("trollcheaters.adminhv", this);
permission.RegisterPermission("trollcheaters.adminmlrs", this);
permission.RegisterPermission("trollcheaters.adminhelinapalm", this);
permission.RegisterPermission("trollcheaters.adminhelirocket", this);
permission.RegisterPermission("trollcheaters.adminsam", this);
permission.RegisterPermission("trollcheaters.rspeed", this);
permission.RegisterPermission("trollcheaters.dropban", this);
permission.RegisterPermission("trollcheaters.rdban", this);
permission.RegisterPermission("trollcheaters.bscreen", this);
LoadPlayerData();Found a bug
When using /trocket , and any of the other /trocket commands, it alters the settings for other players with permissions. Same thing with speed