• Welcome to Vice City Multiplayer.
 

Ratio!-.-

Started by BoySticK, December 22, 2008, 02:14:39 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

BoySticK

uhmm In GUS doesnt show the ratio.................................................xD ;D
when u type !stats....................................xD

so......HELP...........................................xD

Note:GUS ._-

Amenine

#1
Here you go....

elseif (!stat* iswm $2) || (!pmstat* iswm $2) {
    var %ratio = $round($calc($vcmp.kills(%a) / $vcmp.deaths(%a)),2)
    if ($vcmp.cmdcheck(!stats,%id) == fail) !halt
    elseif (%a == -1) vcmp.msg %id Error - Absent ID/Name
    else vcmp.say $vcmp.name(%a) $+ 's Stats - Kills: $vcmp.kills(%a) $+ , Deaths: $vcmp.deaths(%a) $+ , Ratio: %ratio
  }


Regards
Amenine

Amenine


BoySticK


[NoN]Toiletduck