Author Topic: Score Help  (Read 2371 times)

Mido_Pop

  • Full Member
  • ***
  • Posts: 168
  • Karma: +6/-20
  • The_Pops ( War )
    • View Profile
Score Help
« on: November 19, 2012, 06:40:47 pm »
how can i script score For players ???

Like This >>>>



Mido_Pop

  • Full Member
  • ***
  • Posts: 168
  • Karma: +6/-20
  • The_Pops ( War )
    • View Profile
Re: Score Help
« Reply #1 on: November 19, 2012, 07:10:35 pm »
Please, explain your problem a little bit more.

LOL ok  >:(



Vortrex

  • Full Member
  • ***
  • Posts: 264
  • Karma: +54/-74
    • View Profile
Re: Score Help
« Reply #2 on: November 19, 2012, 07:13:30 pm »
The players score can be used with Player.Score

For example, if you need to set the score to 5, use:
Code: [Select]
Player.Score = 5;

IdkanYavuk X

  • Jr. Member
  • **
  • Posts: 91
  • Karma: +37/-36
  • Developer for The Newport Experience
    • View Profile
Re: Score Help
« Reply #3 on: November 19, 2012, 07:20:28 pm »
how can i script score For players ???

There you go :) >>>Player.Score<<<




Please, explain your problem a little bit more.


Svenko, what is your problem with Mido? You always answer his posts with mean things, he only asked a question!  >:(
« Last Edit: December 08, 2012, 10:35:19 pm by IdkanYavuk »

Mido_Pop

  • Full Member
  • ***
  • Posts: 168
  • Karma: +6/-20
  • The_Pops ( War )
    • View Profile
Re: Score Help
« Reply #4 on: November 19, 2012, 07:24:33 pm »
Thanks All



Thijn

  • Tester
  • Sr. Member
  • ****
  • Posts: 526
  • Karma: +27/-17
    • View Profile
Re: Score Help
« Reply #5 on: November 23, 2012, 09:22:11 pm »
That's not what he means.

Just add this and it should work fine:
function onPlayerKill( pKiller, pKilled, iWeapon, iBodyPart )
{
        pKiller.Score++;
}

Thijn

  • Tester
  • Sr. Member
  • ****
  • Posts: 526
  • Karma: +27/-17
    • View Profile
Re: Score Help
« Reply #6 on: November 23, 2012, 09:45:50 pm »
I see it in the recycle bin. Sorry :P

Topic solved then :)

 

© Liberty Unleashed Team.