Should already be in your GWA2 file but here you goQuote:
could you combine chat function for me please Sir? i tried and dont work ;(
Code:
Func SendChat($aMessage, $aChannel = '!') Local $lMessage Local $lAddress = 256 * $mQueueCounter + $mQueueBase If $mQueueCounter = $mQueueSize Then $mQueueCounter = 0 Else $mQueueCounter = $mQueueCounter + 1 EndIf If StringLen($aMessage) > 120 Then $lMessage = StringLeft($aMessage, 120) Else $lMessage = $aMessage EndIf MemoryWrite($lAddress + 12, $aChannel & $lMessage, 'wchar[122]') DllCall($mKernelHandle, 'int', 'WriteProcessMemory', 'int', $mGWProcHandle, 'int', $lAddress, 'ptr', $mSendChatPtr, 'int', 8, 'int', '') EndFunc ;==>SendChat