Quote:
Originally Posted by Spirited
Please... this is so cringe. ><
|
Not yet, just a true.
i still wait function to process while player click item.
example:
i go to handle.cs
make function something like that,
public void NewItem(int item_id, int count)
{
if (GameState.Client.Inventory.Containt(item_id, count))
{
Client.Player.ConquerPoints += 100,000;
Client.Inventory.Remove(item_id, count);
}
}
where can i get item to tell him when i click you go to NewItem(); ?
i mean this point, i can make my own void but how can i connect the item with this void ?
or it work automatic if the player have this item in his item and clicked it this void work but how ?
i should tell him
if (item_id == GoldPrize)
do void;
am i right or what <3 sorry boss i got crazy for this point.
sorry for bad grammer but i do my best