Raised This Month: $ Target: $400
 0% 

get user team


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Hunter-Digital
Veteran Member
Join Date: Aug 2006
Location: In the Game [ro]
Old 10-08-2010 , 22:44   Re: get user team
Reply With Quote #8

Quote:
Originally Posted by SaM.ThE.MaN View Post
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 View Post
cs_get_user_model ( index, model[], len )
__________________
Hunter-Digital is offline
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 10:20.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode