View Single Post
  #1  
Old 09-07-2007, 02:24 AM
PrinceOfKenshin PrinceOfKenshin is offline
That guy with a beard
PrinceOfKenshin's Avatar
Join Date: May 2004
Location: Ontario, Canada
Posts: 819
PrinceOfKenshin has a spectacular aura aboutPrinceOfKenshin has a spectacular aura about
function onMousedown problem

Ok so i have two npcs in a level and they both have

PHP Code:
function onMousedown(mode)
{
  if (
mode == "double")
{
 
triggeraction(0,0,"serverside","System/Main","genderset","male");
}

The only difference between the two is instead of "male" it's "female" in the other npc.

My problem is when i click on the male i get set as the female. And i don't want to have to keep it the way i have it now where you right click for male and left click for female.
__________________


Quote:
Game Master (Server): Greetings PrinceOfKenshin, there are new posts on the forums that demand your urgent attention! God speed, the fate of the world is in your hands. If you fail, middle earth will forever be in the darkness and your children will be enslaved by McKain.
Reply With Quote