-
Notifications
You must be signed in to change notification settings - Fork 6
Player
TheHellBox edited this page Oct 2, 2019
·
1 revision
Enter entity control(Steering wheel, turret, etc)
Exit Entity Control
Get entity controlled by player
Set ammo to true to give player ammo, false to take it(Used for reloading weapons)
Checks if player has ammo
Add pointshop points
Set pointshop points
Checks if player can afford something
Category and item arguments are ids. Refer to point_shop_config.lua to get those
Unlock item in pointshop. Category and item arguments are ids. Refer to point_shop_config.lua to get those
Sets players team.
Moves player to another ship
Checks if player is spectator
Makes player spectator
Checks if player controlling entity
Checks if player is leader
Gets team name