![]() |
Weapon Scrolling
The best way I can explain what I am trying to do, is compare it to a hat system (Where the hat appears above your head, and you scroll though, and if you don't have the hat, it goes onto the next one)
I'm trying to avoid making an inventory so I am making a weapon system where you can scroll though your different weapons. Every weapon is assigned a number. For example, Katana = weapon 1. So when you get it, clientr.weapon1 = true; so the client knows the player has it. So lets say you have weapon1, 2, 3, 6. How would I go about making a system that scrolls through 1, 2, and 3, but because there is no 4 or 5, it skips right to 6? |
Not sure how your item system looks, but by the looks of it:
PHP Code:
|
| All times are GMT +2. The time now is 02:11 AM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.