how to merge fs?
#1

i want to put allot of fs in my server but the maximum is only 16 so how to merge fs?
Reply
#2

so i am waiting to any answer......
Reply
#3

Quote:
Originally Posted by misho1
Посмотреть сообщение
so i am waiting to any answer......
It can take time. Be patient.
Reply
#4

Just open the 1st FS, copy the input of the 2nd FS under the right callbacks, and remove any double codes and brackets...
Reply
#5

ok thnx
Reply
#6

i have problem when i copy the 1st fs to the 2nd fs it say problem
Код:
F:\Fun and Games server\filterscripts\EMenu.pwn(99) : error 021: symbol already defined: "OnPlayerCommandText"
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


1 Error.
Reply
#7

Lmao.
Take the commands from one OnPlayerCommandText and put them in the other one.
Reply
#8

i put 3 fs in one fs and when i open samp-server the samp-server can't work why
Reply
#9

You can't just copy everything...

EXAMPLE:



pawn Код:
// IN FIRST FILTERSCRIPT
public OnPlayerCommandText(playerid, cmdtext[])
{
    // **** CUT HERE CUT HERE CUT HERE CUT HERE CUT HERE CUT HERE CUT HERE CUT HERE *****
    if(!strcmp(cmdtext, "/help", true))
    {
        SendClientMessage(playerid, 0xFFFFFFFF, "SERVER: This is the /help command!");
        return 1;
    }
    // **** CUT HERE CUT HERE CUT HERE CUT HERE CUT HERE CUT HERE CUT HERE CUT HERE *****
   
    return 0;
   
}

So you copy the COMMAND from INSIDE the public function,
and paste it INSIDE the public function in the other script


pawn Код:
// IN THE OTHER FILTERSCRIPT
public OnPlayerCommandText(playerid, cmdtext[])
{
    if(!strcmp(cmdtext, "/help", true))
    {
        SendClientMessage(playerid, 0xFFFFFFFF, "SERVER: This is the /help command!");
        return 1;
    }

    if(!strcmp(cmdtext, "/hi", true))
    {
        SendClientMessage(playerid, 0xFFFFFFFF, "SERVER: This is the /hi command!");
        return 1;
    }

    if(!strcmp(cmdtext, "/test", true))
    {
        SendClientMessage(playerid, 0xFFFFFFFF, "SERVER: This is the /test command!");
        return 1;
    }

    if(!strcmp(cmdtext, "/grab", true))
    {
        SendClientMessage(playerid, 0xFFFFFFFF, "SERVER: This is the /grab command!");
        return 1;
    }

    if(!strcmp(cmdtext, "/grub", true))
    {
        SendClientMessage(playerid, 0xFFFFFFFF, "SERVER: This is the /grub command!");
        return 1;
    }
   
   
    // ***** PASTE HERE PASTE HERE PASTE HERE
   
    // >>>>>>>
   
    // *****************************************************
    return 0;

}
Reply
#10

OK THNX
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)