Quote:
Originally Posted by SaM.ThE.MaN
well then can you gimme an example of cs_get_user_team? ... and i still did not understand what Len is for and what it does
|
Len is the length of the variable minus 1, maximum characters it can store.
You obvioulsy have seen this, right ?
Code:
new name[32]
get_user_name(id, name, 31)
// or
get_user_name(id, name, charsmax(name)
Size of variable minus 1, because the last cell is ^0 which defines end of the string and which defines that is actually a string, not an array.
Also, as others already told you, len is on cs_get_user_
model. (you said it yourself)
Quote:
Originally Posted by matsi
cs_get_user_model ( index, model[], len )
|
__________________