2 Things please...

02/12/2010 07:46 pro4never#16
Are you searching the entire solution or only current document? and try searching "UseItem(" because there is most likely an item id between the brackets. If it is not the actual void you will want to right click on useitem and click go to definition.
02/12/2010 07:49 Arcо#17
My mistake, its this
public void UseItem(Item I)
02/12/2010 07:52 salem rey#18
Yah i found in now, then where i will put this one? and the ids? idk the ids what will i put id? and id for garment

please sorry for distub but really need big help out here. :D :(
please
02/12/2010 07:53 Arcо#19
case garmentid:
{
if (I.UID == garmentid && Model == opposite model || Model == opposite model)
return;
}
02/12/2010 07:57 salem rey#20
what am i asking is the id of a girl or a boy what number id i put in this? or can you make me a small full guide?

please. :(

really dont know how to code. please
02/12/2010 08:02 Arcо#21
Example:
case 12345:
{
if (Model == 1003 || Model == 1004)
return;
}
02/12/2010 08:06 salem rey#22
I got red line in Model. i do it right but i dont know whats wrong. please
02/12/2010 08:12 Arcо#23
That was just an example.
But since I need to get technical...
Code:
                    case 12345:
                        {
                            if (Body == 1003 || Body == 1004)
                            {
                                return;
                            }
                            break;
                        }
02/12/2010 08:17 salem rey#24
I paste it below the cpbackpack, still i can wear it :(
02/12/2010 08:18 Arcо#25
Quote:
Originally Posted by salem rey View Post
I paste it below the cpbackpack, still i can wear it :(
Did you replace the case 12345 with a REAL id?
02/12/2010 08:21 salem rey#26
yah, for example 182365 is the itemid for heaven scent i replace whit thaat your code 12345. but still i can wear.
02/12/2010 08:22 Arcо#27
Well maybe the model isn't correct,I was just showing an example, I don't know the ID's.
02/12/2010 08:24 salem rey#28
can you try it to your server? please or can you tell me what mean f 1003 and 1004?
02/12/2010 08:25 Arcо#29
No, I'm not on my coding computer.
02/12/2010 08:27 pro4never#30
This is going to sound rude but seriously... try shit yourself!

You will never learn if you just beg others to do things and have it coded perfectly for you.

You want the script to be saying if you are a female you can wear it. Look up the small and large female models and use an or (||) statement to connect them.

It really shouldn't be that hard, you just need to give these things a try and work though the problem.