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:
XeroX 2023-04-02 23:46:53 +02:00 committed by GitHub
parent 8e0039aaec
commit f66a904c31
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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.
*