• Welcome to Vice City Multiplayer.
 

Clan statistics

Started by szostol, February 04, 2008, 05:19:18 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

szostol

I need clan statistics code, it's very important so some project. Can anyone help?

mbalee


GTA-Roloboy


mbalee

:P :P But this is only half and little help! :D I have the full cs cmd! :P :D :D

GTA-Roloboy


szostol

I have problem with it. It don't want to auto-add clan kills/clan deaths.


If linie is

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

vcmp.add.deaths %victim 1
  vcmp.add.cdeaths %victim 1
  vcmp.cash- %killer $vcmp.rewardmin(%victim)


It not add automaticly as normal stats....


GTA-Roloboy

I think it's in the

alias vcmp.partofnick

mbalee

the problem is with the %killer and %victim part! :S

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

var %victim = $iif($2 != $null,$vcmp.partofnick($vcmp.name(%id)),Unknown)

other idea? :-/