AvestX 5 Odesláno: 2. Prosinec, 2009 Share Odesláno: 2. Prosinec, 2009 Box Script Tvůrce: [sNGM]Avest_X (nebo [sNGM]Lamka_CZE) Používání:Stačí si stoupnout na pickup, a kliknout v dialogu na Vztoupit. Pak už by to mělo vyřídit za vás. Kde se to nachází: Ganton LS Tělocvična. Download: http://www.our-life.xf.cz/box.amx Nezkoušeno ! Link to comment Share on other sites More sharing options...
Vidie 5 Odesláno: 2. Prosinec, 2009 Share Odesláno: 2. Prosinec, 2009 a jak to funguje? Link to comment Share on other sites More sharing options...
AvestX 5 Odesláno: 2. Prosinec, 2009 Author Share Odesláno: 2. Prosinec, 2009 Tady máte PWN xD /* ================================================================================ || - Boxing Script - || ================================================================================ */ #include //-----[ Defines ]--| #define cervena 0xff0000FF //-----[ News ]-----| new BoxPick; new BoxPocet; new Boxi[MAX_PLAYERS]; //****************************************************************************** stock Jmeno(playerid) { new pName[MAX_PLAYER_NAME]; if(IsPlayerConnected(playerid)) { if(!IsPlayerNPC(playerid)) { GetPlayerName(playerid, pName, sizeof(pName)); } } return pName; } public OnFilterScriptInit() { print("*****************************************"); print("* BOXING SCRIPT BY AVEST-X *"); print("*****************************************"); //============================================================================== BoxPick = CreatePickup(1239,1,765.6077,7.9590,1000.7136); return 1; } //============================================================================== public OnFilterScriptExit() { return 1; } //============================================================================== public OnPlayerDeath(playerid, killerid, reason) { if(Boxi[playerid] && Boxi[killerid] == 1) { new string[150]; Boxi[playerid] = 0; Boxi[killerid] = 0; BoxPocet = 0; SetPlayerPos(killerid, 765.6077,7.9590,1000.7136); SetPlayerInterior(killerid, 5); GivePlayerMoney(killerid, 4000); for(new p=0; p { if(IsPlayerConnected(p)) { format(string, sizeof(string), "[ ++ ]: Hráč %s nad hráčem %s vyhrál v boxu, a byl odměněn !", Jmeno(killerid), Jmeno(playerid)); SendClientMessage(p, cervena, string); } } } return 1; } //============================================================================== public OnPlayerPickUpPickup(playerid, pickupid) { //============================================================================== if(pickupid == BoxPick) { ShowPlayerDialog(playerid,1500,DIALOG_STYLE_MSGBOX,"Boxing","Chceš si dát box, pokud ano\nstiskni připojit, ale box jde hrát pouze ve 2 !","Připojit","Nic"); } return 1; } //============================================================================== public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[]) { if(dialogid == 1500) { if(response == 1) { BoxPocet ++; if(BoxPocet == 1) { SetPlayerPos(playerid, 758.4374,13.2256,1001.1639); TogglePlayerControllable(playerid, 0); } else if(BoxPocet == 2) { SetPlayerPos(playerid, 763.2513,9.0098,1001.1639); for(new p=0; p< BoxPocet; p++) { if(IsPlayerConnected(p)) { TogglePlayerControllable(p, 1); SendClientMessage(p, cervena, "[ ++ ]: Box začal !"); Boxi[p] = 1; } } } } } return 1; } //============================================================================== Link to comment Share on other sites More sharing options...
Roox 1 Odesláno: 2. Prosinec, 2009 Share Odesláno: 2. Prosinec, 2009 Ach ta čeština nemelo by to bejt místo např [ ++ ]: Hráč Roox nad hráčem Avest-x vyhrál v boxu, a byl odměněn ! je divny ja bych napsal toto [ ++ ]: Hráč Roox vyhrál v boxu nad hráčem Avest-x a byl odměněn ! A je to i kradsi A jinak de to 5/10 Myslim ze by to dokazal udelat snad i kazdej, ale zas kazdyho to nenapadne Link to comment Share on other sites More sharing options...
AvestX 5 Odesláno: 2. Prosinec, 2009 Author Share Odesláno: 2. Prosinec, 2009 Nj, v modu budu mít i z kolama 5Min = 1 Kolo. Link to comment Share on other sites More sharing options...
s3gi 0 Odesláno: 23. Březen, 2012 Share Odesláno: 23. Březen, 2012 jak ten box funguje ? Link to comment Share on other sites More sharing options...
Sweet 7 Odesláno: 23. Březen, 2012 Share Odesláno: 23. Březen, 2012 jak ten box funguje ? starej topic + autor sem uz nechodi, tak to budes muset otestovat Link to comment Share on other sites More sharing options...
Ondrej Igar 24 Odesláno: 23. Březen, 2012 Share Odesláno: 23. Březen, 2012 jak ten box funguje ? Tento topic je stary 3 roky ale funguje to tak ze teto hodi do areny a tam mas zabit sopubere,kdyz ho zabijes dostanes 3000$ Link to comment Share on other sites More sharing options...
Recommended Posts