0 Members and 4 Guests are viewing this topic.
ConstRunner = false; // Set true for runner mode - Means that player will lose his guns when he grabs flagBonusOnCap = false; // set true for BonusOnCap - Means that the player who cap get a bonus when he scores.
It's AntiFlagDrop. Means you CAN'T drop the flag while you have it. If you drop it you die then you CAN'T get it back
you CAN'T get it back
And if you move the Player over a long distance he could lose the Flag.
Quote from: y0uRd34th on June 26, 2009, 05:01:18 pmAnd if you move the Player over a long distance he could lose the Flag.A series of MovePlayers of a given constant distance or lower evenly placed maybe?
But Curt, if a player drops the flag... Just for curiosity lulz, instead of killing the player, we will move him to his team Spawn Point ( getting information about it with SetSpawnStat ). Then if i want ( in my script ) to move the flag to this Flag Dropper, i will use GetPlayerXY to where he is ( as chosen, his spawn point ) but what about Moving this flag to the player ?Thanks for telling me <3
There is a ReturnFlag function made. You can probably use this in combination with SetSpawnStat to move the flag anywhere you want, including on the person to give it back.
SetSpawnStat and Flags is a very bad idea.