Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*
- PARTY PLACE BY MUHD_FITRI a.k.a Guest123
- //== No Bugs ==//
- */
- #include <a_samp>
- ///colours//
- #define COLOR_BRIGHTRED 0xE60000FF
- #define COLOR_GREY 0xAFAFAFAA
- #define COLOR_GREEN 0x33AA33AA
- #define COLOR_RED 0xAA3333AA
- #define COLOR_YELLOW 0xFFFF00AA
- #define COLOR_WHITE 0xFFFFFFAA
- #define COLOR_PURPLE 0x9900FFAA
- #define COLOR_BROWN 0x993300AA
- #define COLOR_ORANGE 0xFF9933AA
- #define COLOUR_PINK 0xFF00FFFF
- #define COLOUR_PURPLE 0x800080FF
- #define COLOUR_BLACK 0x000000FF
- #define COLOR_CYAN 0x99FFFFAA
- #define COLOR_TAN 0xFFFFCCAA
- #define COLOR_PINK 0xFF66FFAA
- #define COLOR_KHAKI 0x999900AA
- #define COLOR_LIME 0x99FF00AA
- #define COLOR_BLACK 0x000000AA
- #define COLOR_TURQ 0x00A3C0AA
- #define COLOR_LIGHTBLUE 0x33CCFFAA
- #define COLOR_DARKRED 0xAA993333
- #define COLOR_VIOLET 0x9955DEEE
- #define NICE_BLUE 0xa0d3ffAA
- #define GREEN 0x21DD00FF
- #define RED 0xE60000FF
- #define ADMIN_RED 0xFB0000FF
- #define YELLOW 0xFFFF00FF
- #define ORANGE 0xF97804FF
- #define LIGHTRED 0xFF8080FF
- #define LIGHTBLUE 0x00C2ECFF
- #define PURPLE 0xB360FDFF
- #define PLAYER_COLOR 0xFFFFFFFF
- #define BLUE 0x1229FAFF
- #define LIGHTGREEN 0x38FF06FF
- #define DARKPINK 0xE100E1FF
- #define DARKGREEN 0x008040FF
- #define ANNOUNCEMENT 0x00CACAFB
- #define COLOR_SYSTEM 0xEFEFF7AA
- #define NICESKY 0x99FFFFAA
- #define GRAY 0xCECECEFF
- #define red 0xE60000FF
- #define yellow 0xFFFF00FF
- #define COLOR_ANTIHAX 0xE60000FF
- #define COLOR_LIGHTBLUE 0x33CCFFAA
- #define COLOR_RED 0xAA3333AA
- #define COLOR_GREY 0xAFAFAFAA
- #define COLOR_YELLOW 0xFFFF00AA
- #define COLOR_PINK 0xFF66FFAA
- #define COLOR_BLUE 0x0000BBAA
- #define COLOR_WHITE 0xFFFFFFAA
- #define COLOR_INDIGO 0x4B00B0AA
- #define COLOR_VIOLET 0x9955DEEE
- #define COLOR_LIGHTRED 0xFF99AADD
- #define COLOR_SEAGREEN 0x00EEADDF
- #define COLOR_GRAYWHITE 0xEEEEFFC4
- #define COLOR_LIGHTNEUTRALBLUE 0xabcdef66
- #define COLOR_GREENISHGOLD 0xCCFFDD56
- #define COLOR_LIGHTBLUEGREEN 0x0FFDD349
- #define COLOR_NEUTRALBLUE 0xABCDEF01
- #define COLOR_LIGHTCYAN 0xAAFFCC33
- #define COLOR_LEMON 0xDDDD2357
- #define COLOR_MEDIUMBLUE 0x63AFF00A
- #define COLOR_NEUTRAL 0xABCDEF97
- #define COLOR_NEUTRALGREEN 0x81CFAB00
- #define COLOR_DARKGREEN 0x12900BBF
- #define COLOR_DARKBLUE 0x300FFAAB
- #define COLOR_BLUEGREEN 0x46BBAA00
- #define COLOR_PINK 0xFF66FFAA
- #define COLOR_LIGHTBLUE 0x33CCFFAA
- #define COLOR_GRAD1 0xB4B5B7FF
- #define COLOR_GRAD2 0xBFC0C2FF
- #define COLOR_GREY 0xAFAFAFAA
- #define COLOR_GREEN 0x33AA33AA
- #define COLOR_RED 0xAA3333AA
- #define COLOR_YELLOW 0xFFFF00AA
- #define COLOR_WHITE 0xFFFFFFAA
- #define COLOR_BROWN 0x993300AA
- #define COLOR_CYAN 0x99FFFFAA
- #define COLOR_TAN 0xFFFFCCAA
- #define COLOR_PINK 0xFF66FFAA
- #define COLOR_KHAKI 0x999900AA
- #define COLOR_LIME 0x99FF00AA
- #define COLOR_SYSTEM 0xEFEFF7AA
- #define COLOR_GRAD2 0xBFC0C2FF
- #define COLOR_GRAD4 0xD8D8D8FF
- #define COLOR_GRAD6 0xF0F0F0FF
- #define COLOR_GRAD2 0xBFC0C2FF
- #define COLOR_GRAD3 0xCBCCCEFF
- #define COLOR_GRAD5 0xE3E3E3FF
- #define COLOR_GRAD1 0xB4B5B7FF
- #define COLOR_GILE 0x924161FF
- // ADDED 6-2-2012 Embed 0.3c
- #define COL_EASY "{FFF1AF}"
- #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 "{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}"
- public OnFilterScriptInit()
- {
- print("\n--------------------------------------");
- print(" PARTY PLACE BY MUHD_FITRI a.k.a Guest123 Loaded v0.1");
- print("--------------------------------------\n");
- // Party Object//
- CreateObject(19129, 2530.183349, 1593.176757, 9.920310, 0.000000, 0.000000, 0.000000);
- CreateObject(2784, 2528.981933, 1599.467651, 11.490623, 0.000000, 0.000000, 0.000000);
- CreateObject(6865, 2529.206542, 1600.912231, 13.990623, 0.000000, 0.000000, 40.000000);
- CreateObject(3461, 2527.296875, 1601.308837, 18.334257, 0.000000, 0.000000, 0.000000);
- CreateObject(3461, 2530.896728, 1601.308837, 18.334257, 0.000000, 0.000000, 0.000000);
- CreateObject(625, 2522.692626, 1585.382934, 10.990623, 0.000000, 0.000000, 0.000000);
- CreateObject(625, 2541.206054, 1585.437255, 10.990623, 0.000000, 0.000000, 0.000000);
- CreateObject(3498, 2542.185058, 1593.903076, 10.820312, 0.000000, 0.000000, 0.000000);
- CreateObject(3498, 2542.185058, 1593.903076, 19.820312, 0.000000, 0.000000, 0.000000);
- CreateObject(3498, 2542.185058, 1588.903076, 19.820312, 0.000000, 0.000000, 0.000000);
- CreateObject(3498, 2542.185058, 1588.903076, 10.820312, 0.000000, 0.000000, 0.000000);
- CreateObject(16151, 2528.348388, 1586.507446, 10.490623, 0.000000, 0.000000, -90.000000);
- CreateObject(1515, 2539.520751, 1597.048461, 9.990623, 0.000000, 0.000000, -90.000000);
- CreateObject(1515, 2539.520751, 1598.048461, 9.990623, 0.000000, 0.000000, -90.000000);
- CreateObject(1515, 2539.520751, 1596.048461, 9.990623, 0.000000, 0.000000, -90.000000);
- new Glob213 = CreateObject(9190, 2542.238281, 1590.813354, 24.354778, 0.000000, 0.000000, -90.000000);
- new Glob124 = CreateObject(9190, 2542.238281, 1590.813354, 24.354778, 0.000000, 0.000000, 90.000000);
- SetObjectMaterialText(Glob213, "Welcome {C3C3C3}To Party {0049FF} Place", 0, OBJECT_MATERIAL_SIZE_256x128,"Arial", 19, 0, 0xFFFF8200, 0xFF000000, OBJECT_MATERIAL_TEXT_ALIGN_CENTER);
- SetObjectMaterialText(Glob124, "Welcome {C3C3C3}To Party {0049FF} Place", 0, OBJECT_MATERIAL_SIZE_256x128,"Arial", 19, 0, 0xFFFF8200, 0xFF000000, OBJECT_MATERIAL_TEXT_ALIGN_CENTER);
- return 1;
- //end of object
- //=== NO WEAPONS ALLOWED AT PARTY ===//
- //==Y(^_^)Y Peace==//
- }
- public OnPlayerUpdate(playerid)
- {
- if(IsPlayerInRangeOfPoint(playerid, 15.0 ,2530.183349, 1593.176757, 9.920310))
- {
- ResetPlayerWeapons(playerid);
- //No Died On Party//
- SetPlayerHealth(playerid,100);
- SetPlayerArmour(playerid,100);
- return 1;
- }
- return 1;
- }
- public OnPlayerConnect(playerid)
- {
- SendClientMessage(playerid, COLOR_RED, "This Server Are Using Party Place System Use /partyplace");
- return 1;
- }
- public OnPlayerCommandText(playerid, cmdtext[])
- {
- if(!strcmp(cmdtext, "/partyplace", true, 10))
- {
- new str[128];
- GetPlayerName(playerid, str, sizeof(str));
- format(str, sizeof(str), "* %s{C0C0C0} has used {FF8000} /partyplace", str);
- SetPlayerPos(playerid,2530.183349, 1593.176757, 9.920310 +2);
- SendClientMessageToAll(0xFFFF00AA, str);
- return 1;
- }
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement