Garry's Mod Wiki

MakeBalloon

  Entity MakeBalloon( player ply, number r = 255, number g = 255, number b = 255, number force = 0, table data )

Description

This is used internally - although you're able to use it you probably shouldn't.

This function makes a balloon appear, similar to the one from the Toolgun.

This function doesn't make the rope attached to the balloon appear.

Arguments

1 player ply
The player who spawns the balloon. This argument can be nil
2 number r = 255
Balloon color (red)
3 number g = 255
Balloon color (green)
4 number b = 255
Balloon color (blue).
5 number force = 0
The lift force applied to the balloon.
6 table with BalloonData structure data
Data applied to the balloon. This data is required for correctly spawning the balloon. For more information, please see: BalloonData structure

Returns

1 Entity balloon
Returns the created balloon entity.