[FilterScript] [FS] Weapon Spawner with DIALOG || Fegyver Spawnolу (ENG / HUN) V2
#12

Quote:
Originally Posted by antus
[b]Weapon spawner script || Fegyver spawnolу script
Version 2

With DIALOG || Pбrbeszйd-panellel


Description (ENG):

The script has got a DIALOG. The dialog has got nine pieces of weapon.
The menu command (in the english version): /weapon
Anything bug or a thing to be repaired, please write!


Leнrбs (HUN):

A script egy előhнvhatу pбrbeszйd-panellel rendelkezik. A dialуgusban kilenc darab fegyver van. Ezeket lehet egyesйvel lekйrni.
A menьt előhнvу parancs (a magyar verziуban): /fegyver
Bбrmi bugot, esetleg javнtandу dolgot talбltok, нrjatok!


PICTURE || English version





KЙP || Magyar verziу





DOWNLOAD || English version (V2)




LETЦLTЙS || Magyar verziу (V2)






DOWNLOAD || Eglish version (V1):



LETЦLTЙS || Magyar verziу (V1):




Created by ANtus || Kйszнtette: ANtus
2010
hello nagyon jу de megprуbбltam gangwarba бtalakнtani tцkйletes.. elmйletileg. gyakorlatba kevйsbй mert ugyan kijцn a menu de ha rбkattintok nem műkцdik namost itt a pawno code szeretnйm ha megnйznйd mi vele a baj:

Code:
#include <a_samp>

public OnPlayerCommandText(playerid, cmdtext[])
{
	if(strcmp(cmdtext, "/gangwar", true) == 0)
	{
		ShowPlayerDialog(playerid, 1, DIALOG_STYLE_LIST, "Gangwar", "Grove-Team \nBallas-Team \nAztec-Team \nVagos-Team \nPolice-Team \nArmy-Team", "Select", "Cancel");
		return 1;
	}
	return 0;
}

public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
  if(dialogid == 1)
	{
		if(response)
		{
			if(listitem == 0)
			{
				ResetPlayerWeapons(playerid);
				GivePlayerWeapon(playerid, 26, 1000);
				GivePlayerWeapon(playerid, 28, 1000);
				GivePlayerWeapon(playerid, 30, 1000);
				SetPlayerTeam(playerid, 1);
				SetPlayerPos(playerid, 2510.9182,-1667.1847,13.5677);
				SetPlayerFacingAngle(playerid, 108.3680);
				SetPlayerSkin(playerid, 107);
				SetPlayerHealth(playerid, 100);
  			SetPlayerArmour(playerid, 100);
				SetPlayerColor(playerid,0x33AA33AA);
				SendClientMessage(playerid, 0x33AA33AA, "You joined the GROVE-TEAM!");
				SendClientMessage(playerid, 0xFFFFFFAA, "Use /exitgw to exit gangwar!");
				TogglePlayerControllable(playerid,1);
 			}
 			if(listitem == 1)
			{
				ResetPlayerWeapons(playerid);
				GivePlayerWeapon(playerid, 26, 1000);
				GivePlayerWeapon(playerid, 28, 1000);
				GivePlayerWeapon(playerid, 30, 1000);
				SetPlayerTeam(playerid, 2);
				SetPlayerPos(playerid, 2196.3926,-1143.8621,38.1016);
				SetPlayerFacingAngle(playerid, 223.5255);
				SetPlayerSkin(playerid, 104);
				SetPlayerHealth(playerid, 100);
 		  	  SetPlayerArmour(playerid, 100);
				SetPlayerColor(playerid,0x9900FFAA);
				SendClientMessage(playerid, 0x9900FFAA, "You joined the BALLAS-TEAM!");
				SendClientMessage(playerid, 0xFFFFFFAA, "Use /exitgw to exit gangwar!");
				TogglePlayerControllable(playerid,1);
 			}
 			if(listitem == 2)
			{
				ResetPlayerWeapons(playerid);
				GivePlayerWeapon(playerid, 26, 1000);
				GivePlayerWeapon(playerid, 28, 1000);
				GivePlayerWeapon(playerid, 30, 1000);
				SetPlayerTeam(playerid, 3);
				SetPlayerPos(playerid, 2070.4202,-1593.1276,13.4980);
				SetPlayerFacingAngle(playerid, 182.0797);
				SetPlayerSkin(playerid, 116);
				SetPlayerHealth(playerid, 100);
  			SetPlayerArmour(playerid, 100);
				SetPlayerColor(playerid,0x00BFFFAA);
				SendClientMessage(playerid, 0x00BFFFAA, "You joined the AZTEC-TEAM!");
				SendClientMessage(playerid, 0xFFFFFFAA, "Use /exitgw to exit gangwar!");
				TogglePlayerControllable(playerid,1);
 			}
 			if(listitem == 3)
			{
				ResetPlayerWeapons(playerid);
				GivePlayerWeapon(playerid, 26, 1000);
				GivePlayerWeapon(playerid, 28, 1000);
				GivePlayerWeapon(playerid, 30, 1000);
				SetPlayerTeam(playerid, 4);
				SetPlayerPos(playerid, 2805.2954,-1186.1564,25.4356);
				SetPlayerFacingAngle(playerid, 280.5977);
				SetPlayerSkin(playerid, 108);
				SetPlayerHealth(playerid, 100);
  			SetPlayerArmour(playerid, 100);
				SetPlayerColor(playerid,0xFFFF00AA);
				SendClientMessage(playerid, 0xFFFF00AA, "You joined the VAGOS-TEAM!");
				SendClientMessage(playerid, 0xFFFFFFAA, "Use /exitgw to exit gangwar!");
				TogglePlayerControllable(playerid,1);
 			}
 			if(listitem == 4)
			{
				ResetPlayerWeapons(playerid);
				GivePlayerWeapon(playerid, 26, 1000);
				GivePlayerWeapon(playerid, 28, 1000);
				GivePlayerWeapon(playerid, 30, 1000);
				SetPlayerTeam(playerid, 5);
				SetPlayerPos(playerid, 1579.3662,-1635.3933,17.9324);
				SetPlayerFacingAngle(playerid, 342.3749);
				SetPlayerSkin(playerid, 280);
				SetPlayerHealth(playerid, 100);
  			SetPlayerArmour(playerid, 100);
				SetPlayerColor(playerid,0x0000FFAA);
				SendClientMessage(playerid, 0x0000FFAA, "You joined the POLICE-TEAM!");
				SendClientMessage(playerid, 0xFFFFFFAA, "Use /exitgw to exit gangwar!");
				TogglePlayerControllable(playerid,1);
 			}
 			if(listitem == 5)
			{
				ResetPlayerWeapons(playerid);
				GivePlayerWeapon(playerid, 26, 1000);
				GivePlayerWeapon(playerid, 28, 1000);
				GivePlayerWeapon(playerid, 30, 1000);
				SetPlayerTeam(playerid, 6);
				SetPlayerPos(playerid, 2745.6030,-2453.7979,16.6562);
				SetPlayerFacingAngle(playerid, 278.0357);
				SetPlayerSkin(playerid, 287);
				SetPlayerHealth(playerid, 100);
  		 	  SetPlayerArmour(playerid, 100);
				SetPlayerColor(playerid,0x993300AA);
				SendClientMessage(playerid, 0x993300AA, "You joined the ARMY-TEAM!");
				SendClientMessage(playerid, 0xFFFFFFAA, "Use /exitgw to exit gangwar!");
				TogglePlayerControllable(playerid,1);
 			
 			}
		}
	}
	return 1;
}
sejtem mi lehet de ha az nem tudom mire kellene бtнrni szerintem ez: if(listitem == 0)
{

előre is kцsz a vбlaszod.
Sajtos
Reply


Messages In This Thread
[FS] Weapon Spawner with DIALOG || Fegyver Spawnolу (ENG / HUN) V2 - by antus - 01.03.2010, 17:32
Re: [FS] Weapon Spawner || Fegyver Spawnolу (ENG / HUN) - by SlashPT - 01.03.2010, 19:42
Re: [FS] Weapon Spawner || Fegyver Spawnolу (ENG / HUN) - by antus - 01.03.2010, 19:55
Re: [FS] Weapon Spawner || Fegyver Spawnolу (ENG / HUN) - by SlashPT - 01.03.2010, 19:57
Re: [FS] Weapon Spawner || Fegyver Spawnolу (ENG / HUN) - by dusa bence - 02.03.2010, 13:19
Re: [FS] Weapon Spawner || Fegyver Spawnolу (ENG / HUN) - by antus - 02.03.2010, 16:09
Re: [FS] Weapon Spawner || Fegyver Spawnolу (ENG / HUN) - by bero1711 - 02.03.2010, 16:34
Re: [FS] Weapon Spawner || Fegyver Spawnolу (ENG / HUN) - by antus - 02.03.2010, 17:42
Re: [FS] Weapon Spawner || Fegyver Spawnolу (ENG / HUN) - by r9x - 03.03.2010, 03:28
Re: [FS] Weapon Spawner || Fegyver Spawnolу (ENG / HUN) - by antus - 03.03.2010, 11:55
Re: [FS] Weapon Spawner with DIALOG || Fegyver Spawnolу (ENG / HUN) V2 - by antus - 05.03.2010, 20:43
Re: [FS] Weapon Spawner with DIALOG || Fegyver Spawnolу (ENG / HUN) V2 - by Sajtos - 23.03.2010, 23:10
Re: [FS] Weapon Spawner with DIALOG || Fegyver Spawnolу (ENG / HUN) V2 - by antus - 24.03.2010, 14:38
Re: [FS] Weapon Spawner with DIALOG || Fegyver Spawnolу (ENG / HUN) V2 - by Sajtos - 24.03.2010, 19:00
Re: [FS] Weapon Spawner with DIALOG || Fegyver Spawnolу (ENG / HUN) V2 - by Sajtos - 24.03.2010, 19:01
Re: [FS] Weapon Spawner with DIALOG || Fegyver Spawnolу (ENG / HUN) V2 - by antus - 25.03.2010, 13:08
Re: [FS] Weapon Spawner with DIALOG || Fegyver Spawnolу (ENG / HUN) V2 - by V1ceC1ty - 25.03.2010, 13:31
Re: [FS] Weapon Spawner with DIALOG || Fegyver Spawnolу (ENG / HUN) V2 - by Sajtos - 25.03.2010, 15:09
Re: [FS] Weapon Spawner with DIALOG || Fegyver Spawnolу (ENG / HUN) V2 - by Snoooopy - 25.03.2010, 15:13
Re: [FS] Weapon Spawner with DIALOG || Fegyver Spawnolу (ENG / HUN) V2 - by antus - 25.03.2010, 17:26
Re: [FS] Weapon Spawner with DIALOG || Fegyver Spawnolу (ENG / HUN) V2 - by Brian_Furios - 25.03.2010, 18:37
Re: [FS] Weapon Spawner with DIALOG || Fegyver Spawnolу (ENG / HUN) V2 - by antus - 25.03.2010, 20:42
Re: [FS] Weapon Spawner with DIALOG || Fegyver Spawnolу (ENG / HUN) V2 - by Gaetano - 25.03.2010, 20:46
Re: [FS] Weapon Spawner with DIALOG || Fegyver Spawnolу (ENG / HUN) V2 - by antus - 26.03.2010, 15:18
Re: [FS] Weapon Spawner with DIALOG || Fegyver Spawnolу (ENG / HUN) V2 - by ANtus011! - 21.07.2010, 20:51
Re: [FS] Weapon Spawner with DIALOG || Fegyver Spawnolу (ENG / HUN) V2 - by homijs - 09.09.2010, 15:53

Forum Jump:


Users browsing this thread: 4 Guest(s)