OnRconCommand
#1

Hi all! I creating a filterscript (I don't want to post it), and I need If rconcommand = something.
How can I create something like this? (I KNOW IT'S WRONG BUT HOW)
pawn Код:
public OnRconCommand(cmd[])
{
if(cmd="Something")
{
print("It is good");
} else {
print("Wrong!");
}
return 1;
}
Reply
#2

it is:
public OnRconCommand(cmd[]){
if(strcmp("Something", cmd, true) == 0)
{...
But for some reason is OnRconCommand working only in FS make sure it is not in GM
Reply
#3

Quote:
Originally Posted by Kurence
it is:
public OnRconCommand(cmd[]){
if(strcmp("Something", cmd, true) == 0)
{...
But for some reason is OnRconCommand working only in FS make sure it is not in GM
Thanks and yes it's a FS
Reply
#4

You can try this:
http://forum.sa-mp.com/index.php?topic=113647.0
http://forum.sa-mp.com/index.php?topic=119178.0
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)