|
Re: How do I get commands for my sever? [message #318249 is a reply to message #318246] |
Wed, 20 February 2008 22:28   |
Genesis2001
Messages: 1397 Registered: August 2006
Karma: 0
|
General (1 Star) |
|
|
You're talking about EKT's Roleplay 2 server, aren't ya? -_-
Those are custom scripted server-sided by Sniperhid (aka EKT-Snippers or something like that) and they're a private thing, server specific...
Although, you can easily make a !killme command in C++ -_-
~Zack
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Re: How do I get commands for my sever? [message #318814 is a reply to message #318257] |
Sun, 24 February 2008 18:52   |
 |
Commando Burton
Messages: 91 Registered: July 2007 Location: The Internet
Karma: 0
|
Recruit |

|
|
Sniperhid wrote on Thu, 21 February 2008 00:19 |
const char *Msg3 = WideCharToChar(Msg);
else if (strncmp(Msg3,"!killme",7) == 0) {
if (obj){
Commands->Destroy_Object(obj);
char message[256];
sprintf(message,"cmsgp %d 90,250,90 [EKTRPG] You have been killed.",ID);
Console_Input(message);
return;
}
}
the ID var is given in the chat hook: SSGM_Chat_Hook, yeah you can tell me off for not using the tokenized stuff, but this works perfectly fine.
|
Okay, how do I use this?
|
|
|
Re: How do I get commands for my sever? [message #318817 is a reply to message #318808] |
Sun, 24 February 2008 19:06   |
 |
Commando Burton
Messages: 91 Registered: July 2007 Location: The Internet
Karma: 0
|
Recruit |

|
|
Commando Burton wrote on Sun, 24 February 2008 18:14 | Wait, when I tell someone on my server to type !killme and they do over in BRenbot said that person did not Renguard how do I fix this!
| Wait, BR said that they need Renguard.
One thing I do NOT have Renguard.
One more thing I want to open custom_commands.brf but can't what do I need?
[Updated on: Sun, 24 February 2008 19:38] Report message to a moderator
|
|
|
|
Re: How do I get commands for my sever? [message #318979 is a reply to message #318246] |
Mon, 25 February 2008 16:38   |
EA-DamageEverything
Messages: 423 Registered: January 2005 Location: Germany
Karma: 0
|
Commander |
|
|
You can open & edit any Plugin file with the Windows Notepad. Associate .brf + .cfg with it. You even can open the .pm + XML files with it.
The only important thing is to keep the structure of the code within those files. If you mess a line up, the Plugin will not load or work properly.
|
|
|
|