Author Topic: Clan statistics  (Read 4422 times)

0 Members and 1 Guest are viewing this topic.

szostol

  • Guest
Clan statistics
« on: February 04, 2008, 08:19:18 pm »
I need clan statistics code, it's very important so some project. Can anyone help?

Offline mbalee

  • Street Thug
  • *
  • Posts: 32
    • View Profile
    • Hungarian GTA Site
Re: Clan statistics
« Reply #1 on: February 10, 2008, 05:07:19 pm »
Ya, ya! Need help!!!

Offline GTA-Roloboy

  • Made Man
  • ***
  • Posts: 135
    • View Profile
Re: Clan statistics
« Reply #2 on: February 15, 2008, 12:54:57 am »
Look at this:
http://forum.vicecitymultiplayer.com/index.php?topic=335.0

This will help, if you can code well..

Offline mbalee

  • Street Thug
  • *
  • Posts: 32
    • View Profile
    • Hungarian GTA Site
Re: Clan statistics
« Reply #3 on: February 15, 2008, 08:39:44 pm »
:P :P But this is only half and little help! :D I have the full cs cmd! :P :D :D

Offline GTA-Roloboy

  • Made Man
  • ***
  • Posts: 135
    • View Profile
Re: Clan statistics
« Reply #4 on: February 17, 2008, 01:50:12 am »
Nice! I am coding it too ;D

szostol

  • Guest
Re: Clan statistics
« Reply #5 on: February 17, 2008, 12:41:25 pm »
I have problem with it. It don't want to auto-add clan kills/clan deaths.


If linie is

Code: [Select]
vcmp.add.cdeaths $vcmp.partofnick($vcmp.name(%id)) 1
It's special cmd to test and type !adddeaths it add to clan stats, but... If code is

Code: [Select]
vcmp.add.deaths %victim 1
  vcmp.add.cdeaths %victim 1
  vcmp.cash- %killer $vcmp.rewardmin(%victim)

It not add automaticly as normal stats....


Offline GTA-Roloboy

  • Made Man
  • ***
  • Posts: 135
    • View Profile
Re: Clan statistics
« Reply #6 on: February 17, 2008, 02:14:35 pm »
I think it's in the

alias vcmp.partofnick

Offline mbalee

  • Street Thug
  • *
  • Posts: 32
    • View Profile
    • Hungarian GTA Site
Re: Clan statistics
« Reply #7 on: February 17, 2008, 10:56:38 pm »
the problem is with the %killer and %victim part! :S

I made an attempt in this manner, but not good:

Code: [Select]
var %victim = $iif($2 != $null,$vcmp.partofnick($vcmp.name(%id)),Unknown)
other idea? :-/