I don't understand what you mean.
I did
Code:player = getent("player","classname"); playfx(level._effect["carepackage"], player.origin);
player is an array, or your script should already crash due to the fact that there are multiple players
Just look, I want to play an fx, and if you are as example on killstreak 5, then this thread will be called: playfxforcarepackage()
And this doesn't work. I just want to play an FX, which all can see this fx and it should spawn on the player origin, it should play loop, but it should't follow the player, just spawn on the player origin and play there loop. And at one point, I want to stop it. Here I have got problemsCode:playfxforcarepackage() { player = getent("player","classname"); while(1) { playfx(level._effect["carepackage"], player.origin); wait 0.5; } }
It doesn't work because you don't know how to script. It's getEntArray(), not getEnt() = there are more than 1 player hence you use getEntarray() (plural) and not getEnt() (singlular).
This is basic stuff. If you don't know the difference now, given that you've been scripting for Call of Duty for over 1 year, you should really give it up, because you are not getting the very basics. In other words, you don't have an aptitude for COD scripting. Take up knitting instead. It's much easier.
Lol, just like my grandma, started scripting for CoD2 and ended up in this kind of shit ;xdOriginally Posted by Tally