Re: How to freeze a player?
Re: How to freeze a player?
Quote:
Originally Posted by
qet123
ZGameInput.cpp
Ok , and ...
Where to put my if statement?
IF (XXX)
{
freeze the player
}
else
{
nothing happend
}
Re: How to freeze a player?
Quote:
Originally Posted by
ofiritsmeeee
Ok , and ...
Where to put my if statement?
IF (XXX)
{
freeze the player
}
else
{
nothing happend
}
ZGameInput::OnEvent
if(1) return false;
Re: How to freeze a player?
Quote:
Originally Posted by
qet123
ZGameInput::OnEvent
if(1) return false;
lol i edited like that:
Code:
bool ZGameInput::OnEvent(MEvent* pEvent)
{
int sel = 0;
if ((ZGetGameInterface()->GetState() != GUNZ_GAME)) return false;
if ( ZGetGameInterface()->GetGame() == NULL ) return false;
MWidget* pMenuWidget = ZGetGameInterface()->GetIDLResource()->FindWidget("CombatMenuFrame");
if ((pMenuWidget) && (pMenuWidget->IsVisible())) return false;
MWidget* pChatWidget = ZGetGameInterface()->GetIDLResource()->FindWidget("CombatChatInput");
if ((pChatWidget) && (pChatWidget->IsVisible())) return false;
MWidget* p112ConfirmWidget = ZGetGameInterface()->GetIDLResource()->FindWidget("112Confirm");
if (p112ConfirmWidget->IsVisible()) return false;
if(ZGetGame()->m_pMyCharacter->GetStatus().Ref().Freeze) return false;
BUT w , s , a ,d , hit , jump works anD ALL DASH'S + CHAT + DEFENCE are locked.
HOW TO freeze with no jump and all this..
Re: How to freeze a player?
Re: How to freeze a player?
Quote:
Originally Posted by
Wizkidje
ZChat::Input.
Ok , what to add there?
Re: How to freeze a player?
Quote:
Originally Posted by
ofiritsmeeee
Ok , what to add there?
same shit lol
Re: How to freeze a player?
Quote:
Originally Posted by
qet123
same shit lol
So , to freeze a player completly , that he cant move , which files should i edit?
What about mute a player? [Which files] ?
What about show ESP of the player? [Which files] ?
Re: How to freeze a player?
Quote:
Originally Posted by
ofiritsmeeee
So , to freeze a player completly , that he cant move , which files should i edit?
What about mute a player? [Which files] ?
What about show ESP of the player? [Which files] ?
Any one?
Re: How to freeze a player?
Quote:
Originally Posted by
ofiritsmeeee
What about mute a player? [Which files] ?
There is a mute rank :o.
If i'm not wrong, the ugrade of the mute rank is 104.
Re: How to freeze a player?
Quote:
Originally Posted by
Probility
There is a mute rank :o.
If i'm not wrong, the ugrade of the mute rank is 104.
Tnx , can any1 help me how should i edit this files to get full freeze?and how to esp someone by an if statement.
Re: How to freeze a player?
Bump , i did it like that but it freezing only the dashes.. I want a full freeze that the player cant move:
Code:
case MWM_ACTIONPRESSED:
if( ZGetGame()->m_pMyCharacter->GetStatus().Ref().Freeze != 1)
if (!ZGetGame()->IsReservedSuicide()) // ְ»ל ¿¹ֱ₪ְ־ °ז¿ל ´כ½¬¸¦ ַׂ¼צ¾ר°װ ¸·´ֲ´
{
switch(pEvent->nKey){
case ZACTION_FORWARD:
case ZACTION_BACK:
case ZACTION_LEFT:
case ZACTION_RIGHT:
case ZACTION_JUMP:
if (m_pInstance)
m_pInstance->m_ActionKeyHistory.push_back(ZACTIONKEYITEM(ZGetGame()->GetTime(),true,pEvent->nKey));
return true;
Re: How to freeze a player?
Quote:
Originally Posted by
ofiritsmeeee
Bump , i did it like that but it freezing only the dashes.. I want a full freeze that the player cant move:
Code:
case MWM_ACTIONPRESSED:
if( ZGetGame()->m_pMyCharacter->GetStatus().Ref().Freeze != 1)
if (!ZGetGame()->IsReservedSuicide()) // ְ»ל ¿¹ֱ₪ְ־ °ז¿ל ´כ½¬¸¦ ַׂ¼צ¾ר°װ ¸·´ֲ´
{
switch(pEvent->nKey){
case ZACTION_FORWARD:
case ZACTION_BACK:
case ZACTION_LEFT:
case ZACTION_RIGHT:
case ZACTION_JUMP:
if (m_pInstance)
m_pInstance->m_ActionKeyHistory.push_back(ZACTIONKEYITEM(ZGetGame()->GetTime(),true,pEvent->nKey));
return true;
...
ZMyCharacter::OnUpdate
Re: How to freeze a player?
Quote:
Originally Posted by
Wizkidje
...
ZMyCharacter::OnUpdate
I'm confused , In which files should i edit for a full freze?