Quote:
Originally Posted by Len
I did your suggestions and changed a few things like client_cmd which was just making endless loops :@
debug results:
test
team =
0 = 3
which tells me cs_get_user_team isn't returning anything at all, not what func wiki says,
|
It does return a value, but it is returning an integer value. You are using %s, which is used to format a string. To insert the value returned by cs_get_user_team() you'd use %i or %d.
A full list:
- %s - string
- %d - integer
- %i - integer
- %f - float
- %.2f - float to the 2nd decimal place
- %.3f - float to the 3rd decimal place
- etc...
Quote:
Originally Posted by Len
thank you so much wrecked
|
Not a problem.
Quote:
Originally Posted by Len
so team[0] = jointeam, team[1] = team, team[2] = null?
|
By argument, I was referring to the 1st parameter of read_argv in the jointeam function, but it seems you've fixed that on your own. So in that case, just ignore what I said.
__________________