so i can add extra points or weapons, perks etc? has one been released as i haven't come across one.
Request Last survivour
|
09-26-2013, 16:36
(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!
09-26-2013, 17:12
(This post was last modified: 09-26-2013, 17:14 by [HARD] Tony..)
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:16
(This post was last modified: 09-26-2013, 17:17 by [HARD] Tony..)
(09-26-2013, 17:14)SailorMoon Wrote: It isn't created by you. But code is good. Also stop adverstising 'hard' shit. 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. i am check code, worked 100% normal.
09-26-2013, 18:21
(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. Play +5 more hours and see.
09-26-2013, 21:17
(This post was last modified: 09-26-2013, 21:17 by DidUknowiPwn.)
Code: if (client.Team == Teams.Allies)
Do not take life too seriously. You will never get out of it alive.
09-27-2013, 10:57
|
Users browsing this thread: |
2 Guest(s) |