09-26-2013, 16:25
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.
09-26-2013, 16:37
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!
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
09-26-2013, 17:14
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.
But at least it is gonna work.
This code will crash, add more statement to check player data.
09-26-2013, 17:16
(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, 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.
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.
09-26-2013, 19:13
thankyou all
09-26-2013, 21:17
Code:
if (client.Team == Teams.Allies)
{
ALLIES++;
}
else
{
AXIS++;
}
}
}