01.08.2011, 05:31
IceChat and mIRC is Irc client to talk when not online but i dont know how too please man i new i am noob need help please here full script.
Quote:
#include <a_samp> #include <irc> #include <SFCRRPGdudb> #include <streamer> #include <dprops> #include <sscanf> #include <time> #include <ladmin> #include <a_irc> #pragma tabsize 0 #pragma unused strtok //================================================== ============================ #define dcmd(%1,%2,%3) if (!strcmp((%3)[1], #%1, true, (%2)) && ((((%3)[(%2) + 1] == '\0') && (dcmd_%1(playerid, ""))) || (((%3)[(%2) + 1] == ' ') && (dcmd_%1(playerid, (%3)[(%2) + 2]))))) return 1 //Colours #define COLOR_GREY 0xAFAFAFAA #define COLOR_GREEN 0x33AA33AA #define COLOR_RED 0xFF0000AA #define COLOR_YELLOW 0xFFFF00AA #define COLOR_WHITE 0xFFFFFFAA #define COLOR_VIOLETBLUE 0x8A2BE2AA #define COLOR_DEADCONNECT 0x808080AA #define COLOR_BLUE 0x0000FFAA #define COLOR_FORESTGREEN 0x228B22AA #define COLOR_DODGERBLUE 0x1E90FFAA #define COLOR_DARKOLIVEGREEN 0x556B2FAA #define COLOR_ORANGE 0xFFA500AA #define COLOR_PURPLE 0x800080AA #define COLOR_ROYALBLUE 0x4169FFAA #define COLOR_ERROR 0xD2691EAA #define COLOR_PINK 0xFF0080FF #define COLOR_SEXYGREEN 0x00FF00FF #define COLOR_LIGHTBLUE 0x33CCFFAA #define COLOR_LIME 0x10F441AA #define COLOR_ADMIN 0x10F441AA // Currently Lime. #define COLOR_CYAN 0x40FFFFFF #define COLOR_ORANGERED 0xFF4500AA #define TEAM_COP 1 #define TEAM_ARMY 2 #define TEAM_MEDIC 3 #define TEAM_CARFIX 4 #define TEAM_CIA 5 #define TEAM_DRIVER 6 #define TEAM_BISTRO 7 #define TEAM_JAILTK 8 #define TEAM_PVTMED 9 #define TEAM_CIVIL 10 #define TEAM_GASDEL 11 #define TEAM_DRGDEL 12 #define TEAM_HITMAN 13 #define TEAM_GUNDEL 14 #define TEAM_SNITCH 15 #define TEAM_RAPIST 16 #define TEAM_BOUNTY 17 #define TEAM_KIDNAP 18 #define TEAM_DJUNKIE 19 #define TEAM_THIEF 20 #define TEAM_PIMP 21 #define TEAM_PILOT 22 #define TEAM_SMUG 23 #define TEAM_TERRO 24 #define TEAM_CARJACK 25 #define TEAM_FIRE 26 #define TEAM_EGG 27 #define TEAM_SWAT 28 #define TEAM_ADMIN 40 #define DIALOG_LOGIN 1 #define DIALOG_REGISTER 2 #define DIALOG_COMMANDS 3 #define DIALOG_SKILLINFO 4 #define DIALOG_ADCMDS 5 #define DIALOG_BANK_LIST 6 #define DIALOG_BANK_WITHDRAW 7 #define DIALOG_BANK_DEPOSIT 8 #define DIALOG_BANK_BALANCE 9 #define DIALOG_CIASAT 10 #define DIALOG_SUPASAVE 11 #define DIALOG_DRUGHOUSE 12 #define DIALOG_WEAPONS 13 #define DIALOG_OTTO 14 #define DIALOG_BOMBSHOP 15 #define DIALOG_TERRORIST 16 #define DIALOG_ROBSKILL 17 #define DIALOG_BURGERSHOT 18 #define DIALOG_CLUCKINBELL 19 #define DIALOG_AMMUNATION 20 #define DIALOG_GAYDAR 21 #define DIALOG_ZERO 22 #define DIALOG_MISTYS 23 #define DIALOG_GYM 24 #define DIALOG_SCHOOL 25 #define DIALOG_WANGCARS 26 #define DIALOG_TRAIN 27 #define DIALOG_BARBERS 28 #define DIALOG_HOSPITAL 29 #define DIALOG_JIZZYS 30 #define DIALOG_PIZZA 31 #define DIALOG_ZIP 32 #define DIALOG_VICTIM 33 #define DIALOG_BINCO 34 #define DIALOG_CITYHALL 35 #define DIALOG_INVENTORY 36 #define DIALOG_CREDITS 37 #define DIALOG_RULES 38 #define DIALOG_PC 39 //Version #define sversion "1.0" //IRC Defines // 1st Echo Bot #define BOT_1_NICKNAME "[Sfrcr]Bot" #define BOT_1_REALNAME "SA-MP Bot" #define BOT_1_USERNAME "[Sfrcr]Bot" // 2nd Echo Bot #define BOT_2_NICKNAME "pwno" #define BOT_2_REALNAME "SA-MP Bot" #define BOT_2_USERNAME "pwno" //All bots password #define IRC_BOT_PASSWORD "password" // Admin Echo Bot (3rd) #define BOT_3_NICKNAME "linda" #define BOT_3_REALNAME "SA-MP Bot" #define BOT_3_USERNAME "linda" //Admin Channel password #define IRC_ADMINCHANNEL_PASSWORD "Password" #define IRC_SERVER "www.sfrcr.forumotion.com/" #define IRC_PORT (7760) #define IRC_CHANNEL "#channel" #define IRC_ADMINCHANNEL "#SFRCR.OPER" #define MAX_BOTS (3) #define MAX_ROADBLOCKS 35 #define MAX_SPAM 5 #define SPEC_TYPE_NONE 0 #define SPEC_TYPE_PLAYER 1 #define SPEC_TYPE_VEHICLE 2 |