ItsMods

Full Version: Last survivour
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
so i can add extra points or weapons, perks etc? has one been released as i haven't come across one.
(09-26-2013, 16:25)hillbilly Wrote: [ -> ]so i can add extra points or weapons, perks etc? has one been released as i haven't come across one.

http://www.itsmods.com/forum/Thread-Rele...class.html

I created a class for detecting the last survivor a while ago, you can try to use that.
Simple mathematics.

Use GetClients() to get all clients. Then create common variable to save last count of all players and one 'in-method' variable to update players. Then just minus alive players from common count. Obviously it is looped. I did it in my kzm mod. Worked perfectly... but don't forget to reset common variable to reset player count at map start!
It isn't created by you. But code is good. Also stop adverstising 'hard' shit.
But at least it is gonna work.


This code will crash, add more statement to check player data.
(09-26-2013, 17:14)SailorMoon Wrote: [ -> ]It isn't created by you. But code is good. Also stop adverstising 'hard' shit.
But at least it is gonna work.

creator i am lol

(09-26-2013, 17:14)SailorMoon Wrote: [ -> ]It isn't created by you. But code is good. Also stop adverstising 'hard' shit.
But at least it is gonna work.


This code will crash, add more statement to check player data.

i am check code, worked 100% normal.
(09-26-2013, 17:16)[HARD] Tony. Wrote: [ -> ]
(09-26-2013, 17:14)SailorMoon Wrote: [ -> ]It isn't created by you. But code is good. Also stop adverstising 'hard' shit.
But at least it is gonna work.

creator i am lol

(09-26-2013, 17:14)SailorMoon Wrote: [ -> ]It isn't created by you. But code is good. Also stop adverstising 'hard' shit.
But at least it is gonna work.


This code will crash, add more statement to check player data.

i am check code, worked 100% normal.

Play +5 more hours and see.
thankyou all
Code:
if (client.Team == Teams.Allies)
                                        {
                                                ALLIES++;
                                        }
                                        else
                                        {
                                                AXIS++;
                                        }
                                }
                        }
So spectators = axis?
(09-26-2013, 21:17)DidUknowiPwn Wrote: [ -> ]
Code:
if (client.Team == Teams.Allies)
                                        {
                                                ALLIES++;
                                        }
                                        else
                                        {
                                                AXIS++;
                                        }
                                }
                        }
So spectators = axis?

How you will reset value? .. You can't do it in loop. Most method: find mw2 gsc code and port it to c# Troll