Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
etanol,sindercat,someone who is smart...
#1
How should i go about editing this so it sends 60 twice when you walk?

Quote:
#include "Source\ClientCore.cpp"

BOOL PRIVATE OnGameCommandStart(char** argv, int argc);



BOOL x1 = false;

THISGAMESTRUCT* thisgame;

// Clientinfo change things if you want

CLIENTINFO

(

0,1,

"ÿc4TheApossalÿc0",

"www.********.com/koftr",

"",

"[email protected]"

)





MODULECOMMANDSTRUCT ModuleCommands[]=

{

{

"help",

OnGameCommandHelp,

"Displays help textÿc0"

},

{

"Start",

OnGameCommandStart,

""

},

{NULL}

};



DWORD EXPORT OnGamePacketBeforeSent(BYTE* aPacket, DWORD aLen)

{

if ( aPacket[0] == 0x01)

{

BYTE pak[1] = {0x60};

server->GameSendPacketToGame(pak,1);

}

return aLen;

}

BOOL PRIVATE OnGameCommandStart(char** argv, int argc)

{

server->GamePrintInfo("Swaps Weaps.");

x1=true;

return TRUE;

}

VOID EXPORT OnGameLeave(THISGAMESTRUCT* thisgame)

{

x1=false;

return;

}

Reply
#2
if ( aPacket[0] == 0x01)

{
BYTE pak[1] = {0x60};
server->GameSendPacketToGame(pak,1);
server->GameSendPacketToGame(pak,1);
}

return aLen;
}
Reply
#3
rofl thats all lol

Sindercat Wrote: if ( aPacket[0] == 0x01)

{
BYTE pak[1] = {0x60};
server->GameSendPacketToGame(pak,1);
server->GameSendPacketToGame(pak,1);
}

return aLen;
}

dosnt even swap my wepaons now...run or walk
Reply
#4
spam
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Smart girl! Pamela 6 336 02-08-2007, 05:03 AM
Last Post: Pamela
  Smart Guy Pamela 9 234 12-23-2006, 11:25 PM
Last Post: Pamela
  Smart Navy Guy!! Pamela 12 520 05-04-2005, 01:53 AM
Last Post: kurups
  Etanol Aemaeth 43 947 12-23-2004, 05:13 PM
Last Post: Skippy
  How SMart are you really(Quest) Juke 11 457 12-04-2004, 03:46 AM
Last Post: Timetear
  Etanol: 18 Lux Aeterna 2 211 10-17-2004, 01:10 PM
Last Post: skidude
  etanol i have a question GODOFHATRED69 0 247 08-11-2004, 01:34 AM
Last Post: GODOFHATRED69
  Regarding forum moderator "etanol," and a suggestion to stop spam posts. Spam_Man666 8 424 08-07-2004, 03:01 PM
Last Post: [Ghost]
  nubli and etanol coolbot 16 412 07-22-2004, 05:05 PM
Last Post: Nubli
  etanol ur a pimp but i still need help VoLcoM_StoNeR 0 223 07-21-2004, 03:56 AM
Last Post: VoLcoM_StoNeR

Forum Jump:


Users browsing this thread: 1 Guest(s)