2 more questions

Posts 16 of 6 · Page 1 of 1
2 more questions
Alright, I think this will be the last thing before I'll release the mod or somethin'

Alright, so, I got team allies and axis.
But when the switch side happens, they dont switch sides. Any way fix this?

2. I've got this in the allies one:


----codes----
self SetOrigin((252,960,190));
----codes----

But then everyone spawns inside eachother, and its quite annoying. How would I add more, if its even possible?
For the first one, switching sides only switches the sides, not the teams. U have to make a script to swap teams too.

For the second one, i think u made a new spawn position, so its only one, all spawn at that coordinate.
Quote Originally Posted by lolhack8808 View Post
For the first one, switching sides only switches the sides, not the teams. U have to make a script to swap teams too.

For the second one, i think u made a new spawn position, so its only one, all spawn at that coordinate.
Didnt help. Perhaps the first one though, but how the hell do I make that.

2. As I said, I made it for the allies team, so only the allies spawn at that coordinate. & an unreleased mod by Killingdyl has more spawns, so I know it works
Third question:

Why wont ranger_akimbo_mp give akimbo?
Use
Code:
if(self.pers["team"]==game["defenders"])
{
code
}
or
Code:
if(self.pers["team"]==game["attackers"])
{
code
}
They will switch sides. And to give akimbo you have to set true. So if you want to give ranger akimbo do
Code:
 self GiveWeapon("ranger_akimbo_mp", 0, true);
Quote Originally Posted by zxz0O0 View Post
Use
Code:
if(self.pers["team"]==game["defenders"])
{
code
}
or
Code:
if(self.pers["team"]==game["attackers"])
{
code
}
They will switch sides. And to give akimbo you have to set true. So if you want to give ranger akimbo do
Code:
 selfGiveWeapon("ranger_akimbo_mp", 0, true);
I think I tried that ranger too. I'll try again.

But for the other one, I think I found out why. I've got setOrigin to one special place for both teams, and that is probably why..
Do you have any idea on how to still have the spawns, but let them change?
(Or know my other question, for more spawns)
Posts 16 of 6 · Page 1 of 1
This thread is closed for replies.

Similar Threads

Tags for this Thread

None

Need help?