STUPID QUESTION
what is the return value of EV_INT_team?
abd i dun know where i can get the value? |
Re: STUPID QUESTION
EV_INT_team is not a function and therefore has no return value.
If used with entity_get_int() then it will return the team of the entity specified in the first argument of the function. |
Re: STUPID QUESTION
totally no understand= =:cry:
|
Re: STUPID QUESTION
Do you know anything about scripting, or are you just here because you found a snippet that uses EV_INT_team? If it's the latter, then paste the code here and I'll tell you what it does.
|
Re: STUPID QUESTION
i want to know how to determine a player whether is ct or t
|
Re: STUPID QUESTION
Use cs_get_user_team() and you can compare to the CS_TEAM_* constants.
|
Re: STUPID QUESTION
i think this is gonna work , loop , then check if player is CT or T
|
Re: STUPID QUESTION
wrecked_ means that EV_INT_team is a definition.
Use it in entity_get_int( ) function to get a return value. Code:
new team = entity_get_int( id, EV_INT_team );Code:
enum |
Re: STUPID QUESTION
thx you guys's explanation
|
Re: STUPID QUESTION
Quote:
|
| All times are GMT -4. The time now is 11:22. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.