WriteFloat

From NPC for VCMP 0.4 Servers
Jump to navigation Jump to search


Description:
This will write a float to the given blob which can be later passed to SendServerData.


Parameters:

( b, f )

b : The blob in which to write the integer.
f : The float value to be written


Return Values:
The function returns true on success.


Example

local b=blob();
WriteInt(b, 100.1234 );
SendServerData(b);

Related Functions

The following functions may be helpful as they relate to this function in one way or another.