HELP please I have problem
#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


Messages In This Thread
HELP please I have problem - by lonako45 - 03.05.2012, 12:56
Re: HELP please I have problem - by Accord - 03.05.2012, 12:59
Re: HELP please I have problem - by Faisal_khan - 03.05.2012, 13:02
Re: HELP please I have problem - by lonako45 - 03.05.2012, 14:45
Re: HELP please I have problem - by Accord - 03.05.2012, 14:46
Re: HELP please I have problem - by Faisal_khan - 03.05.2012, 15:12
Re: HELP please I have problem - by lonako45 - 03.05.2012, 15:13
Re: HELP please I have problem - by Accord - 03.05.2012, 15:19
Re: HELP please I have problem - by lonako45 - 03.05.2012, 15:21
Re: HELP please I have problem - by KingHual - 03.05.2012, 15:24

Forum Jump:


Users browsing this thread: 1 Guest(s)