Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //This Filterscript is scripted by : Mark_Samp
- //This is Tuxedo Filterscript
- //Do Not Re-Release This Script Without My Permission.
- //DO Not Claim This Script As Your Own.
- //Do Not Sell This Script.
- //Don't Remove The Credits.
- //This Script Is Made From Scratch.
- //Version 1.0
- //********************************
- //&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&
- //* Tuxedo Suit *
- //&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&
- //********************************
- //Filterscript Define
- #define FILTERSCRIPT
- // Include files
- #include <a_samp>
- #include <streamer>
- #include <zcmd>
- #include <sscanf>
- #include <YSI\y_ini>
- //==============================================================================
- //Defines
- #define SUIT 1000
- #define TDialog 2000
- #define WDialog 3000
- #define UDialog 4000
- //News
- new Tuxedo[MAX_PLAYERS];
- new God[MAX_PLAYERS];
- new Kangaroo[MAX_PLAYERS];
- new Flash[MAX_PLAYERS];
- new Armored[MAX_PLAYERS];
- new Invisible[MAX_PLAYERS];
- //==============================================================================
- //Color Defines
- #define COLOR_RED 0xAA3333AA
- #define COLOR_YELLOW 0xFFFF00AA
- #define COLOR_PURPLE 0xC2A2DAAA
- #define COLOR_BLUE 0x2641FEAA
- #define COLOR_GREY 0xAFAFAFAA
- #define COLOR_CYAN 0x1DBCEBFF
- #define COLOR_GREEN 0x008000AA
- #define COLOR_ORANGE 0xFF8000FF
- //==============================================================================
- //Filterscript Start
- public OnFilterScriptInit()
- {
- print("\n-----------------------------------------");
- print(" Tuxedo FilterScript Loaded! ");
- print("-------------------------------------------\n");
- return 1;
- }
- //Filterscript Exit
- public OnFilterScriptExit()
- {
- print("\n-----------------------------------------");
- print(" Tuxedo FilterScript UnLoaded! ");
- print("-------------------------------------------\n");
- return 1;
- }
- //==============================================================================
- public OnPlayerConnect(playerid)
- {
- Tuxedo[playerid] = 0;
- God[playerid] = 0;
- Kangaroo[playerid] = 0;
- Flash[playerid] = 0;
- Armored[playerid] = 0;
- Invisible[playerid] = 0;
- return 1;
- }
- public OnPlayerDisconnect(playerid, reason)
- {
- Tuxedo[playerid] = 0;
- God[playerid] = 0;
- Kangaroo[playerid] = 0;
- Flash[playerid] = 0;
- Armored[playerid] = 0;
- Invisible[playerid] = 0;
- return 1;
- }
- //==============================================================================
- stock PlayerName(playerid)
- {
- new name[MAX_PLAYER_NAME];
- GetPlayerName(playerid, name, sizeof(name));
- return name;
- }
- //==========================RCON ADMIN COMMAND==================================
- CMD:maketuxedo(playerid, params[])
- {
- if(IsPlayerAdmin(playerid))
- {
- new string[125],player1;
- if(sscanf(params,"dd",player1)) return SendClientMessage(playerid, COLOR_GREY,"[USAGE]: /maketuxedo ( playerid )");
- if(!IsPlayerConnected(playerid) && player1 != INVALID_PLAYER_ID)
- {
- SendClientMessage(playerid, COLOR_GREY,"{F50505}[ERROR]: {5A6A6E}Player is not connected");
- }
- else
- {
- format(string, sizeof(string),"{0D0DD6}Administrator {13D61A}'%s' {0D0DD6}has given you the {F50505}Tuxedo Suit!!", PlayerName(playerid));
- SendClientMessage(player1, COLOR_PURPLE, string);
- PlayerPlaySound(player1,1057,0.0,0.0,0.0);
- Tuxedo[playerid] = 1;
- }
- }
- else return SendClientMessage(playerid, COLOR_GREY,"{F50505}[ERROR]: {0D0DD6}You need to be RCON admin to use this command");
- return 1;
- }
- CMD:taketuxedo(playerid, params[])
- {
- if(IsPlayerAdmin(playerid))
- {
- new string[125],player1;
- if(sscanf(params,"dd",player1)) return SendClientMessage(playerid, COLOR_GREY,"[USAGE]: /taketuxedo ( playerid )");
- if(!IsPlayerConnected(playerid) && player1 != INVALID_PLAYER_ID)
- {
- SendClientMessage(playerid, COLOR_GREY,"{F50505}[ERROR]: {5A6A6E}Player is not connected");
- }
- else
- {
- format(string, sizeof(string),"{0D0DD6}Administrator {13D61A}'%s' {0D0DD6}has taken from you the {F50505}Tuxedo Suit!!", PlayerName(playerid));
- SendClientMessage(player1, COLOR_RED, string);
- PlayerPlaySound(player1,1057,0.0,0.0,0.0);
- Tuxedo[playerid] = 0;
- }
- }
- else return SendClientMessage(playerid, COLOR_GREY,"{F50505}[ERROR]: {0D0DD6}You need to be RCON admin to use this command");
- return 1;
- }
- //==============================================================================
- CMD:tuxedo(playerid, params[])
- {
- if(Tuxedo[playerid] == 1)
- {
- ShowPlayerDialog(playerid, SUIT, DIALOG_STYLE_LIST, "Tuxedo Suit", "UnStoppable\nKangaroo\nFlash\nTeleporter\nArmory\nInvisibilty\nStorm\nUniform\n", "Choose", "Choose");
- ApplyAnimation(playerid,"COP_AMBIENT","Coplook_watch",4.1,0,0,0,0,0);
- }
- else return SendClientMessage(playerid, COLOR_GREY, "You don't own any Tuxedo Suit");
- return 1;
- }
- //==========================Kangaroo============================================
- public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
- {
- if(Kangaroo[playerid] == 1)
- {
- if(newkeys == KEY_JUMP)
- {
- new Float:MJump[3];
- GetPlayerVelocity(playerid, MJump[0], MJump[1], MJump[2]);
- SetPlayerVelocity(playerid, MJump[0], MJump[1], MJump[2]+5);
- PlayerPlaySound(playerid, 1190, 0.0, 0.0, 0.0);
- }
- }
- if(Flash[playerid] == 1)
- {
- if (newkeys == KEY_SPRINT)
- {
- new Float:pAng;
- new Float:X, Float:Y, Float:Z;
- GetPlayerFacingAngle(playerid, pAng);
- GetPlayerVelocity(playerid, X, Y, Z);
- SetPlayerVelocity(playerid, floatsin(-pAng, degrees) * 1.6, floatcos(pAng, degrees) * 1.6 , (Z*2)+0.03);
- }
- }
- return 1;
- }
- //==============================================================================
- public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
- {
- if(dialogid == SUIT)
- {
- switch(listitem)
- {
- case 0:
- {
- if(God[playerid] == 0)
- {
- God[playerid] = 1;
- SetPlayerHealth(playerid,100000);
- SetPlayerArmour(playerid,100000);
- SendClientMessage(playerid, COLOR_ORANGE, "{FA0A0A}Tuxedo:{D2F50C}UnStoppable Mode {0AF71E}Enabled");
- ApplyAnimation(playerid,"SWEET","ho_ass_slapped",4.0,0,0,0,0,0);
- }
- else
- {
- God[playerid] = 0;
- SetPlayerHealth(playerid,100);
- SetPlayerArmour(playerid,100);
- SendClientMessage(playerid, COLOR_ORANGE, "{FA0A0A}Tuxedo:{D2F50C}UnStoppable Mode {F00E0E}Disabled");
- ApplyAnimation(playerid,"SWEET","ho_ass_slapped",4.0,0,0,0,0,0);
- }
- }
- case 1:
- {
- if(Kangaroo[playerid] == 0)
- {
- Kangaroo[playerid] = 1;
- SendClientMessage(playerid, COLOR_ORANGE, "{FA0A0A}Tuxedo:{D2F50C}Kangaroo Mode {0AF71E}Enabled");
- ApplyAnimation(playerid,"SWEET","ho_ass_slapped",4.0,0,0,0,0,0);
- }
- else
- {
- Kangaroo[playerid] = 0;
- SendClientMessage(playerid, COLOR_ORANGE, "{FA0A0A}Tuxedo:{D2F50C}Kangaroo Mode {F00E0E}Disabled");
- ApplyAnimation(playerid,"SWEET","ho_ass_slapped",4.0,0,0,0,0,0);
- }
- }
- case 2:
- {
- if(Flash[playerid] == 0)
- {
- Flash[playerid] = 1;
- SendClientMessage(playerid, COLOR_ORANGE, "{FA0A0A}Tuxedo:{D2F50C}Flash Mode {0AF71E}Enabled");
- ApplyAnimation(playerid,"SWEET","ho_ass_slapped",4.0,0,0,0,0,0);
- PlayerPlaySound(playerid, 1057, 0.0, 0.0, 0.0);
- }
- else
- {
- Flash[playerid] = 0;
- SendClientMessage(playerid, COLOR_ORANGE, "{FA0A0A}Tuxedo:{D2F50C}Flash Mode {F00E0E}Disabled");
- ApplyAnimation(playerid,"SWEET","ho_ass_slapped",4.0,0,0,0,0,0);
- PlayerPlaySound(playerid, 1143, 0.0, 0.0, 0.0);
- }
- }
- case 3:
- {
- if(Tuxedo[playerid] == 1)
- {
- ShowPlayerDialog(playerid, TDialog, DIALOG_STYLE_LIST, "Tuxedo Teleport", "{3EFA0A}Los Santos\n{3EFA0A}Bank\n{3EFA0A}Airport\n{3EFA0A}Skate\n{3EFA0A}Jefferson\n{3EFA0A}Ganton\n{3EFA0A}Staduim\n", "Choose", "Cancel");
- }
- }
- case 4:
- {
- if(Armored[playerid] == 0)
- {
- Armored[playerid] = 1;
- SendClientMessage(playerid, COLOR_ORANGE, "{FA0A0A}Tuxedo:{D2F50C}Armory Mode {0AF71E}Enabled");
- ApplyAnimation(playerid,"SWEET","ho_ass_slapped",4.0,0,0,0,0,0);
- PlayerPlaySound(playerid, 1054, 0.0, 0.0, 0.0);
- GivePlayerWeapon(playerid,8,60000);
- GivePlayerWeapon(playerid,24,60000);
- GivePlayerWeapon(playerid,27,60000);
- GivePlayerWeapon(playerid,31,60000);
- GivePlayerWeapon(playerid,34,60000);
- GivePlayerWeapon(playerid,39,60000);
- GivePlayerWeapon(playerid,41,60000);
- GivePlayerWeapon(playerid,44,60000);
- GivePlayerWeapon(playerid,46,60000);
- }
- else
- {
- Armored[playerid] = 0;
- ResetPlayerWeapons(playerid);
- SendClientMessage(playerid, COLOR_ORANGE, "{FA0A0A}Tuxedo:{D2F50C}Flash Mode {F00E0E}Disabled");
- ApplyAnimation(playerid,"SWEET","ho_ass_slapped",4.0,0,0,0,0,0);
- PlayerPlaySound(playerid, 1055, 0.0, 0.0, 0.0);
- }
- }
- case 5:
- {
- if(IsPlayerInAnyVehicle(playerid) || GetPlayerState(playerid) == PLAYER_STATE_DRIVER)
- {
- if(Invisible[playerid] == 0)
- {
- new int1 = GetPlayerInterior(playerid);
- Invisible[playerid] = 1;
- LinkVehicleToInterior(GetPlayerVehicleID(playerid),int1+1);
- SendClientMessage(playerid, COLOR_ORANGE, "{FA0A0A}Tuxedo:{D2F50C}Invisibilty Mode {0AF71E}Enabled");
- PlayerPlaySound(playerid, 1133, 0.0, 0.0, 0.0);
- }
- else
- {
- new int1 = GetPlayerInterior(playerid);
- Invisible[playerid] = 0;
- LinkVehicleToInterior(GetPlayerVehicleID(playerid),int1);
- SendClientMessage(playerid, COLOR_ORANGE, "{FA0A0A}Tuxedo:{D2F50C}Invisibilty Mode {F00E0E}Disabled");
- PlayerPlaySound(playerid, 1147, 0.0, 0.0, 0.0);
- }
- }
- }
- case 6:
- {
- if(Tuxedo[playerid] == 1)
- {
- ShowPlayerDialog(playerid, WDialog, DIALOG_STYLE_LIST, "Tuxedo Weather", "Sunny\nCloudy\nRainy\nFoggy\nSandStorm\nGreenish\n", "Choose", "Choose");
- }
- }
- case 7:
- {
- if(Tuxedo[playerid] == 1)
- {
- ShowPlayerDialog(playerid, UDialog, DIALOG_STYLE_LIST, "Tuxedo Uniform", "Tuxedo Suit \nTuxedo Suit 2\nTuxedo Suit 3\nTuxedo Suit 4\nTuxedo Suit 5\nTuxedo Girl\n", "Choose", "Cancel");
- }
- }
- }
- }
- if(dialogid == WDialog)
- {
- switch(listitem)
- {
- case 0:
- {
- SendClientMessage(playerid, COLOR_ORANGE, "{FA0A0A}Tuxedo:{3412DE}Weather is now Sunny Sir.");
- SetPlayerWeather(playerid, 1);
- }
- case 1:
- {
- SendClientMessage(playerid, COLOR_ORANGE, "{FA0A0A}}Tuxedo:{3412DE}Weather is now Cloudy Sir.");
- SetPlayerWeather(playerid, 4);
- }
- case 2:
- {
- SendClientMessage(playerid, COLOR_ORANGE, "{FA0A0A}Tuxedo:{3412DE}Weather is now Rainy Sir.");
- SetPlayerWeather(playerid, 8);
- }
- case 3:
- {
- SendClientMessage(playerid, COLOR_ORANGE, "{FA0A0A}Tuxedo:{3412DE}Weather is now Foggy Sir.");
- SetPlayerWeather(playerid, 9);
- }
- case 4:
- {
- SendClientMessage(playerid, COLOR_ORANGE, "{FA0A0A}Tuxedo:{3412DE}Weather is now SandStorm Sir.");
- SetPlayerWeather(playerid, 19);
- }
- case 5:
- {
- SendClientMessage(playerid, COLOR_ORANGE, "{FA0A0A}Tuxedo:{3412DE}Weather is now Greenish Sir.");
- SetPlayerWeather(playerid, 20);
- }
- }
- }
- if(dialogid == TDialog)
- {
- switch(listitem)
- {
- case 0:
- {
- SetPlayerPos(playerid, 1607.6703,-1721.9176,13.5469);
- SendClientMessage(playerid, COLOR_ORANGE, "{FA0A0A}Tuxedo:{3412DE}You have been teleported to {21F505}Los Santos Sir.");
- }
- case 1:
- {
- SetPlayerPos(playerid, 1442.8214,-1027.5615,23.8281);
- SendClientMessage(playerid, COLOR_ORANGE, "{FA0A0A}Tuxedo:{3412DE}You have been teleported to {21F505}Bank Sir.");
- }
- case 2:
- {
- SetPlayerPos(playerid, 1962.0656,-2173.3665,13.4496);
- SendClientMessage(playerid, COLOR_ORANGE, "{FA0A0A}Tuxedo:{3412DE}You have been teleported to {21F505}Los Santos Airport Sir.");
- }
- case 3:
- {
- SetPlayerPos(playerid, 1879.9102,-1392.4220,13.5703);
- SendClientMessage(playerid, COLOR_ORANGE, "{FA0A0A}Tuxedo:{3412DE}You have been teleported to {21F505}Skate Sir.");
- }
- case 4:
- {
- SetPlayerPos(playerid, 2220.4182,-1144.1377,25.8002);
- SendClientMessage(playerid, COLOR_ORANGE, "{FA0A0A}Tuxedo:{3412DE}You have been teleported to {21F505}Jefferson Sir.");
- }
- case 5:
- {
- SetPlayerPos(playerid, 2223.5178,-1725.3273,13.5625);
- SendClientMessage(playerid, COLOR_ORANGE, "{FA0A0A}Tuxedo:{3412DE}You have been teleported to {21F505}Ganton Sir.");
- }
- case 6:
- {
- SetPlayerPos(playerid, 2685.4214,-1690.5787,9.4332);
- SendClientMessage(playerid, COLOR_ORANGE, "{FA0A0A}Tuxedo:{3412DE}You have been teleported to {21F505}Staduim Sir.");
- }
- }
- }
- if(dialogid == UDialog)
- {
- switch(listitem)
- {
- case 0:
- {
- SetPlayerSkin(playerid, 163);
- SendClientMessage(playerid, COLOR_ORANGE, "{FA0A0A}Tuxedo:{F5B507}You have changed your Suit.");
- }
- case 1:
- {
- SetPlayerSkin(playerid, 164);
- SendClientMessage(playerid, COLOR_ORANGE, "{FA0A0A}Tuxedo:{F5B507}You have changed your Suit.");
- }
- case 2:
- {
- SetPlayerSkin(playerid, 165);
- SendClientMessage(playerid, COLOR_ORANGE, "{FA0A0A}Tuxedo:{F5B507}You have changed your Suit.");
- }
- case 3:
- {
- SetPlayerSkin(playerid, 166);
- SendClientMessage(playerid, COLOR_ORANGE, "{FA0A0A}Tuxedo:{F5B507}You have changed your Suit.");
- }
- case 4:
- {
- SetPlayerSkin(playerid, 171);
- SendClientMessage(playerid, COLOR_ORANGE, "{FA0A0A}Tuxedo:{F5B507}You have changed your Suit.");
- }
- case 5:
- {
- SetPlayerSkin(playerid, 172);
- SendClientMessage(playerid, COLOR_ORANGE, "{FA0A0A}Tuxedo:{F5B507}You have changed your Suit.");
- }
- }
- }
- return 0;
- }
- //This Filterscript is scripted by : Mark_Samp
- //This is Tuxedo Filterscript
- //Do Not Re-Release This Script Without My Permission.
- //DO Not Claim This Script As Your Own.
- //Do Not Sell This Script.
- //Don't Remove The Credits.
- //This Script Is Made From Scratch.
- //Version 1.0
- //********************************
- //&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&
- //* Tuxedo Suit *
- //&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&
- //********************************
- //Filterscript Define
- #define FILTERSCRIPT
- // Include files
- #include <a_samp>
- #include <streamer>
- #include <zcmd>
- #include <sscanf>
- #include <YSI\y_ini>
- //==============================================================================
- //Defines
- #define SUIT 1000
- #define TDialog 2000
- #define WDialog 3000
- #define UDialog 4000
- //News
- new Tuxedo[MAX_PLAYERS];
- new God[MAX_PLAYERS];
- new Kangaroo[MAX_PLAYERS];
- new Flash[MAX_PLAYERS];
- new Armored[MAX_PLAYERS];
- new Invisible[MAX_PLAYERS];
- //==============================================================================
- //Color Defines
- #define COLOR_RED 0xAA3333AA
- #define COLOR_YELLOW 0xFFFF00AA
- #define COLOR_PURPLE 0xC2A2DAAA
- #define COLOR_BLUE 0x2641FEAA
- #define COLOR_GREY 0xAFAFAFAA
- #define COLOR_CYAN 0x1DBCEBFF
- #define COLOR_GREEN 0x008000AA
- #define COLOR_ORANGE 0xFF8000FF
- //==============================================================================
- //Filterscript Start
- public OnFilterScriptInit()
- {
- print("\n-----------------------------------------");
- print(" Tuxedo FilterScript Loaded! ");
- print("-------------------------------------------\n");
- return 1;
- }
- //Filterscript Exit
- public OnFilterScriptExit()
- {
- print("\n-----------------------------------------");
- print(" Tuxedo FilterScript UnLoaded! ");
- print("-------------------------------------------\n");
- return 1;
- }
- //==============================================================================
- public OnPlayerConnect(playerid)
- {
- Tuxedo[playerid] = 0;
- God[playerid] = 0;
- Kangaroo[playerid] = 0;
- Flash[playerid] = 0;
- Armored[playerid] = 0;
- Invisible[playerid] = 0;
- return 1;
- }
- public OnPlayerDisconnect(playerid, reason)
- {
- Tuxedo[playerid] = 0;
- God[playerid] = 0;
- Kangaroo[playerid] = 0;
- Flash[playerid] = 0;
- Armored[playerid] = 0;
- Invisible[playerid] = 0;
- return 1;
- }
- //==============================================================================
- stock PlayerName(playerid)
- {
- new name[MAX_PLAYER_NAME];
- GetPlayerName(playerid, name, sizeof(name));
- return name;
- }
- //==========================RCON ADMIN COMMAND==================================
- CMD:maketuxedo(playerid, params[])
- {
- if(IsPlayerAdmin(playerid))
- {
- new string[125],player1;
- if(sscanf(params,"dd",player1)) return SendClientMessage(playerid, COLOR_GREY,"[USAGE]: /maketuxedo ( playerid )");
- if(!IsPlayerConnected(playerid) && player1 != INVALID_PLAYER_ID)
- {
- SendClientMessage(playerid, COLOR_GREY,"{F50505}[ERROR]: {5A6A6E}Player is not connected");
- }
- else
- {
- format(string, sizeof(string),"{0D0DD6}Administrator {13D61A}'%s' {0D0DD6}has given you the {F50505}Tuxedo Suit!!", PlayerName(playerid));
- SendClientMessage(player1, COLOR_PURPLE, string);
- PlayerPlaySound(player1,1057,0.0,0.0,0.0);
- Tuxedo[playerid] = 1;
- }
- }
- else return SendClientMessage(playerid, COLOR_GREY,"F50505}[ERROR]: {0D0DD6}You need to be RCON admin to use this command");
- return 1;
- }
- CMD:taketuxedo(playerid, params[])
- {
- if(IsPlayerAdmin(playerid))
- {
- new string[125],player1;
- if(sscanf(params,"dd",player1)) return SendClientMessage(playerid, COLOR_GREY,"[USAGE]: /taketuxedo ( playerid )");
- if(!IsPlayerConnected(playerid) && player1 != INVALID_PLAYER_ID)
- {
- SendClientMessage(playerid, COLOR_GREY,"{F50505}[ERROR]: {5A6A6E}Player is not connected");
- }
- else
- {
- format(string, sizeof(string),"{0D0DD6}Administrator {13D61A}'%s' {0D0DD6}has taken from you the {F50505}Tuxedo Suit!!", PlayerName(playerid));
- SendClientMessage(player1, COLOR_RED, string);
- PlayerPlaySound(player1,1057,0.0,0.0,0.0);
- Tuxedo[playerid] = 0;
- }
- }
- else return SendClientMessage(playerid, COLOR_GREY,"F50505}[ERROR]: {0D0DD6}You need to be RCON admin to use this command");
- return 1;
- }
- //==============================================================================
- CMD:tuxedo(playerid, params[])
- {
- if(Tuxedo[playerid] == 1)
- {
- ShowPlayerDialog(playerid, SUIT, DIALOG_STYLE_LIST, "Tuxedo Suit", "UnStoppable\nKangaroo\nFlash\nTeleporter\nArmory\nInvisibilty\nStorm\nUniform\n", "Choose", "Choose");
- ApplyAnimation(playerid,"COP_AMBIENT","Coplook_watch",4.1,0,0,0,0,0);
- }
- else return SendClientMessage(playerid, COLOR_GREY, "You don't own any Tuxedo Suit");
- return 1;
- }
- //==========================Kangaroo============================================
- public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
- {
- if(Kangaroo[playerid] == 1)
- {
- if(newkeys == KEY_JUMP)
- {
- new Float:MJump[3];
- GetPlayerVelocity(playerid, MJump[0], MJump[1], MJump[2]);
- SetPlayerVelocity(playerid, MJump[0], MJump[1], MJump[2]+5);
- PlayerPlaySound(playerid, 1190, 0.0, 0.0, 0.0);
- }
- }
- if(Flash[playerid] == 1)
- {
- if (newkeys == KEY_SPRINT)
- {
- new Float:pAng;
- new Float:X, Float:Y, Float:Z;
- GetPlayerFacingAngle(playerid, pAng);
- GetPlayerVelocity(playerid, X, Y, Z);
- SetPlayerVelocity(playerid, floatsin(-pAng, degrees) * 1.6, floatcos(pAng, degrees) * 1.6 , (Z*2)+0.03);
- }
- }
- return 1;
- }
- //==============================================================================
- public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
- {
- if(dialogid == SUIT)
- {
- switch(listitem)
- {
- case 0:
- {
- if(God[playerid] == 0)
- {
- God[playerid] = 1;
- SetPlayerHealth(playerid,100000);
- SetPlayerArmour(playerid,100000);
- SendClientMessage(playerid, COLOR_ORANGE, "{FA0A0A}Tuxedo:{D2F50C}UnStoppable Mode {0AF71E}Enabled");
- ApplyAnimation(playerid,"SWEET","ho_ass_slapped",4.0,0,0,0,0,0);
- }
- else
- {
- God[playerid] = 0;
- SetPlayerHealth(playerid,100);
- SetPlayerArmour(playerid,100);
- SendClientMessage(playerid, COLOR_ORANGE, "{FA0A0A}Tuxedo:{D2F50C}UnStoppable Mode {F00E0E}Disabled");
- ApplyAnimation(playerid,"SWEET","ho_ass_slapped",4.0,0,0,0,0,0);
- }
- }
- case 1:
- {
- if(Kangaroo[playerid] == 0)
- {
- Kangaroo[playerid] = 1;
- SendClientMessage(playerid, COLOR_ORANGE, "{FA0A0A}Tuxedo:{D2F50C}Kangaroo Mode {0AF71E}Enabled");
- ApplyAnimation(playerid,"SWEET","ho_ass_slapped",4.0,0,0,0,0,0);
- }
- else
- {
- Kangaroo[playerid] = 0;
- SendClientMessage(playerid, COLOR_ORANGE, "{FA0A0A}Tuxedo:{D2F50C}Kangaroo Mode {F00E0E}Disabled");
- ApplyAnimation(playerid,"SWEET","ho_ass_slapped",4.0,0,0,0,0,0);
- }
- }
- case 2:
- {
- if(Flash[playerid] == 0)
- {
- Flash[playerid] = 1;
- SendClientMessage(playerid, COLOR_ORANGE, "{FA0A0A}Tuxedo:{D2F50C}Flash Mode {0AF71E}Enabled");
- ApplyAnimation(playerid,"SWEET","ho_ass_slapped",4.0,0,0,0,0,0);
- PlayerPlaySound(playerid, 1057, 0.0, 0.0, 0.0);
- }
- else
- {
- Flash[playerid] = 0;
- SendClientMessage(playerid, COLOR_ORANGE, "{FA0A0A}Tuxedo:{D2F50C}Flash Mode {F00E0E}Disabled");
- ApplyAnimation(playerid,"SWEET","ho_ass_slapped",4.0,0,0,0,0,0);
- PlayerPlaySound(playerid, 1143, 0.0, 0.0, 0.0);
- }
- }
- case 3:
- {
- if(Tuxedo[playerid] == 1)
- {
- ShowPlayerDialog(playerid, TDialog, DIALOG_STYLE_LIST, "Tuxedo Teleport", "{3EFA0A}Los Santos\n{3EFA0A}Bank\n{3EFA0A}Airport\n{3EFA0A}Skate\n{3EFA0A}Jefferson\n{3EFA0A}Ganton\n{3EFA0A}Staduim\n", "Choose", "Cancel");
- }
- }
- case 4:
- {
- if(Armored[playerid] == 0)
- {
- Armored[playerid] = 1;
- SendClientMessage(playerid, COLOR_ORANGE, "{FA0A0A}Tuxedo:{D2F50C}Armory Mode {0AF71E}Enabled");
- ApplyAnimation(playerid,"SWEET","ho_ass_slapped",4.0,0,0,0,0,0);
- PlayerPlaySound(playerid, 1054, 0.0, 0.0, 0.0);
- GivePlayerWeapon(playerid,8,60000);
- GivePlayerWeapon(playerid,24,60000);
- GivePlayerWeapon(playerid,27,60000);
- GivePlayerWeapon(playerid,31,60000);
- GivePlayerWeapon(playerid,34,60000);
- GivePlayerWeapon(playerid,39,60000);
- GivePlayerWeapon(playerid,41,60000);
- GivePlayerWeapon(playerid,44,60000);
- GivePlayerWeapon(playerid,46,60000);
- }
- else
- {
- Armored[playerid] = 0;
- ResetPlayerWeapons(playerid);
- SendClientMessage(playerid, COLOR_ORANGE, "{FA0A0A}Tuxedo:{D2F50C}Flash Mode {F00E0E}Disabled");
- ApplyAnimation(playerid,"SWEET","ho_ass_slapped",4.0,0,0,0,0,0);
- PlayerPlaySound(playerid, 1055, 0.0, 0.0, 0.0);
- }
- }
- case 5:
- {
- if(IsPlayerInAnyVehicle(playerid) || GetPlayerState(playerid) == PLAYER_STATE_DRIVER)
- {
- if(Invisible[playerid] == 0)
- {
- new int1 = GetPlayerInterior(playerid);
- Invisible[playerid] = 1;
- LinkVehicleToInterior(GetPlayerVehicleID(playerid),int1+1);
- SendClientMessage(playerid, COLOR_ORANGE, "{FA0A0A}Tuxedo:{D2F50C}Invisibilty Mode {0AF71E}Enabled");
- PlayerPlaySound(playerid, 1133, 0.0, 0.0, 0.0);
- }
- else
- {
- new int1 = GetPlayerInterior(playerid);
- Invisible[playerid] = 0;
- LinkVehicleToInterior(GetPlayerVehicleID(playerid),int1);
- SendClientMessage(playerid, COLOR_ORANGE, "{FA0A0A}Tuxedo:{D2F50C}Invisibilty Mode {F00E0E}Disabled");
- PlayerPlaySound(playerid, 1147, 0.0, 0.0, 0.0);
- }
- }
- }
- case 6:
- {
- if(Tuxedo[playerid] == 1)
- {
- ShowPlayerDialog(playerid, WDialog, DIALOG_STYLE_LIST, "Tuxedo Weather", "Sunny\nCloudy\nRainy\nFoggy\nSandStorm\nGreenish\n", "Choose", "Choose");
- }
- }
- case 7:
- {
- if(Tuxedo[playerid] == 1)
- {
- ShowPlayerDialog(playerid, UDialog, DIALOG_STYLE_LIST, "Tuxedo Uniform", "Tuxedo Suit \nTuxedo Suit 2\nTuxedo Suit 3\nTuxedo Suit 4\nTuxedo Suit 5\nTuxedo Girl\n", "Choose", "Cancel");
- }
- }
- }
- }
- if(dialogid == WDialog)
- {
- switch(listitem)
- {
- case 0:
- {
- SendClientMessage(playerid, COLOR_ORANGE, "{FA0A0A}Tuxedo:{3412DE}Weather is now Sunny Sir.");
- SetPlayerWeather(playerid, 1);
- }
- case 1:
- {
- SendClientMessage(playerid, COLOR_ORANGE, "{FA0A0A}}Tuxedo:{3412DE}Weather is now Cloudy Sir.");
- SetPlayerWeather(playerid, 4);
- }
- case 2:
- {
- SendClientMessage(playerid, COLOR_ORANGE, "{FA0A0A}Tuxedo:{3412DE}Weather is now Rainy Sir.");
- SetPlayerWeather(playerid, 8);
- }
- case 3:
- {
- SendClientMessage(playerid, COLOR_ORANGE, "{FA0A0A}Tuxedo:{3412DE}Weather is now Foggy Sir.");
- SetPlayerWeather(playerid, 9);
- }
- case 4:
- {
- SendClientMessage(playerid, COLOR_ORANGE, "{FA0A0A}Tuxedo:{3412DE}Weather is now SandStorm Sir.");
- SetPlayerWeather(playerid, 19);
- }
- case 5:
- {
- SendClientMessage(playerid, COLOR_ORANGE, "{FA0A0A}Tuxedo:{3412DE}Weather is now Greenish Sir.");
- SetPlayerWeather(playerid, 20);
- }
- }
- }
- if(dialogid == TDialog)
- {
- switch(listitem)
- {
- case 0:
- {
- SetPlayerPos(playerid, 1607.6703,-1721.9176,13.5469);
- SendClientMessage(playerid, COLOR_ORANGE, "{FA0A0A}Tuxedo:{3412DE}You have been teleported to {21F505}Los Santos Sir.");
- }
- case 1:
- {
- SetPlayerPos(playerid, 1442.8214,-1027.5615,23.8281);
- SendClientMessage(playerid, COLOR_ORANGE, "{FA0A0A}Tuxedo:{3412DE}You have been teleported to {21F505}Bank Sir.");
- }
- case 2:
- {
- SetPlayerPos(playerid, 1962.0656,-2173.3665,13.4496);
- SendClientMessage(playerid, COLOR_ORANGE, "{FA0A0A}Tuxedo:{3412DE}You have been teleported to {21F505}Los Santos Airport Sir.");
- }
- case 3:
- {
- SetPlayerPos(playerid, 1879.9102,-1392.4220,13.5703);
- SendClientMessage(playerid, COLOR_ORANGE, "{FA0A0A}Tuxedo:{3412DE}You have been teleported to {21F505}Skate Sir.");
- }
- case 4:
- {
- SetPlayerPos(playerid, 2220.4182,-1144.1377,25.8002);
- SendClientMessage(playerid, COLOR_ORANGE, "{FA0A0A}Tuxedo:{3412DE}You have been teleported to {21F505}Jefferson Sir.");
- }
- case 5:
- {
- SetPlayerPos(playerid, 2223.5178,-1725.3273,13.5625);
- SendClientMessage(playerid, COLOR_ORANGE, "{FA0A0A}Tuxedo:{3412DE}You have been teleported to {21F505}Ganton Sir.");
- }
- case 6:
- {
- SetPlayerPos(playerid, 2685.4214,-1690.5787,9.4332);
- SendClientMessage(playerid, COLOR_ORANGE, "{FA0A0A}Tuxedo:{3412DE}You have been teleported to {21F505}Staduim Sir.");
- }
- }
- }
- if(dialogid == UDialog)
- {
- switch(listitem)
- {
- case 0:
- {
- SetPlayerSkin(playerid, 163);
- SendClientMessage(playerid, COLOR_ORANGE, "{FA0A0A}Tuxedo:{F5B507}You have changed your Suit.");
- }
- case 1:
- {
- SetPlayerSkin(playerid, 164);
- SendClientMessage(playerid, COLOR_ORANGE, "{FA0A0A}Tuxedo:{F5B507}You have changed your Suit.");
- }
- case 2:
- {
- SetPlayerSkin(playerid, 165);
- SendClientMessage(playerid, COLOR_ORANGE, "{FA0A0A}Tuxedo:{F5B507}You have changed your Suit.");
- }
- case 3:
- {
- SetPlayerSkin(playerid, 166);
- SendClientMessage(playerid, COLOR_ORANGE, "{FA0A0A}Tuxedo:{F5B507}You have changed your Suit.");
- }
- case 4:
- {
- SetPlayerSkin(playerid, 171);
- SendClientMessage(playerid, COLOR_ORANGE, "{FA0A0A}Tuxedo:{F5B507}You have changed your Suit.");
- }
- case 5:
- {
- SetPlayerSkin(playerid, 172);
- SendClientMessage(playerid, COLOR_ORANGE, "{FA0A0A}Tuxedo:{F5B507}You have changed your Suit.");
- }
- }
- }
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment