SHAD Posted February 22, 2010 Posted February 22, 2010 does anyone know how i can show pic of the equipped weapons <table width='75%' cellspacing='1' class='table'> <tr> <td colspan=3 align=center background=silverbar.png><font color=#800517>[b]Equiped Items[/b]</font></td> </tr> <tr> <th>Primary</th> <th>Secondary</th> <th>Armor</th> </tr> <tr height=75px.> <td width=33% background=primary.png><center>[b]<font color=blue>"; if($equip[$ir['equip_primary']]['itmid']) { print $equip[$ir['equip_primary']]['itmname']."</font>[/b]</center></td>"; } else { print "None equipped.</td>"; } print " <td width=33% background=secondary.png><center>[b]<font color=green>"; if($equip[$ir['equip_secondary']]['itmid']) { print $equip[$ir['equip_secondary']]['itmname']."</center>[/b]</font></td>"; } else { print "None equipped.</td>"; } print " <td width=33% background=armor.png><center>[b]<font color=#000000>"; if($equip[$ir['equip_armor']]['itmid']) { print $equip[$ir['equip_armor']]['itmname']."</center>[/b]</font></td>"; } else { print "None equipped.</td>"; } print " </tr> <tr> <td background=silverbar.png>[url='unequip.php?type=equip_primary']<center>[b]Unequip Item</center>[/b][/url]</td> <td background=silverbar.png>[url='unequip.php?type=equip_secondary']<center>[b]Unequip Item</center>[/b][/url]</td> <td background=silverbar.png>[url='unequip.php?type=equip_armor']<center>[b]Unequip Item</center>[/b][/url]</td> </tr> </table> Quote
Zero-Affect Posted February 22, 2010 Posted February 22, 2010 use something like mccode-v2-items-pic-mod Quote
SHAD Posted February 22, 2010 Author Posted February 22, 2010 Thanks mate.works perfect. :thumbup: Another *victory dance* Quote
Zero-Affect Posted February 22, 2010 Posted February 22, 2010 yeah *victory dance* glad i could help, next time try searching keywords it may help because there is thousands of posts out there in MWG. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.