Update SDKCall documentation for string return type (#1961)
* Update SDKCall return information This adds the information that if the return value is a string then SDKCall will return the number of bytes written. * Update description * Add info if the string is null
This commit is contained in:
parent
8e0039aaec
commit
f66a904c31
@ -194,6 +194,7 @@ native Handle EndPrepSDKCall();
|
||||
* rules will result in crashes or wildly unexpected behavior!
|
||||
*
|
||||
* If the return value is a float or integer, the return value will be this value.
|
||||
* If the return value is a string, the value returned by the function will be the number of bytes written, or -1 for NULL.
|
||||
* If the return value is a CBaseEntity, CBasePlayer, or edict, the return value will
|
||||
* always be the entity index, or -1 for NULL.
|
||||
*
|
||||
|
Loading…
Reference in New Issue
Block a user