index retreive
Well, I have this thing
Code:
Now, in other public, where I CAN'T LOOK AT THAT ENTITY AGAIN, I must set its origin again... Now, how the heck I can do that? I can't use "index" again... So, any help? |
Make it global.
|
I mean, I can just make index outside as index[33] or just index ?
And then in another function just set its origin again without having to aim at it again |
Or I guess you could do this:
Code:
|
Now I'm confused...
What parm and parm2 ? :? Can you explain it? |
They are replace with index and origin:
myfunc(index,origin) |
Could I make it like this:
Code:
Parm2 is replaced with float, right? |
Yea.
Code:
|
I know I'm too boring, but since I don't understand this fully...
How would I make that player who went down gets right in front of player when I use that function? |
I still can't figure out what you're trying to do.
Are you trying to set a users' origin when you execute this command pointing at them, then move them again after that in quick succession? If so, you might be interested in set_task. |
| All times are GMT -4. The time now is 16:45. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.