Peeks into an entity's object data and sets the string at the given offset.
int SetEntDataString(int entity, int offset, const char buffer, int maxlen, bool changeState)
Offset to use.
String to set.
Maximum length of bytes to write.
If true, change will be sent over the network.
Number of non-null bytes written.
Invalid entity or offset out of reasonable bounds.