Vice City Multiplayer
VC:MP 0.3 => mIRC/pawn Scripting => Topic started by: szostol on February 04, 2008, 08:19:18 pm
-
I need clan statistics code, it's very important so some project. Can anyone help?
-
Ya, ya! Need help!!!
-
Look at this:
http://forum.vicecitymultiplayer.com/index.php?topic=335.0
This will help, if you can code well..
-
:P :P But this is only half and little help! :D I have the full cs cmd! :P :D :D
-
Nice! I am coding it too ;D
-
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....
-
I think it's in the
alias vcmp.partofnick
-
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? :-/