PChar->pushPacket(new CChatMessagePacket(PChar, MESSAGE_SAY, "Getting Max Magic Points %u")),PChar->Health.mp;
something like that.
I was wondering about this when the getMaxHp function is being called is it requesting a value
inline int32 CLuaBaseEntity::getMaxMP(lua_State *L)
getMaxHP(value);
or is it just asking to get the value to send it back to some thing?
what one would be right
getMaxHP(value);
getMaxHP();
or both?
is there a way to print out in client %u with
Re: is there a way to print out in client %u with
Code: Select all
int32 n = PChar->GetMaxHP();
char buf[110];
sprintf(buf,"Getting Max Health Points: %d", (int)n);
PChar->pushPacket(new CChatMessagePacket(PChar, MESSAGE_STRING_SAY , ("%s",buf)));