Jump to content

GM korlátozások


Recommended Posts

Hali

Szeretném korlázozni a gm-ek kereskedéseit és egyebeit, próbáltam ezt a funkciót haszbálni.. de csődöt mondott, és valami hasonlóval szeretném megoldani mert ez egyszerübb
Mit tudok tenni ez ügyben?

//char.cpp
add under
BOOL CHARACTER::IsGM() const

this
BOOL CHARACTER::IsLowGM() const
{
	return m_pointsInstant.gm_level > GM_PLAYER && m_pointsInstant.gm_level > GM_HIGH_WIZARD && m_pointsInstant.gm_level < GM_IMPLEMENTOR;
}

//char.h
add under
BOOL 			IsGM() const;

this
BOOL			IsLowGM() const;
Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...