#Kit System

1 messages · Page 1 of 1 (latest)

lime smelt
#

Use RegisterNetEvent rather than RegisterServerEvent, doesn't really make a difference but it annoys a lot of people, myself included.

There's also no need for event handlers AddEventHandler('rinkinys:receiveKit', function(), it's simply unnecessary.

You should handle cooldowns for people on the server and not on the client.

You ought to include some security for your server-side events too, right now anyone could give themselves infinite items.

glass violet
glass violet
#

Update 0.1

  • Switched from RegisterServerEvent to RegisterNetEvent for cleaner code.
  • Removed unnecessary AddEventHandler for rinkinys:receiveKit.
  • Moved cooldown handling to the server-side instead of the client.
  • Added security checks to prevent item abuse.

Update Here

**If you notice anything wrong, let me know!**🙂

GitHub

This is a free release for a standalone kit system that works with ox_lib and ox_inventory. It allows players to claim kits with weapons, items, and attachments, while also enforcing a cooldown to ...

ivory fable
#

95)34 then the actual name?

#

Other*

lime smelt
lime smelt
turbid mulch
#

Nice although a little weird that this gets released the day after mine lol either way it looks to be better then mine anyway

ivory fable