HELP please I have problem
#1

OK
I put filterscript on the folder
and on the server.cfg .. > SAVE
now I start the dos window and this is write me : CCC.AMX load!
on the dos ^^
OK
I am connect to my server and the system dont update ..
Why ? the command didn't work ...
help please?
Reply
#2

Show me the command please.
Reply
#3

Paste your command here with [pawn] tags.
Reply
#4

this is the start FS
:
PHP код:
#include <a_samp>
//==============================================================================
new RGM[MAX_PLAYERS];
new 
GM[MAX_PLAYERS];
new 
ActivityTeleports;
new 
JoinTime2;
new 
JoinTime[MAX_PLAYERS];
new 
ActQ;
new 
PlayerName[256];
new 
ActiveName[128];
new 
activity;
//==============================================================================
#define ActivityJoin    0x8e0c9ff
#define Brown1          0xd11111ff
#define ActivityManager 0xb2b3b2ff
#define Green1          0x48c14ff
#define  RED            0xff0000ff
#define  White          0xFFFFFFAA
#define  yellow         0xFFFF00AA
//==============================================================================
#pragma tabsize 0 
This is the end:
PHP код:
//==============================================================================
stock SendAdminsMessage(color, const string[])
{
    for(new 
i=0i<MAX_PLAYERSi++)
     {
        if(
IsPlayerConnected(i))
        {
                if(
IsPlayerAdmin(i))
                 {
                  
SendClientMessage(icolorstring);
                  }
              }
          }
    return 
1;
}
//==============================================================================
stock GetName(playerid)
{
    new 
Name[MAX_PLAYER_NAME];
    
GetPlayerName(playeridNamesizeof(Name));
    return 
Name;
}
//==============================================================================
forward JoinTime1(playerid);
public 
JoinTime1(playerid)
{
SendClientMessage(playerid,0x48c14ff,"аъд йлем мбчщ мдцишу мфтймеъ щеб");
JoinTime2 0;
return 
1;
}
//==============================================================================
strtok(const  string[], &index)
{
 new 
length strlen(string);
 while  ((
index length) && (string[index] <= ' '))
 {
   
index++;
 }
 new 
offset index;
 new 
result[20];
 while  ((
index length) && (string[index] > ' ') &&  ((index offset) < (sizeof(result) - 1)))
 {
  
result[index -  offset] = string[index];
  
index++;
 }
 
result[index offset] =  EOS;
 return 
result;
}
//============================================================================== 
Help ?
Reply
#5

Where is the public OnFilterScriptInit?
Reply
#6

Quote:
Originally Posted by lonako45
Посмотреть сообщение
this is the start FS
:
PHP код:
#include <a_samp>
//==============================================================================
new RGM[MAX_PLAYERS];
new 
GM[MAX_PLAYERS];
new 
ActivityTeleports;
new 
JoinTime2;
new 
JoinTime[MAX_PLAYERS];
new 
ActQ;
new 
PlayerName[256];
new 
ActiveName[128];
new 
activity;
//==============================================================================
#define ActivityJoin    0x8e0c9ff
#define Brown1          0xd11111ff
#define ActivityManager 0xb2b3b2ff
#define Green1          0x48c14ff
#define  RED            0xff0000ff
#define  White          0xFFFFFFAA
#define  yellow         0xFFFF00AA
//==============================================================================
#pragma tabsize 0 
This is the end:
PHP код:
//==============================================================================
stock SendAdminsMessage(color, const string[])
{
    for(new 
i=0i<MAX_PLAYERSi++)
     {
        if(
IsPlayerConnected(i))
        {
                if(
IsPlayerAdmin(i))
                 {
                  
SendClientMessage(icolorstring);
                  }
              }
          }
    return 
1;
}
//==============================================================================
stock GetName(playerid)
{
    new 
Name[MAX_PLAYER_NAME];
    
GetPlayerName(playeridNamesizeof(Name));
    return 
Name;
}
//==============================================================================
forward JoinTime1(playerid);
public 
JoinTime1(playerid)
{
SendClientMessage(playerid,0x48c14ff,"аъд йлем мбчщ мдцишу мфтймеъ щеб");
JoinTime2 0;
return 
1;
}
//==============================================================================
strtok(const  string[], &index)
{
 new 
length strlen(string);
 while  ((
index length) && (string[index] <= ' '))
 {
   
index++;
 }
 new 
offset index;
 new 
result[20];
 while  ((
index length) && (string[index] > ' ') &&  ((index offset) < (sizeof(result) - 1)))
 {
  
result[index -  offset] = string[index];
  
index++;
 }
 
result[index offset] =  EOS;
 return 
result;
}
//============================================================================== 
Help ?
Give us the whole FS buddy.
Reply
#7

I need put it ?
***
I put now and this is not work .. the system loaded but no work in the server
I get you all the code just no the commands ..
Reply
#8

No, just upload your filterscript to pastebin and after that post here your link.
Reply
#9

listen ,
I get you all the filterscript just no the commands
Reply
#10

Did you actually define the commands under OnPlayerCommandText ? (Or by using any command rendering include)
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)