Results 1 to 8 of 8
  1. #1
    supercarz1991's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Location
    North of Hell, South of Heaven
    Posts
    6,067
    Reputation
    323
    Thanks
    3,323
    My Mood
    Doh

    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?

    commando: You're probably the best non-coder coder I know LOL


  2. #2
    Luisjoseda's Avatar
    Join Date
    Dec 2009
    Gender
    male
    Location
    El Paso
    Posts
    121
    Reputation
    10
    Thanks
    101
    My Mood
    Goofy
    Thanks mate! I'm getting into coding. Could you send me a good explained tutorial on how to start off with some nice chams?
    Previously made PvPShark.
    Now developing OreoPvP.

  3. #3
    |Zeus|'s Avatar
    Join Date
    Jan 2013
    Gender
    male
    Location
    Heaven
    Posts
    94
    Reputation
    10
    Thanks
    569
    My Mood
    Devilish
    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...

  4. #4
    Saltine's Avatar
    Join Date
    Jun 2011
    Gender
    male
    Posts
    494
    Reputation
    104
    Thanks
    625
    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...?

    Oh no! Vortex is gay!

  5. #5
    Ch40zz-C0d3r's Avatar
    Join Date
    Apr 2011
    Gender
    male
    Posts
    839
    Reputation
    44
    Thanks
    400
    My Mood
    Twisted
    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

    Progress with my game - "Disbanded"
    • Fixed FPS lag on spawning entities due to the ent_preload buffer!
    • Edit the AI code to get some better pathfinding
    • Fixed the view bug within the sniper scope view. The mirror entity is invisible now!
    • Added a new silencer for ALL weapons. Also fixed the rotation bugs
    • Added a ton of new weapons and the choice to choose a silencer for every weapon
    • Created a simple AntiCheat, noobs will cry like hell xD
    • The name will be Disbanded, the alpha starts on the 18th august 2014



    Some new physics fun (Serversided, works on every client)



    My new AI
    http://www.youtube.com/watch?v=EMSB1GbBVl8

    And for sure my 8 months old gameplay with 2 friends
    http://www.youtube.com/watch?v=Na2kUdu4d_k

  6. #6
    -Bl00d-'s Avatar
    Join Date
    Sep 2011
    Gender
    female
    Location
    Imma girl what about it?
    Posts
    481
    Reputation
    10
    Thanks
    53
    My Mood
    Twisted
    but why send an empty message?
    Successful buys: 20
    Successful sells: 4
    Successful trades: 9
    Scammed: 4

     
    http://www.mpgh.net/forum/490-vouches/560562-vouches.html

    ^^^^^^^^^^^
    vouche for me?

  7. #7
    FinalHazard_'s Avatar
    Join Date
    Mar 2012
    Gender
    male
    Location
    ALT + F4
    Posts
    320
    Reputation
    62
    Thanks
    130
    My Mood
    Cynical
    He was bored.

  8. #8
    supercarz1991's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Location
    North of Hell, South of Heaven
    Posts
    6,067
    Reputation
    323
    Thanks
    3,323
    My Mood
    Doh
    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

    commando: You're probably the best non-coder coder I know LOL