ItsMods

Full Version: Import variables of other .gsc files.
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi,
I want to import the self.team from the _rank.gsc to the _callbacksetup.gsc File.
Is this possible? and if yes, how?
What do you mean by "import"
(10-28-2011, 19:50)gumpo03 Wrote: [ -> ]Hi,
I want to import the self.team from the _rank.gsc to the _callbacksetup.gsc File.
Is this possible? and if yes, how?

You don't have to. You can use it in _callbacksetup already.
(10-28-2011, 20:02)4FunPlayin Wrote: [ -> ]What do you mean by "import"

This.

We didn't really understand your question :S
(10-28-2011, 20:03)Pozzuh Wrote: [ -> ]
(10-28-2011, 19:50)gumpo03 Wrote: [ -> ]Hi,
I want to import the self.team from the _rank.gsc to the _callbacksetup.gsc File.
Is this possible? and if yes, how?

You don't have to. You can use it in _callbacksetup already.

Oh.
Ok Big Grin
thx
Do you know, how its posible, to change an Team without dying?
(with commands)
[Image: 943227833d1305709183-english-spam-thread...760-29.jpg]
Why this ?!?
It must be posible...
(10-28-2011, 20:21)iAegle Wrote: [ -> ]

He's just a beginner :p
(10-28-2011, 20:36)Rendflex Wrote: [ -> ]
(10-28-2011, 20:21)iAegle Wrote: [ -> ]

He's just a beginner :p

Undecided
Some of you guys stop spamming and just gtfo, because you're not helping anyone.

@gumpo03
self.team is a variable in which the variable 'team' is assigned to the entity 'self', where 'self' is a player. If you have a reference to that player entity, you can use <entity>.team anywhere in any function.