Random weapons at spawn...
#1

Do anyone know to make a random weapon system when player spawns after death...?
Reply
#2

Anyone?
Reply
#3

At the onPlayerSpawn callback, put setPlayerWeapon.
Create a random number, and set the weaponid to that random number. Make a range for the available weapon id's
Reply
#4

Quote:
Originally Posted by judothijs
Посмотреть сообщение
At the onPlayerSpawn callback, put setPlayerWeapon.
Create a random number, and set the weaponid to that random number. Make a range for the available weapon id's
Can you make an example?
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)