The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#4
|
|||
|
|||
![]()
you can create new action for ushop to by/change points -> inferno-points
or you kann modify rpginferno to use ushop points.... i have modified rpginferno so i have only one points-field ( in user -table ) little example: Code:
// global query $gmember=$DB->query("select u.*, FROM_UNIXTIME(u.bottimer,'%H:%i:%s') as timer from inferno_user as u where rid='{$bbuserinfo['userid']}'"); $member=$DB->fetch_array($gmember); $gpoints=$DB->query("select uttpoints from user where userid='{$bbuserinfo['userid']}'"); $points=$DB->fetch_array($gpoints); $member['money']=$points['uttpoints']; ________________________________________ or $DB->query("update inferno_user set inbattle='0',money=money+'{$hand_take}',bankmoney=bankmoney+'{$bank_take}',rage='{$rage}',exp='{$exp}',won=won+'1' where gid='{$winner['gid']}'"); $DB->query("update user set uttpoints=uttpoints+'{$hand_take}' where userid='$from'"); you must always make a second query with update of a uttpoints ![]() demo @ www.community-portal.to bank is managed by ushop P.S. sorry for my bad english ![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|