SendEmptyMessageToServer

Posts 1–8 of 8 · Page 1 of 1
SendEmptyMessageToServer
Code:
LTRESULT SendEmptyServerMsg(uint32 nMsgID, uint32 nFlags)
{
	LTRESULT nResult;

	CAutoMessage cMsg;

	cMsg.Writeuint8(nMsgID);

	nResult = g_pLTClient->SendToServer(cMsg.Read(), nFlags);

	return nResult;
}
use
Code:
void FragSelfFn(int argc, char **argv)
{
	SendEmptyServerMsg(MID_FRAG_SELF);
}
can you tell that i'm extremely bored?
Thanks mate! I'm getting into coding. Could you send me a good explained tutorial on how to start off with some nice chams?
Quote Originally Posted by Luisjoseda View Post
Thanks mate! I'm getting into coding. Could you send me a good explained tutorial on how to start off with some nice chams?
PTC("skelmodelstencil 1.0")
Simple nx-chams.
Ofcourse thats not allthe code...
Quote Originally Posted by supercarz1991 View Post
Code:
LTRESULT SendEmptyServerMsg(uint32 nMsgID, uint32 nFlags)
{
	LTRESULT nResult;

	CAutoMessage cMsg;

	cMsg.Writeuint8(nMsgID);

	nResult = g_pLTClient->SendToServer(cMsg.Read(), nFlags);

	return nResult;
}
use
Code:
void FragSelfFn(int argc, char **argv)
{
	SendEmptyServerMsg(MID_FRAG_SELF);
}
can you tell that i'm extremely bored?
I must ask, why are you passing those unnecessary parameters to the FragSelfFn() function...?
Quote Originally Posted by Saltine View Post

I must ask, why are you passing those unnecessary parameters to the FragSelfFn() function...?
Its staright from NOLF2 source, they had a layout for every function and didnt want to break it
but why send an empty message?
Quote Originally Posted by Ch40zz-C0d3r View Post
Its staright from NOLF2 source, they had a layout for every function and didnt want to break it
nah, thats actually used in some parts i didn't post i also changed it to frag self... i use this for something else

Quote Originally Posted by -Bl00d- View Post
but why send an empty message?
idk cuz you can
Posts 1–8 of 8 · Page 1 of 1
This thread is closed for replies.

Tags for this Thread

None

Talk with us