Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <a_samp>
- #include <zcmd>
- #include <streamer>
- #include <a_samp>
- #include <streamer>
- #include <YSI\y_ini>
- #define banf "/banned/%s.ini"
- //============================================================================//
- #define BELA 0xFFFFFFAA
- #define SIVA 0xBFC0C2FF
- new Text:Textdraw0;
- new Text:Textdraw1;
- //============================================================================//
- native WP_Hash(buffer[],len,const str[]);
- //============================================================================//
- #pragma tabsize 0
- //============================================================================//
- #define COL_GREEN "{6EF83C}"
- #define COL_RED "{F81414}"
- #define COL_EASY "{FFF1AF}"
- #define COL_WHITE "{FFFFFF}"
- #define COL_BLACK "{0E0101}"
- #define COL_GREY "{C3C3C3}"
- #define COL_YELLOW "{F3FF02}"
- #define COL_ORANGE "{FFAF00}"
- #define COL_LIME "{B7FF00}"
- #define COL_CYAN "{00FFEE}"
- #define COL_LIGHTBLUE "{00C0FF}"
- #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 "{C9FFAB}"
- #define COL_LRED "{FFA1A1}"
- #define COL_LRED2 "{C77D87}"
- //BOJE
- #define COLOR_SYSTEM 0xF5FF9FAA
- #define COLOR_ADMINISTRATOR 0xa0d3ffAA
- #define COLOR_YELLOW2 0xF5DEB3AA
- #define COLOR_LIGHTBLUE "{00CED1}"
- #define dregister 2011
- #define dlogin 2012
- #define UserPath "Users/%s.ini"
- //Ostali defineovi
- #define SCM SendClientMessage
- //============================================================================//
- stock Path(playerid)
- {
- new str[128],name[MAX_PLAYER_NAME];
- GetPlayerName(playerid,name,sizeof(name));
- format(str,sizeof(str),UserPath,name);
- return str;
- }
- public OnGameModeInit()
- {
- Textdraw0 = TextDrawCreate(565.000000, 2.000000, "NM");
- TextDrawBackgroundColor(Textdraw0, 255);
- TextDrawFont(Textdraw0, 2);
- TextDrawLetterSize(Textdraw0, 0.340000, 2.100001);
- TextDrawColor(Textdraw0, 347857151);
- TextDrawSetOutline(Textdraw0, 1);
- TextDrawSetProportional(Textdraw0, 1);
- Textdraw1 = TextDrawCreate(549.000000, 17.000000, "NidzaMapping");
- TextDrawBackgroundColor(Textdraw1, 255);
- TextDrawFont(Textdraw1, 1);
- TextDrawLetterSize(Textdraw1, 0.220000, 0.699999);
- TextDrawColor(Textdraw1, -1027621121);
- TextDrawSetOutline(Textdraw1, 1);
- TextDrawSetProportional(Textdraw1, 1);
- //============================================================================//
- SetGameModeText("Nidza Mapping");
- AddPlayerClass(0, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
- //============================================================================//Mape stavljas tu!
- //====================//Kupovina: Farbe,spreja,stiropora,dinamika//===========//
- CreateDynamicObject(18981, 1701.50000, -1570.02185, 12.04590, 0.00000, 90.00000, 0.00000);
- CreateDynamicObject(18981, 1676.47925, -1570.13123, 12.04590, 0.00000, 90.00000, 0.00000);
- CreateDynamicObject(14409, 1687.18091, -1571.50757, 10.96610, 0.00000, 0.00000, 900.00000);
- new donjizid = CreateDynamicObject(19377, 1691.24036, -1564.57495, 14.06558, 0.00000, 90.00000, 0.00000);
- SetDynamicObjectMaterial(donjizid, 0, 13724, "docg01_lahills", "ston10S", 0xFFFFFF);
- CreateDynamicObject(19366, 1685.17932, -1569.72705, 12.07750, 34.50000, 0.00000, 0.00000);
- CreateDynamicObject(19366, 1675.55115, -1561.36365, 12.67590, 0.00000, 0.00000, 0.00000);
- new donjizid1 = CreateDynamicObject(19377, 1680.73901, -1564.57458, 14.06560, 0.00000, 90.00000, 0.00000);
- SetDynamicObjectMaterial(donjizid1, 0, 13724, "docg01_lahills", "ston10S", 0xFFFFFF);
- CreateDynamicObject(19366, 1675.55115, -1567.78723, 12.67590, 0.00000, 0.00000, 0.00000);
- CreateDynamicObject(19366, 1675.55225, -1564.57715, 12.67590, 0.00000, 0.00000, 0.00000);
- CreateDynamicObject(19366, 1677.24243, -1569.30408, 12.67790, 0.00000, 0.00000, 90.00000);
- CreateDynamicObject(19366, 1680.45300, -1569.30408, 12.67790, 0.00000, 0.00000, 90.00000);
- CreateDynamicObject(19366, 1683.66345, -1569.30408, 12.67790, 0.00000, 0.00000, 90.00000);
- CreateDynamicObject(19366, 1691.69299, -1569.30408, 12.67790, 0.00000, 0.00000, 90.00000);
- CreateDynamicObject(19366, 1694.90295, -1569.30408, 12.67790, 0.00000, 0.00000, 90.00000);
- CreateDynamicObject(19366, 1691.69299, -1569.30408, 12.67790, 0.00000, 0.00000, 90.00000);
- CreateDynamicObject(19366, 1690.78955, -1569.30615, 12.67590, 0.00000, 0.00000, 90.00000);
- CreateDynamicObject(19366, 1689.27185, -1569.72705, 12.07350, 34.50000, 0.00000, 0.00000);
- //============================================================================//
- return 1;
- }
- public OnGameModeExit()
- {
- TextDrawHideForAll(Textdraw0);
- TextDrawHideForAll(Textdraw1);
- return 1;
- }
- public OnPlayerRequestClass(playerid, classid)
- {
- SetSpawnInfo(playerid, 0, 0, 1228.31018, -1347.65271, 13.68364, 0,0, 0, 0, 0, 0,0);// Tu stavis koridate od 1228 do 8364
- SpawnPlayer(playerid);
- return 1;
- }
- public OnPlayerConnect(playerid)
- {
- TextDrawShowForPlayer(playerid, Textdraw0);
- TextDrawShowForPlayer(playerid, Textdraw1);
- //============================================================================// obirsani objekti tu
- //====================//Kupovina: Farbe,spreja,stiropora,dinamika//===========//
- //============================================================================//
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement