object oPC = GetPCItemLastEquippedBy();
.............
int reststat=GetLastRestEventType();
if(reststat==REST_EVENTTYPE_REST_FINISHED)
{ SetLocalInt(oPC,"rest",1);
}
int Check=GetLocalInt(oPC,"rest");
if(Check==1)
{
...........add itemprop}
somewhere wrong,nothing happens .but i donot know .
|