Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // INCLUDES
- #include <a_samp>
- // DEFINES
- //Server
- #define GAMEMODE "BETA v0.1"
- #define MAP_NAME "Los Santos"
- #define SERVER_NAME "[0.3d]TIX Private Home Server"
- #define WEBSITE "www.sa-mp.com"
- #define VERSION "V0.1"
- #define LAST_UPDATE "16-12-2012"
- #define DEVELOPER "Tix"
- #define PASSWORD "priv4te"
- #define SCRIPT_LINES 5000
- //Users
- //Colors
- #define COLOR_WHITE 0xFFFFFFFF
- #define COLOR_FADE1 0xE6E6E6E6
- #define COLOR_PM1 0xA65FC7FF
- #define COLOR_PM2 0xD35FC7FF
- #define COLOR_FADE2 0xC8C8C8C8
- #define COLOR_FADE3 0xAAAAAAAA
- #define COLOR_FADE4 0x8C8C8C8C
- #define COLOR_FADE5 0x6E6E6E6E
- #define COLOR_OOC 0xE0FFFFFF
- #define COLOR_GREY 0xAFAFAFFF
- #define COLOR_LIGHTGREEN 0xADFF2FFF
- #define COLOR_LIGHTRED 0xFF6347FF
- #define COLOR_DARKRED 0xAA3333FF
- #define COLOR_RED 0xFF0606FF
- #define COLOR_LIGHTBLUE 0x33CCFFFF
- #define COLOR_GREEN 0x33AA33FF
- #define COLOR_YELLOW 0xFFFF00FF
- #define COLOR_PURPLE 0xC2A2DAFF
- #define COLOR_ORANGE 0xFF9900FF
- #define COLOR_REPORT 0xFFFF91FF
- #define COLOR_RADIO 0x8D8DFFFF
- #define COLOR_DEPTRADIO 0xFFD700FF
- #define COLOR_BLUE 0x2641FEFF
- #define COLOR_MEDIC 0xFF8282FF
- #define COLOR_NEWBIE 0x7DAEFFFF
- #define COLOR_LIME 0x00FF00FF
- #define COLOR_NEWS 0x049C7100
- #define COLOR_CYAN 0x01FCFFFF
- #define COLOR_VIP 0xC93CCEFF
- //0.3c Colors
- #define COL_EASY "{FFF1AF}"
- #define COL_DGREEN "{0E8C00}"
- #define COL_LOGIN "{98E090}"
- #define COL_WHITE "{FFFFFF}"
- #define COL_BLACK "{0E0101}"
- #define COL_GREY "{C3C3C3}"
- #define COL_GREEN "{6EF83C}"
- #define COL_RED "{F81414}"
- #define COL_YELLOW "{F3FF02}"
- #define COL_ORANGE "{F9B857}"
- #define COL_LIME "{B7FF00}"
- #define COL_CYAN "{00FFEE}"
- #define COL_LBLUE "{298ACF}"
- #define COL_BLUE "{0049FF}"
- #define COL_MAGENTA "{F300FF}"
- #define COL_VIOLET "{B700FF}"
- #define COL_PINK "{FF00EA}"
- #define COL_MARONE "{A90202}"
- #define COL_CMD "{B8FF02}"
- #define COL_PARAM "{3FCD02}"
- #define COL_SERVER "{AFE7FF}"
- #define COL_VALUE "{A3E4FF}"
- #define COL_RULE "{F9E8B7}"
- #define COL_RULE2 "{FBDF89}"
- #define COL_RWHITE "{FFFFFF}"
- #define COL_LGREEN "{9FE4AA}"
- #define COL_LRED "{DA7272}"
- #define COL_LRED2 "{C77D87}"
- #define COL_DYELLOW "{FAFA52}"
- #define COL_BROWN "{8C703F}"
- #define COL_SBLACK "{474747}"
- #define COL_GREEN2 "{ADADAD}"
- #define COL_DGREY "{616161}"
- #define COL_BLUE2 "{3660D1}"
- //ENUM
- //FOWARD
- // STOCKS
- stock ShowServerPassword()
- {
- new pass[128];
- if (strlen(PASSWORD) != 0)
- {
- format(pass, sizeof pass, "%s", PASSWORD);
- }
- else
- {
- pass = "None";
- }
- return pass;
- }
- main()
- {
- print("_________________________________________________________________________");
- printf("> Server Name: %s", SERVER_NAME);
- printf("> Gamemode : %s ", GAMEMODE);
- printf("> Version: %s", VERSION);
- printf("> Map: %s", MAP_NAME);
- printf("> Website: %s", WEBSITE);
- printf("> Developer: %s", DEVELOPER);
- printf("> Last Update: %s", LAST_UPDATE);
- printf("> Lines: %d", SCRIPT_LINES);
- printf("> Password: %s", ShowServerPassword());
- print("_________________________________________________________________________");
- return 1;
- }
- public OnGameModeInit()
- {
- SendRconCommand("hostname "SERVER_NAME"");
- SendRconCommand("weburl "WEBSITE"");
- SendRconCommand("mapname "MAP_NAME"");
- SetGameModeText(GAMEMODE);
- EnableStuntBonusForAll(0);
- DisableInteriorEnterExits();
- ShowPlayerMarkers(1);
- UsePlayerPedAnims();
- return 1;
- }
- public OnGameModeExit()
- {
- return 1;
- }
- public OnPlayerRequestClass(playerid, classid)
- {
- return 1;
- }
- public OnPlayerConnect(playerid)
- {
- return 1;
- }
- public OnPlayerDisconnect(playerid, reason)
- {
- return 1;
- }
- public OnPlayerSpawn(playerid)
- {
- return 1;
- }
- public OnPlayerDeath(playerid, killerid, reason)
- {
- return 1;
- }
- public OnVehicleSpawn(vehicleid)
- {
- return 1;
- }
- public OnVehicleDeath(vehicleid, killerid)
- {
- return 1;
- }
- public OnPlayerText(playerid, text[])
- {
- return 1;
- }
- public OnPlayerCommandText(playerid, cmdtext[])
- {
- return 0;
- }
- public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
- {
- return 1;
- }
- public OnPlayerExitVehicle(playerid, vehicleid)
- {
- return 1;
- }
- public OnPlayerStateChange(playerid, newstate, oldstate)
- {
- return 1;
- }
- public OnPlayerEnterCheckpoint(playerid)
- {
- return 1;
- }
- public OnPlayerLeaveCheckpoint(playerid)
- {
- return 1;
- }
- public OnPlayerEnterRaceCheckpoint(playerid)
- {
- return 1;
- }
- public OnPlayerLeaveRaceCheckpoint(playerid)
- {
- return 1;
- }
- public OnRconCommand(cmd[])
- {
- return 1;
- }
- public OnPlayerRequestSpawn(playerid)
- {
- return 1;
- }
- public OnObjectMoved(objectid)
- {
- return 1;
- }
- public OnPlayerObjectMoved(playerid, objectid)
- {
- return 1;
- }
- public OnPlayerPickUpPickup(playerid, pickupid)
- {
- return 1;
- }
- public OnVehicleMod(playerid, vehicleid, componentid)
- {
- return 1;
- }
- public OnVehiclePaintjob(playerid, vehicleid, paintjobid)
- {
- return 1;
- }
- public OnVehicleRespray(playerid, vehicleid, color1, color2)
- {
- return 1;
- }
- public OnPlayerSelectedMenuRow(playerid, row)
- {
- return 1;
- }
- public OnPlayerExitedMenu(playerid)
- {
- return 1;
- }
- public OnPlayerInteriorChange(playerid, newinteriorid, oldinteriorid)
- {
- return 1;
- }
- public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
- {
- return 1;
- }
- public OnRconLoginAttempt(ip[], password[], success)
- {
- return 1;
- }
- public OnPlayerUpdate(playerid)
- {
- return 1;
- }
- public OnPlayerStreamIn(playerid, forplayerid)
- {
- return 1;
- }
- public OnPlayerStreamOut(playerid, forplayerid)
- {
- return 1;
- }
- public OnVehicleStreamIn(vehicleid, forplayerid)
- {
- return 1;
- }
- public OnVehicleStreamOut(vehicleid, forplayerid)
- {
- return 1;
- }
- public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
- {
- return 1;
- }
- public OnPlayerClickPlayer(playerid, clickedplayerid, source)
- {
- return 1;
- }
Advertisement
Add Comment
Please, Sign In to add comment