Jump to content

Home

Setting Starting items


gw_leader

Recommended Posts

Hey there,

 

I don't ask for help unless I really need it. I've tried a bunch of thing, but I can't firgure out what to commands, set startng items.

 

I've tried:

client->ps.stats[sTAT_HOLDABLE_ITEMS] |= (1 << ent->item->HI_SEEKER)

 

but of course that doesn't work, nor does a combination of that and giType, in two different lines like:

client->ps.stats[sTAT_HOLDABLE_ITEMS] |= ( 1 << HI_MEDPACK );

client->ps.stats[sTAT_HOLDABLE_ITEM] = BG_GetItemIndexByTag(HI_BACTA, IT_HOLDABLE);

 

Look I'm stumped, if you know the answer plz tell me,

I'm getting bored working on server side mods to pass the time.

Link to comment
Share on other sites

I already tried what you said, I tried it again just for kicks, it obviously doesn't work, which is why I'm replying.

 

Its obviously not like a weapon.

 

oh yeah, HI_BACTA I wrote HI_MEDPACK in the code, but I was at work without the source when I was writing the thread so I made a mistake and called HI_MEDPACK, HI_BACTA.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...