Vice City Multiplayer

VC:MP => mIRC/pawn Scripting => Topic started by: szostol on February 04, 2008, 06:19:18 PM

Title: Clan statistics
Post by: szostol on February 04, 2008, 06:19:18 PM
I need clan statistics code, it's very important so some project. Can anyone help?
Title: Re: Clan statistics
Post by: mbalee on February 10, 2008, 03:07:19 PM
Ya, ya! Need help!!!
Title: Re: Clan statistics
Post by: GTA-Roloboy on February 14, 2008, 10:54:57 PM
Look at this:
http://forum.vicecitymultiplayer.com/index.php?topic=335.0

This will help, if you can code well..
Title: Re: Clan statistics
Post by: mbalee on February 15, 2008, 06:39:44 PM
:P :P But this is only half and little help! :D I have the full cs cmd! :P :D :D
Title: Re: Clan statistics
Post by: GTA-Roloboy on February 16, 2008, 11:50:12 PM
Nice! I am coding it too ;D
Title: Re: Clan statistics
Post by: szostol on February 17, 2008, 10:41:25 AM
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....

Title: Re: Clan statistics
Post by: GTA-Roloboy on February 17, 2008, 12:14:35 PM
I think it's in the

alias vcmp.partofnick
Title: Re: Clan statistics
Post by: mbalee on February 17, 2008, 08:56:38 PM
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? :-/