WriteInt

From NPC for VCMP 0.4 Servers
Revision as of 05:52, 24 June 2023 by Habi (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search


Description:
This will write an integer(4 bytes) to the given blob which can be later passed to SendServerData.


Parameters:

( b, int )

b : The blob in which to write the integer.
int : The integer to be written


Return Values:
The function returns true on success.


Example

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

Related Functions

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