-
Posts
324 -
Joined
-
Last visited
-
Days Won
2
Content Type
Profiles
Forums
News
Documentation
Everything posted by SkyLeAs
-
Problema intalnita ( descriere ):Salut vreau sa fac la buy vip ca cele 5 level-uri sa fie pe zile adika 20 de zile si 15 zile dar nush cum Ero( area / rile ) / warning -( ul / urile ):- Liniile de cod / sursa / script - ul :- Imagini / Video ( optional ):- Ati incercat sa rezolvati singur ?:- Ma poate ajuta cineva
-
[Server] Amazing Stunt World - For Free [All Stuff]
SkyLeAs replied to [.E.m.O.]K1DDU's topic in Gamemode-uri
Lasal men ca e newbie nu sti sa foloseasca mysql . La pornit si nui apare login nu face conectare la mysql. -
Ma ajuta si pe mine cineva ??????
-
/* ******************************************************************************** Sistem XMAS FIRE Credits JohnnyYz www.necro-zone.com www.rss-ro.com ******************************************************************************** */ #define FILTERSCRIPT //****************************************************************************** #include " a_samp " #include " zcmd " #include " sscanf2 " #include " foreach " #include " streamer " //****************************************************************************** #define COLOR_YELLOW 0xFFFF00AA//Culoarea galben #define COLOR_WHITE 0xFFFFFFAA //Culoarea alba #define WHITE 0xFFFFFFFF #define RocketHeight 50 // Inaltimea obiectului in cazul nostru artificiul.. #define RocketSpread 30 // Raza de vedere a artificiului. #define MAX_LAUNCH 20 //Altceva... #define MAX_FIREWORKS 100 // Maximul de artificii #if defined FILTERSCRIPT // Definirea de Filescript. //****************************************************************************** new Rocket[MAX_LAUNCH]; new RocketLight[MAX_LAUNCH]; new RocketSmoke[MAX_LAUNCH]; new RocketExplosions[MAX_LAUNCH]; new Firerocket[MAX_PLAYERS]; new rocketsmoke[MAX_PLAYERS]; //****************************************************************************** //new RocketBlue[MAX_LAUNCH]; //new RocketYellow[MAX_LAUNCH]; //new RocketRed[MAX_LAUNCH]; new RocketGreen[MAX_LAUNCH]; //****************************************************************************** new Float:rx[MAX_LAUNCH]; new Float:ry[MAX_LAUNCH]; new Float:rz[MAX_LAUNCH]; new FireworkTotal; new Fired; //****************************************************************************** new fireGreen[MAX_LAUNCH], fireWhite[MAX_LAUNCH]; //****************************************************************************** forward Firework(i); public Firework(i) { new Float:x, Float:y, Float:z; x = rx; y = ry; z = rz; z += RocketHeight; if (RocketExplosions == 0) { DestroyDynamicObject(Rocket); DestroyDynamicObject(RocketLight); DestroyDynamicObject(RocketSmoke); DestroyDynamicObject(RocketGreen); DestroyDynamicObject(fireGreen); DestroyDynamicObject(fireWhite); CreateExplosion(1493.2493,-1769.1412,18.7958+ RocketHeight, 4, 9); CreateExplosion(1470.0452,-1769.8038,18.7958+ RocketHeight, 6, 9); } else if (RocketExplosions >= MAX_FIREWORKS) { for (new j = 0; j <= RocketSpread; j++) { CreateExplosion(x + float(j - (RocketSpread / 2)), y, z, 5, 10); CreateExplosion(x, y + float(j - (RocketSpread / 1)), z, 5, 10); CreateExplosion(x, y, z + float(j - (RocketSpread / 2)), 5, 10); } RocketExplosions = -1; FireworkTotal = 0; Fired = 0; return 1; } else { x += float(random(RocketSpread) - (RocketSpread / 2)); y += float(random(RocketSpread) - (RocketSpread / 1)); z += float(random(RocketSpread) - (RocketSpread / 2)); CreateExplosion(1493.2493,-1769.1412,18.7958+ RocketHeight, 5, 10); CreateExplosion(1470.0452,-1769.8038,18.7958+ RocketHeight, 5, 10); //fireWhite[FireworkTotal] = CreateDynamicObject(354, 1483.5320,-1757.2819,29.6406 + 1, 0, 90, 0); } RocketExplosions++; SetTimerEx("Firework", 250, 0, "i", i); return 1; } //****************************************************************************** public OnPlayerConnect(playerid) { //****************************************************************************** // 2015 Maps By JohnnyYz Remove //****************************************************************************** RemoveBuildingForPlayer(playerid, 1226, 1451.6250, -1727.6719, 16.4219, 0.25); RemoveBuildingForPlayer(playerid, 4003, 1481.0781, -1747.0313, 33.5234, 0.25); RemoveBuildingForPlayer(playerid, 1226, 1467.9844, -1727.6719, 16.4219, 0.25); RemoveBuildingForPlayer(playerid, 1226, 1485.1719, -1727.6719, 16.4219, 0.25); RemoveBuildingForPlayer(playerid, 1231, 1479.6953, -1716.7031, 15.6250, 0.25); RemoveBuildingForPlayer(playerid, 1226, 1505.1797, -1727.6719, 16.4219, 0.25); //****************************************************************************** return 1; } //****************************************************************************** public OnFilterScriptInit() { //****************************************************************************** // 2015 Maps By JohnnyYz Create //****************************************************************************** //****************************************************************************** return 1; } //****************************************************************************** CMD:setrfire(playerid, params[]) { if(FireworkTotal == MAX_LAUNCH) { SendClientMessage(playerid, COLOR_WHITE, "Ai setat deja artificia la locu potrivit"); return 1; } if(Fired == 1) { SendClientMessage(playerid, COLOR_WHITE, "Asteapta sa explodeze!"); return 1; } new string[128]; format(string, sizeof(string), "%s a aprins un artificiu.", GetPlayerNameEx(playerid)); new Float:x, Float:y, Float:z, Float:a; GetPlayerPos(playerid, x, y, z); foreach(Player, i) { if(IsPlayerInRangeOfPoint(i, 30, x, y, z)) { SendClientMessage(i, COLOR_YELLOW, string); } } GetPlayerFacingAngle(playerid, a); x += (2 * floatsin(-a, degrees)); y += (2 * floatcos(-a, degrees)); // Lans Rocket[FireworkTotal] = CreateDynamicObject(3790, 1483.5320,-1757.2819,29.6406, 0, 90, 0); // 3786 RocketSmoke[FireworkTotal] = CreateDynamicObject(18716, 1483.5320,-1757.2819,29.6406 - 4, 0, 0, 0); // 18716 , xmas glob green - 19060 , neon green - 18649. RocketGreen[FireworkTotal] = CreateDynamicObject(18652, 1483.5320,-1757.2819,29.6406 + 1, 0, 90, 0); // 18649 fireWhite[FireworkTotal] = CreateDynamicObject(354, 1483.5320,-1757.2819,29.6406 + 1, 0, 90, 0); rx[FireworkTotal] = x; ry[FireworkTotal] = y; rz[FireworkTotal] = z; RocketExplosions[FireworkTotal] = 0; FireworkTotal++; return 1; } // obj 1 1213 CMD:fire(playerid, params[]) { if(FireworkTotal == 0) { SendClientMessage(playerid, COLOR_WHITE, "Nu ai nici o artificie"); return 1; } if(Fired == 1) { SendClientMessage(playerid, COLOR_WHITE, "Deja artificia este lansata"); return 1; } for(new i = 0; i < FireworkTotal; i++) { //CreateExplosion(rx ,ry, rz, 12, 5); new time = MoveDynamicObject(Rocket, 1480.4891,-1768.8335,18.7958 + RocketHeight, 10); MoveDynamicObject(RocketLight, 1480.4891,-1768.8335,18.7958 + 2 + RocketHeight, 10); MoveDynamicObject(RocketSmoke, 1493.2493,-1769.1412,18.7958 + RocketHeight, 10); MoveDynamicObject(RocketGreen, 1470.0452,-1769.8038,18.7958 + RocketHeight, 10); MoveDynamicObject(fireWhite, 1480.4891,-1768.8335,18.7958 + RocketHeight, 10); SetTimerEx("Firework", time, 0, "i", i); } Fired = 1; return 1; } /* CreateExplosion(1493.2493,-1769.1412,18.7958+ RocketHeight, 1, 9); CreateExplosion(1470.0452,-1769.8038,18.7958+ RocketHeight, 1, 9); */ CMD:testfire(playerid, params[]) { new distance; new Float:X, Float:Y,Float:Z; new string[128]; new sendername[MAX_PLAYER_NAME]; GetPlayerName(playerid, sendername, sizeof(sendername)); format(string, sizeof(string), "", sendername); ProxDetector(15.0, playerid, string, WHITE,WHITE,WHITE,WHITE,WHITE); GetPlayerPos(playerid,X,Y,Z); GetXYInFrontOfPlayer(playerid, X,Y, distance); Firerocket[playerid] = CreateObject(354, X,Y,(Z), 0, 0, 0); rocketsmoke[playerid] = CreateObject(2780, X,Y,(Z), 0, 0, 0); MoveObject(Firerocket[playerid], X, Y, Z+50, 15); MoveObject(rocketsmoke[playerid], X, Y, Z+50, 15); return 1; } CMD:2015(playerid, params[]) { SetPlayerTime(playerid, 23, 23); // Ora 22:00 SetPlayerHealth(playerid, 100); // Vita Full SetPlayerArmour(playerid, 100.0); // Armura Full SetPlayerPos(playerid, 1510.5238,-1720.4750,13.7969); return 1; } //****************************************************************************** CMD:santa(playerid, params[]) { SetPlayerTime(playerid, 20, 20); // Ora 20:00 SetPlayerHealth(playerid, 100); // Vita Full SetPlayerArmour(playerid, 100.0); // Armura Full SetPlayerPos(playerid, 194.4860,3905.0623,2.8642); return 1; } //AddPlayerClass(0,1489.6477,-1756.9130,29.6406,93.4485,0,0,0,0,0,0); // Lans 1 //AddPlayerClass(0,1483.5320,-1757.2819,29.6406,93.4485,0,0,0,0,0,0); // Lans 2 //AddPlayerClass(0,1478.0500,-1757.9119,29.6406,96.5819,0,0,0,0,0,0); // Lans 3 //AddPlayerClass(0,1472.4427,-1758.3448,29.6406,103.7886,0,0,0,0,0,0); // Lans 4 //AddPlayerClass(217,1499.9271,-1635.8071,14.0469,335.4649,0,0,0,0,0,0); // //****************************************************************************** GetPlayerNameEx(playerid) { new sz_playerName[MAX_PLAYER_NAME], i_pos; GetPlayerName(playerid, sz_playerName, MAX_PLAYER_NAME); while ((i_pos = strfind(sz_playerName, "_", false, i_pos)) != -1) sz_playerName[i_pos] = ' '; return sz_playerName; } stock ProxDetector(Float:radi, playerid, string[],col1,col2,col3,col4,col5) { if(IsPlayerConnected(playerid)) { new Float:posx, Float:posy, Float:posz; new Float:oldposx, Float:oldposy, Float:oldposz; new Float:tempposx, Float:tempposy, Float:tempposz; GetPlayerPos(playerid, oldposx, oldposy, oldposz); //radi = 2.0; //Trigger Radius for(new i = 0; i < MAX_PLAYERS; i++) { if(IsPlayerConnected(i)) { if(IsPlayerConnected(i)) { GetPlayerPos(i, posx, posy, posz); tempposx = (oldposx -posx); tempposy = (oldposy -posy); tempposz = (oldposz -posz); //printf("DEBUG: X:%f Y:%f Z:%f",posx,posy,posz); if (((tempposx < radi/16) && (tempposx > -radi/16)) && ((tempposy < radi/16) && (tempposy > -radi/16)) && ((tempposz < radi/16) && (tempposz > -radi/16))) { SendClientMessage(i, col1, string); } else if (((tempposx < radi/8) && (tempposx > -radi/8)) && ((tempposy < radi/8) && (tempposy > -radi/8)) && ((tempposz < radi/8) && (tempposz > -radi/8))) { SendClientMessage(i, col2, string); } else if (((tempposx < radi/4) && (tempposx > -radi/4)) && ((tempposy < radi/4) && (tempposy > -radi/4)) && ((tempposz < radi/4) && (tempposz > -radi/4))) { SendClientMessage(i, col3, string); } else if (((tempposx < radi/2) && (tempposx > -radi/2)) && ((tempposy < radi/2) && (tempposy > -radi/2)) && ((tempposz < radi/2) && (tempposz > -radi/2))) { SendClientMessage(i, col4, string); } else if (((tempposx < radi) && (tempposx > -radi)) && ((tempposy < radi) && (tempposy > -radi)) && ((tempposz < radi) && (tempposz > -radi))) { SendClientMessage(i, col5, string); } } else { SendClientMessage(i, col1, string); } } } }//not connected return 1; } stock Float:GetXYInFrontOfPlayer(playerid, Float:x, Float:y, Float:distance) { new Float:a; GetPlayerPos(playerid, x, y, a); if (IsPlayerInAnyVehicle(playerid)) GetVehicleZAngle(GetPlayerVehicleID(playerid), a); else GetPlayerFacingAngle(playerid, a); x += (distance * floatsin(-a, degrees)); y += (distance * floatcos(-a, degrees)); return a; } #endif /* CMD:setrfire(playerid, params[]) { if(FireworkTotal == MAX_LAUNCH) { SendClientMessage(playerid, COLOR_WHITE, "Ai cumparat numarul maxim de artificii!"); return 1; } if(Fired == 1) { SendClientMessage(playerid, COLOR_WHITE, "Asteapta sa explodeze artificiul!"); return 1; } new string[128]; format(string, sizeof(string), "%s a aprins un artificiu.", GetPlayerNameEx(playerid)); new Float:x, Float:y, Float:z, Float:a; GetPlayerPos(playerid, x, y, z); foreach(Player, i) { if(IsPlayerInRangeOfPoint(i, 30, x, y, z)) { SendClientMessage(i, COLOR_YELLOW, string); } } GetPlayerFacingAngle(playerid, a); x += (2 * floatsin(-a, degrees)); y += (2 * floatcos(-a, degrees)); Rocket[FireworkTotal] = CreateDynamicObject(3790, x, y, z, 0, 90, 0); // 3786 RocketLight[FireworkTotal] = CreateDynamicObject(354, x, y, z + 1, 0, 90, 0); // 354 RocketSmoke[FireworkTotal] = CreateDynamicObject(18716, x, y, z - 4, 0, 0, 0); // 18716 , xmas glob green - 19060 , neon green - 18649. RocketGreen[FireworkTotal] = CreateDynamicObject(19060, x, y, z + 1, 0, 90, 0); // 18649 rx[FireworkTotal] = x; ry[FireworkTotal] = y; rz[FireworkTotal] = z; RocketExplosions[FireworkTotal] = 0; FireworkTotal++; return 1; } CMD:fire(playerid, params[]) { if(FireworkTotal == 0) { SendClientMessage(playerid, COLOR_WHITE, "Nu ai nici un artificiu!"); return 1; } if(Fired == 1) { SendClientMessage(playerid, COLOR_WHITE, "Ai plasat deja focul de artificiu,asteapta sa explodeze!"); return 1; } for(new i = 0; i < FireworkTotal; i++) { CreateExplosion(rx ,ry, rz, 12, 5); new time = MoveDynamicObject(Rocket, rx ,ry, rz + RocketHeight, 10); MoveDynamicObject(RocketLight, rx ,ry, rz + 2 + RocketHeight, 10); MoveDynamicObject(RocketSmoke, rx ,ry, rz + RocketHeight, 10); MoveDynamicObject(RocketGreen, rx ,ry, rz + RocketHeight, 10); SetTimerEx("Firework", time, 0, "i", i); } Fired = 1; return 1; } */ /* public Firework(i) { new Float:x, Float:y, Float:z; x = rx; y = ry; z = rz; z += RocketHeight; if (RocketExplosions == 0) { DestroyDynamicObject(Rocket); DestroyDynamicObject(RocketLight); DestroyDynamicObject(RocketSmoke); DestroyDynamicObject(RocketGreen); CreateExplosion(x ,y, z, 4, 9); CreateExplosion(x ,y, z, 5, 9); CreateExplosion(x ,y, z, 6, 9); } else if (RocketExplosions >= MAX_FIREWORKS) { for (new j = 0; j <= RocketSpread; j++) { CreateExplosion(x + float(j - (RocketSpread / 2)), y, z, 7, 9); CreateExplosion(x, y + float(j - (RocketSpread / 2)), z, 7, 9); CreateExplosion(x, y, z + float(j - (RocketSpread / 2)), 7, 9); } RocketExplosions = -1; FireworkTotal = 0; Fired = 0; return 1; } else { x += float(random(RocketSpread) - (RocketSpread / 2)); y += float(random(RocketSpread) - (RocketSpread / 2)); z += float(random(RocketSpread) - (RocketSpread / 2)); CreateExplosion(x, y, z, 7, 9); } RocketExplosions++; SetTimerEx("Firework", 250, 0, "i", i); return 1; }*/
-
Da dar eu am 2 comenzi 1 /setrfire si 2 /fire am sa pun fs pe care il am sa vezi
-
Salut am o problema banner.php xDD nu imi arata banneru. Nu inteleg dece aveti idee dece nu vrea sa mil arate eu am sa in banner.php <?phpinclude ("rcon.lib.php");$server_ip = $_GET['ip'];$server_port = $_GET['port'];$rcon = new Rcon();@$rcon->connect($server_ip, $server_port);$server = $rcon->Info();$player = $rcon->Players();function inlocuire($text){ $de_inlocuit = $inlocuitor = array(); $de_inlocuit[] = "deathrun_"; $inlocuitor[] = "dr_"; foreach($de_inlocuit as $nume => $valoare) { $text = eregi_replace($valoare, $inlocuitor[$nume], $text); } $text = nl2br($text); return $text;}$server["map"]=inlocuire($server["map"], true);if(strlen(inlocuire($server["map"],true))>13){$server["map"] = "".substr($server['map'],0,13)."...";}else{$server["map"] = $server["map"];}// Get Hostname$ip = gethostbyname($server_ip);// Endheader( 'Content-type: image/png' );$newimg = imagecreatetruecolor( 450, 95 ) or die ( 'GD Library not available atm.' );$im = ImageCreateFromPNG("bg.png");$culoare_text_alb = imagecolorallocate($newimg, 255, 255, 255);$culoare_text_verde = imagecolorallocate($newimg, 0, 183, 21);$culoare_text_rosu = imagecolorallocate($newimg, 255, 0, 0);if(!$server["name"]) {$font = 'SWANSEBI.ttf';imagestring($im,3,65,9,"Serverul este offline!",$culoare_text_rosu);imagestring($im,3,33,70,"xxx",$culoare_text_rosu);imagestring($im,3,60,29,"xxx",$culoare_text_rosu);imagestring($im,3,132,70,"xxx",$culoare_text_rosu);imagestring($im,3,73,51,"xxx",$culoare_text_rosu);imagestring($im,3,396,75,"xxx",$culoare_text_rosu);}else{imagestring($im,3,65,9,"".$server["name"],$culoare_text_alb);imagestring($im,3,33,70,"".$ip,$culoare_text_alb);imagestring($im,3,60,29,"".$server["map"],$culoare_text_alb);imagestring($im,3,132,70,":".$server_port,$culoare_text_alb);imagestring($im,3,73,51,"".$server["activeplayers"]." / ".$server["maxplayers"]."",$culoare_text_alb);imagestring($im,3,396,75,"".$ping,$culoare_text_alb);}imagepng($im);imagedestroy($im);?> Am totu in folder dela imagine font etc... nu inteleg ce are help
-
Numele celui acuzat:★ єXэ ★ Cu ce va dat teapa: | Limbaj Descrierea situatiei:Iam dat pm sa schimbe numele la server ca serveru ruleaza si el imi da 2 reply cu jigniri Dovada (Imagini / Video): http://www.imgz.ro/i/5493fdacb9c4b.png http://www.imgz.ro/i/5493fdacbaa3c.png
-
Daca ai webhost si forum este usor https://www.youtube.com/watch?v=kCd2nq3Po1U&feature=youtu.be
-
Dece nu le pui in gamemode? Le poti pune ceva de genu. Eu cand fac ceva o mapa ceva simpla le pun in gm nu in fs. pune in gm asa si scoate fs si vezi daca mai apar cum ai spus tu mai sus //****************************************************************************************** // Nume Mapa //****************************************************************************************** Cod //****************************************************************************************** Am patit si eu la fel la o mapa de craciun si am puso in gm si mergea mai bine in gm.
-
Up
-
What )) Dece as copia sa-mp.ro nici nu seamana macar cu cel care il aveti si cred cai un lgsl. Invidia spune tot ) @Woops eu nu lucrez de mult in php si mysql pentru mine e greu pentru tine e usor
-
Asa crezi tu ) Te rupe php si mysql =))
-
Problema intalnita (descriere):Salut am facut si eu un fs pentru sarbatori dar am o problema Atunci cand intru in pickup-ul pe care lam facut imi dispare :|+ nu ma da la locatia pe care trebuie . Si cum as putea ca atunci cand ma da la locatia pe care am puso eu sa imi dea o masina Ero(area / rile) / warning-(ul / urile):! Liniile de cod / sursa / script-ul: public OnFilterScriptInit() { //****************************************************************************** //****************************************************************************** Create3DTextLabel("{ff1500}SantaLandn{FFFF00AA}Take {FFFFFFAA}Gifts", 0xFFFFF00 , 163.5680,3916.2246,2.7744, 0, 0); Santa [0] = CreatePickup(19130, 2, 163.5680,3916.2246,2.7744, -1); Santa [1] = CreatePickup(19130, 2, 147.3518,3902.6753,2.7476, -1); //****************************************************************************** return 1; } #else //****************************************************************************** public OnPlayerPickUpPickup(playerid, pickupid) { //****************************************************************************** if(pickupid == Santa [0] ) { ShowPlayerDialog(playerid, 2, DIALOG_STYLE_MSGBOX, "{FFFF00AA}Santa {FFFFFFAA}- Mini Events", "Text", "Close", ""); Santa [2] CreatePickup(19058, 2, 172.8487,3961.3682,3.9757); SetPlayerPos(playerid, 194.4860,3905.0623,2.8642); } else if(pickupid == Santa [2] ) { GivePlayerMoney(playerid, 500000); GameTextForPlayer(playerid, "Win 500000$", 5000, 2); //DestroyPickup 2 DestroyPickup( Santa [2] ); //CreatePickup 3 Santa [3] CreatePickup(19058, 2, 146.3444,3933.7129,3.8692); } //****************************************************************************** return 1; } Imagini / Video (optional):! Ati incercat sa rezolvati singur?:Nu nam incercat ca nu stiu
-
Salut de cateva zile mam ocupat de un server list si am spus sa-l arat si la alti si sa dea si o parere despre acest server list
-
Chiar am facut ce ai spus dar tot nu am reusit daca e ma poti ajuta joi? sau cand poti tu
-
Am incercat si nmk...
-
Up
-
La fel ca la firerocket2 vreau si eu dar eu vreau pe scriptu pe care il detin.
-
Crezi ca nam cutat am gasit unu cel alui artits sau cum are numele dar nu e ce vreau eu...
-
Cad de cat. Daca erea si un tutorial cum sar face o explozie de culori ce frumos erea
-
Daca til arata cum arata ca afost cu un prieten in clasa ) si are fb lui si mi-a dat o poza cu el daca vezi ce moaca are lesini de ras ) Eu eream sigur din prima zi cand si-a facut hostu ) lua vds-uri dela xtreme host de 7 euro si zicea ca are dedicat ) si aia dela xtreme host in loc sa vanda dedicate da deau vds-uri ) ca am lucrat pentru ei si am plecat ca nu aveau ce trebe licente bla bla.. + in fiecare zi ma trezeam cu tickete ca dece nu merge ai aia )
-
Da cum spune si titlu voi lauti host dela el dar nici nu are vreo licenta whmcs sau alte cacaturi. x_X si nici nu va da port 7777 va da 7778 sau alte porturi Multi il stiu de tepar pana si fondatoru XEROM-ZONE stie cai tepar acu mai luat host dela el sa facut de ras peste tot )