Jump to content

D@rksone

Membru
  • Posts

    248
  • Joined

  • Last visited

Everything posted by D@rksone

  1. Exact, acela l-am vazut eu, pe a lu Rudy_ Acel script este postat din data de "30.07.2012, 19:20" deci acuma nustiu.. vorbeste tu Gireada
  2. Acuma la modul propiu, am vazut acest script in alta parte :shocked: Interesant daca este facut de tine, dar eu l-am vazut cu masini pe youtube :shocked:
  3. E munca ta si tu ti-o critici, interesant... In fine, pentru efortul despus si aspect, etc.. 3/5!
  4. "te pun la credits ?", din cate stiu eu ar trebuie sa o faci fara sa intrebi. Este un mic edit, deci 1/5, cum a zis si Gireada: Bine ai venit in secolul 21, unde submarinele se scufunda. Iar avioanele zboara
  5. D@rksone

    Pica serverul

    Nu mi-am batut joc, ti-am zis sa explici mai detaliat problema.. dar daca esti chior..
  6. D@rksone

    Pica serverul

    Vine apocalipsa, pregateste-te! Explica problema mai detaliat!
  7. Din lipsa de ocupatie postez eu imaginile, acelea find: [img width=500 height=375] [img width=500 height=375] [img width=500 height=375] [img width=500 height=375] [img width=500 height=375] [img width=500 height=375] [img width=500 height=375] [img width=500 height=375] [img width=500 height=375] [img width=500 height=375] [img width=500 height=375] [img width=500 height=375] [img width=500 height=375] [img width=500 height=375] [img width=500 height=375] [img width=500 height=375] Daca nu va merge, click pe fiecare: http://www.solidfiles.com/d/29d0e5116e/ http://www.solidfiles.com/d/b2df9205df/ http://www.solidfiles.com/d/3e05d7c895/ http://www.solidfiles.com/d/c14333f9f6/ http://www.solidfiles.com/d/336ff8da2f/ http://www.solidfiles.com/d/cab2b5cb04/ http://www.solidfiles.com/d/97d1d69d7d/ http://www.solidfiles.com/d/ab71ebdd74/ http://www.solidfiles.com/d/54b234deff/ http://www.solidfiles.com/d/27e2adb502/ http://www.solidfiles.com/d/89d29f6b64/ http://www.solidfiles.com/d/a3f59ebe38/ http://www.solidfiles.com/d/4722f1f686/ http://www.solidfiles.com/d/3cfaf7e2a9/ http://www.solidfiles.com/d/2ae3eacec0/ http://www.solidfiles.com/d/ad9a2fee38/ http://www.solidfiles.com/d/90913e7843 Apropo, interesant server-ul, nu-mi place mie trucking
  8. Credits: seNNNaris. : Admin level 1339 - S-a ocupat cu: Scripting server & Mapping Darksone : Admin level 1339 - S-a ocupat cu: Scripting server & Mapping DarkyTheAngel : Nu joaca pe server - S-a ocupat cu: Crearea ceasului de pe server Informatii si Poze: Police Department Primaria Los Santos [img width=500 height=375] Case NOI adaugate [img width=500 height=375] [img width=500 height=375] Banca Los Santos [img width=500 height=375] Ceasul facut de DarkyTheAngel special pentru noi, unicat!
  9. D@rksone

    Server

    Citeste regulamentul. Ce treaba asta cu "Discutii Scripting"?
  10. Am pus eu : "By Darksone" if(strcmp(cmd, "/fuelcars", true) == 0) { if(IsPlayerConnected(playerid)) { if(PlayerInfo[playerid][pAdmin] >= 3) { for(new c=0;c<CAR_AMOUNT;c++) { Gas[c] = GasMax; } SendClientMessage(playerid, COLOR_GREY, " All cars filled with Fuel ! "); } else { SendClientMessage(playerid, COLOR_GREY, " You are not an Admin ! "); return 1; } } return 1; } IA INCEARCA ACUMA!
  11. Comanda: /vehicle if(strcmp(cmd, "/v", true) == 0 || strcmp(cmd, "/vehicle", true) == 0) by Darksone { if(IsPlayerConnected(playerid)) { new x_nr[64]; x_nr = strtok(cmdtext, idx); if(!strlen(x_nr)) { SendClientMessage(playerid, COLOR_WHITE, "____________[Personal Vehicle Help]____________"); SendClientMessage(playerid, COLOR_WHITE, "** {1AFF00}/v {09DFF7}[name]"); SendClientMessage(playerid, COLOR_WHITE, "**park, color, tow(1-3), fix(1-3), locate(1-3)"); return 1; } if(strcmp(x_nr,"park",true) == 0) { new Float:x,Float:y,Float:z; new Float:a; new carid; new getcarid = GetPlayerVehicleID(playerid); if(GetPlayerVehicleID(playerid) == PlayerInfo[playerid][pPcarkey]) { carid = PlayerInfo[playerid][pPcarkey]; } else if(GetPlayerVehicleID(playerid) == PlayerInfo[playerid][pPcarkey2]) { carid = PlayerInfo[playerid][pPcarkey2]; } else if(GetPlayerVehicleID(playerid) == PlayerInfo[playerid][pPcarkey3]) { carid = PlayerInfo[playerid][pPcarkey3]; } else { return 1; } GetPlayerName(playerid, playername, sizeof(playername)); GetVehiclePos(carid, x, y, z); GetVehicleZAngle(carid, a); if(IsPlayerInVehicle(playerid,carid) && CarInfo[carid][cOwned] == 1) { if(PlayerInfo[playerid][pPcarkey] == -1 && PlayerInfo[playerid][pPcarkey2] == -1 && PlayerInfo[playerid][pPcarkey3] == -1) { SendClientMessage(playerid, COLOR_GREY, "You don't own a car."); return 1; } if(getcarid == carid) { new Float:CarHP, Float:OldCarHP; new panels,doors,lights,tires; CarInfo[carid][cLocationx] = x; CarInfo[carid][cLocationy] = y; CarInfo[carid][cLocationz] = z; CarInfo[carid][cAngle] = a; GetVehicleDamageStatus(carid,panels,doors,lights,tires); GetVehicleHealth(carid, CarHP); OldCarHP = CarHP; OnCarUpdate(); DestroyVehicle(carid); CreateVehicle(CarInfo[carid][cModel],CarInfo[carid][cLocationx],CarInfo[carid][cLocationy],CarInfo[carid][cLocationz]+1.0,CarInfo[carid][cAngle],CarInfo[carid][cColorOne],CarInfo[carid][cColorTwo],60000); format(TextCar, sizeof(TextCar), "{EE1111}Owner: {0099FF}• %s •", CarInfo[carid][cOwner]); Update3DTextLabelText(TextUpCar[carid], 0x33AAFFFF, TextCar); LoadComponents(carid); SendClientMessage(playerid, COLOR_BLUE, "* Noua pozitie a fost salvata!"); SetVehicleHealth(carid, OldCarHP); UpdateVehicleDamageStatus(carid, panels, doors, lights, tires); return 1; } } } else if(strcmp(x_nr,"buy",true) == 0) { if(IsAnOwnableCar(idcar)) { if(PlayerInfo[playerid][pPcarkey] == -1) { } else if(PlayerInfo[playerid][pPcarkey2] == -1) { } else if(PlayerInfo[playerid][pPcarkey3] == -1) { } else { SendClientMessage(playerid, COLOR_GREY, " Ai deja 3 masini !"); return 1; } if(CarInfo[idcar][cOwned]==1) { SendClientMessage(playerid, COLOR_GREY, "Someone already owns this car"); return 1; } if(GetPlayerMoney(playerid) >= CarInfo[idcar][cValue]) { if(PlayerInfo[playerid][pPcarkey] == -1) { PlayerInfo[playerid][pPcarkey] = idcar; } else if(PlayerInfo[playerid][pPcarkey2] == -1) { PlayerInfo[playerid][pPcarkey2] = idcar; } else if(PlayerInfo[playerid][pPcarkey3] == -1) { PlayerInfo[playerid][pPcarkey3] = idcar; } else { return 1; } CarInfo[idcar][cOwned] = 1; GetPlayerName(playerid, sendername, sizeof(sendername)); strmid(CarInfo[idcar][cOwner], sendername, 0, strlen(sendername), 999); GivePlayerMoney(playerid,-CarInfo[idcar][cValue]); Delete3DTextLabel(TextUpCar[idcar]); format(TextCar, sizeof(TextCar), "{EE1111}Owner: {0099FF}• %s •", CarInfo[idcar][cOwner]); TextUpCar[idcar] = Create3DTextLabel(TextCar, 0x33AAFFFF, 0.0, 0.0, 0.0, 25, 0, 1); Attach3DTextLabelToVehicle(TextUpCar[idcar], idcar, 0.0, 0.0, 0.1); OnCarUpdate(); SavePlayerData(playerid); PlayerPlaySound(playerid, 1052, 0.0, 0.0, 0.0); GameTextForPlayer(playerid, "~w~Felicitari~n~Nu uita sa o parchezi cu /v park !", 5000, 3); TogglePlayerControllable(playerid, 1); return 1; } else { SendClientMessage(playerid, COLOR_GREY, " You don't have enough cash with you ! "); return 1; } } } else if(strcmp(x_nr,"color",true) == 0) { if(PlayerInfo[playerid][pPcarkey] == -1 && PlayerInfo[playerid][pPcarkey2] == -1 && PlayerInfo[playerid][pPcarkey3] == -1) { SendClientMessage(playerid, COLOR_GREY," You don't have a vehicle to respray."); return 1; } if(GetPlayerMoney(playerid) < 1000) { SendClientMessage(playerid, COLOR_GREY," You don't have enough money for vehicle respray."); return 1; } tmp = strtok(cmdtext, idx); if(!strlen(tmp)) { SendClientMessage(playerid, COLOR_WHITE, "USAGE: /v color [ColorOneID] [ColorTwoID]"); return 1; } new color1; color1 = strval(tmp); if(color1 < 0 && color1 > 126) { SendClientMessage(playerid, COLOR_GREY, " Wrong color id!"); return 1; } tmp = strtok(cmdtext, idx); if(!strlen(tmp)) { SendClientMessage(playerid, COLOR_WHITE, "USAGE: /v color [ColorOneID] [ColorTwoID]"); return 1; } new color2; color2 = strval(tmp); if(color2 < 0 && color2 > 126) { SendClientMessage(playerid, COLOR_GREY, " Wrong color id!"); return 1; } if(GetPlayerVehicleID(playerid) == PlayerInfo[playerid][pPcarkey]) { vehid = PlayerInfo[playerid][pPcarkey]; } else if(GetPlayerVehicleID(playerid) == PlayerInfo[playerid][pPcarkey2]) { vehid = PlayerInfo[playerid][pPcarkey2]; } else if(GetPlayerVehicleID(playerid) == PlayerInfo[playerid][pPcarkey3]) { vehid = PlayerInfo[playerid][pPcarkey3]; } else { return 1; } if(IsPlayerInVehicle(playerid, vehid)) { new Float:CarHP, Float:OldCarHP; new panels, doors, lights, tires; GetVehicleDamageStatus(vehid, panels, doors, lights, tires); GetVehicleHealth(vehid, CarHP); OldCarHP = CarHP; CarInfo[vehid][cColorOne] = color1; CarInfo[vehid][cColorTwo] = color2; GivePlayerMoney(playerid, -1000); GameTextForPlayer(playerid, "~w~Masina Personala~n~~g~Revopsita cu succes~n~~r~$-100", 5000, 1); ChangeVehicleColor(vehid, color1, color2); SetVehicleToRespawn(vehid); SetVehicleHealth(vehid, OldCarHP); UpdateVehicleDamageStatus(vehid, panels, doors, lights, tires); PlayerPlaySound(playerid, 1052, 0.0, 0.0, 0.0); OnCarUpdate(); return 1; } else { SendClientMessage(playerid, COLOR_GREY," You are not in your vehicle."); return 1; } } else if(strcmp(x_nr,"locate1",true) == 0) { if(!IsPlayerConnected(playerid)) { return 1; } new Float:x,Float:y,Float:z; new car = PlayerInfo[playerid][pPcarkey]; if(PlayerInfo[playerid][pPcarkey]==-1) { GameTextForPlayer(playerid, "~w~Nu ai o masina pentru a putea fi localizata", 2500, 3); return 1; } SendClientMessage(playerid,COLOR_WHITE,"Locatia masinii a fost gasita."); GetVehiclePos(car, x, y, z); SetPlayerCheckpoint(playerid, x, y, z, 6); return 1; } else if(strcmp(x_nr,"locate2",true) == 0) { if(!IsPlayerConnected(playerid)) { return 1; } new Float:x,Float:y,Float:z; new car = PlayerInfo[playerid][pPcarkey2]; if(PlayerInfo[playerid][pPcarkey2]==-1) { GameTextForPlayer(playerid, "~w~Nu ai o masina pentru a putea fi localizata", 2500, 3); return 1; } SendClientMessage(playerid,COLOR_WHITE,"Locatia masinii a fost gasita."); GetVehiclePos(car, x, y, z); SetPlayerCheckpoint(playerid, x, y, z, 6); return 1; } else if(strcmp(x_nr,"locate3",true) == 0) { if(!IsPlayerConnected(playerid)) { return 1; } new Float:x,Float:y,Float:z; new car = PlayerInfo[playerid][pPcarkey3]; if(PlayerInfo[playerid][pPcarkey3]==-1) { GameTextForPlayer(playerid, "~w~Nu ai o masina pentru a putea fi localizata", 2500, 3); return 1; } SendClientMessage(playerid,COLOR_WHITE,"Locatia masinii a fost gasita."); GetVehiclePos(car, x, y, z); SetPlayerCheckpoint(playerid, x, y, z, 6); return 1; } else if(strcmp(x_nr,"tow1",true) == 0) { if(IsPlayerConnected(playerid)) { new Float:CarHP, Float:OldCarHP; new panels,doors,lights,tires; new car = PlayerInfo[playerid][pPcarkey]; GetPlayerName(playerid, playername, sizeof(playername)); if (car != -1 && strcmp(playername, CarInfo[PlayerInfo[playerid][pPcarkey]][cOwner], true) == 0) { GetVehicleDamageStatus(car,panels,doors,lights,tires); GetVehicleHealth(car, CarHP); OldCarHP = CarHP; GameTextForPlayer(playerid, "~w~Masina personala~n~~g~Tractata cu succes~n~~r~$-1500", 5000, 1); GivePlayerMoney(playerid,-1500); SetVehicleToRespawn(car); SetVehicleHealth(car, OldCarHP); UpdateVehicleDamageStatus(car, panels, doors, lights, tires); PlayerPlaySound(playerid, 1052, 0.0, 0.0, 0.0); } else { GameTextForPlayer(playerid, "~w~Nu detii o masina personala.", 5000, 1); } } } else if(strcmp(x_nr,"tow2",true) == 0) { if(IsPlayerConnected(playerid)) { new Float:CarHP, Float:OldCarHP; new panels,doors,lights,tires; new car = PlayerInfo[playerid][pPcarkey2]; GetPlayerName(playerid, playername, sizeof(playername)); if (car != -1 && strcmp(playername, CarInfo[PlayerInfo[playerid][pPcarkey2]][cOwner], true) == 0) { GetVehicleDamageStatus(car,panels,doors,lights,tires); GetVehicleHealth(car, CarHP); OldCarHP = CarHP; GameTextForPlayer(playerid, "~w~Masina personala~n~~g~Tractata cu succes~n~~r~$-1500", 5000, 1); GivePlayerMoney(playerid,-1500); SetVehicleToRespawn(car); SetVehicleHealth(car, OldCarHP); UpdateVehicleDamageStatus(car, panels, doors, lights, tires); PlayerPlaySound(playerid, 1052, 0.0, 0.0, 0.0); } else { GameTextForPlayer(playerid, "~w~Nu detii o masina personala.", 5000, 1); } } } else if(strcmp(x_nr,"tow3",true) == 0) { if(IsPlayerConnected(playerid)) { new Float:CarHP, Float:OldCarHP; new panels,doors,lights,tires; new car = PlayerInfo[playerid][pPcarkey3]; GetPlayerName(playerid, playername, sizeof(playername)); if (car != -1 && strcmp(playername, CarInfo[PlayerInfo[playerid][pPcarkey3]][cOwner], true) == 0) { GetVehicleDamageStatus(car,panels,doors,lights,tires); GetVehicleHealth(car, CarHP); OldCarHP = CarHP; GameTextForPlayer(playerid, "~w~Masina personala~n~~g~Tractata cu succes~n~~r~$-1500", 5000, 1); GivePlayerMoney(playerid,-1500); SetVehicleToRespawn(car); SetVehicleHealth(car, OldCarHP); UpdateVehicleDamageStatus(car, panels, doors, lights, tires); PlayerPlaySound(playerid, 1052, 0.0, 0.0, 0.0); } else { GameTextForPlayer(playerid, "~w~Nu detii o masina personala.", 5000, 1); } } } else if(strcmp(x_nr,"fix1",true) == 0) { if(IsPlayerConnected(playerid)) { new car = PlayerInfo[playerid][pPcarkey]; GetPlayerName(playerid, playername, sizeof(playername)); if (car != -1 && strcmp(playername, CarInfo[PlayerInfo[playerid][pPcarkey]][cOwner], true) == 0) { GameTextForPlayer(playerid, "~w~Masina personala~n~~g~Reparata cu succes~n~~r~$-2500", 5000, 1); GivePlayerMoney(playerid,-2500); SetVehicleToRespawn(car); PlayerPlaySound(playerid, 1052, 0.0, 0.0, 0.0); } else { GameTextForPlayer(playerid, "~w~Nu detii o masina personala.", 5000, 1); } } } else if(strcmp(x_nr,"fix2",true) == 0) { if(IsPlayerConnected(playerid)) { new car = PlayerInfo[playerid][pPcarkey2]; GetPlayerName(playerid, playername, sizeof(playername)); if (car != -1 && strcmp(playername, CarInfo[PlayerInfo[playerid][pPcarkey2]][cOwner], true) == 0) { GameTextForPlayer(playerid, "~w~Masina personala~n~~g~Reparata cu succes~n~~r~$-2500", 5000, 1); GivePlayerMoney(playerid,-2500); SetVehicleToRespawn(car); PlayerPlaySound(playerid, 1052, 0.0, 0.0, 0.0); } else { GameTextForPlayer(playerid, "~w~Nu detii o masina personala.", 5000, 1); } } } else if(strcmp(x_nr,"fix3",true) == 0) { if(IsPlayerConnected(playerid)) { new car = PlayerInfo[playerid][pPcarkey3]; GetPlayerName(playerid, playername, sizeof(playername)); if (car != -1 && strcmp(playername, CarInfo[PlayerInfo[playerid][pPcarkey3]][cOwner], true) == 0) { GameTextForPlayer(playerid, "~w~Masina personala~n~~g~Reparata cu succes~n~~r~$-2500", 5000, 1); GivePlayerMoney(playerid,-2500); SetVehicleToRespawn(car); PlayerPlaySound(playerid, 1052, 0.0, 0.0, 0.0); } else { GameTextForPlayer(playerid, "~w~Nu detii o masina personala.", 5000, 1); } } } else { SendClientMessage(playerid, COLOR_WHITE, "____________[Personal Vehicle Help]____________"); SendClientMessage(playerid, COLOR_WHITE, "** {1AFF00}(/v)ehicle {09DFF7}[name]"); SendClientMessage(playerid, COLOR_WHITE, "**park, color, tow(1-3), fix(1-3), locate(1-3)"); return 1; } } return 1; } Aici sunt toate comenzile /vehicle, acelea find: park, color, tow(1-3), fix(1-3), locate(1-3) Comanda esential este stabilita pentru 3 masini personale, sa aibe 3 masini personale, ca si aici: Locate (1-2-3) else if(strcmp(x_nr,"locate1",true) == 0) else if(strcmp(x_nr,"locate2",true) == 0) else if(strcmp(x_nr,"locate3",true) == 0) Tow (1-2-3) else if(strcmp(x_nr,"tow1",true) == 0) else if(strcmp(x_nr,"tow2",true) == 0) else if(strcmp(x_nr,"tow3",true) == 0) Fix (1-2-3) else if(strcmp(x_nr,"fix1",true) == 0) else if(strcmp(x_nr,"fix2",true) == 0) else if(strcmp(x_nr,"fix3",true) == 0)
  12. Comanda: /fuelcars if(strcmp(cmd, "/fuelcars", true) == 0) by Darksone { if(IsPlayerConnected(playerid)) { if(PlayerInfo[playerid][pAdmin] >= 3) { for(new c=0;c<CAR_AMOUNT;c++) { Gas[c] = GasMax; } SendClientMessage(playerid, COLOR_GREY, " All cars filled with Fuel ! "); } else { SendClientMessage(playerid, COLOR_GREY, " You are not an Admin ! "); return 1; } } return 1; } Comanda este stabilita pentru admin-ul level 3: if(PlayerInfo[playerid][pAdmin] >= 3) Daca doresti sa schimbi level-ul accesului la comanda modifica acel 3 pentru alt level admin [pAdmin] >= 3) Ce face aceasta comanda? - Umple rezervorul la toate masinile de pe server cu 100 fuel.
  13. Faza e ca nuprea ma joc, eu sunt pasionat scripting + ca am o groaza de comenzi.
  14. Ar trebui sa taceti amandoi, Topic Closed
  15. Mura-n gura, n-are cum sa nu-ti mearga, eu am testat aceasta comanda si merge: Comanda: /ah if(strcmp(cmd, "/ahelp", true) == 0 || strcmp(cmd, "/ah", true) == 0) By Darksone { if(IsPlayerConnected(playerid)) { if (PlayerInfo[playerid][pAdmin] >= 1) { SendClientMessage(playerid, COLOR_GREEN, "{ff0000}» {ffd700}Admin 1:{ffffff} /dn • /up /fly • /lt • /rt • /check • /noooc • /adtest • /cweather • /spectate • /hirecar • /bigears"); SendClientMessage(playerid, COLOR_GREEN, "{ff0000}» {ffd700}Admin 1:{ffffff} /tv • /prison • /setint • /gotols • /gotomunte • /gotobank • /gotojizzy • /gotoburgerls • /gotosf • /gotolv"); SendClientMessage(playerid, COLOR_GREEN, "{ff0000}» {ffd700}Admin 1:{ffffff} /mark • /gotomark • /goto • /ccr • /slap • /atransfer • /unfreeze • /mute • /gotom • /respawn"); } if (PlayerInfo[playerid][pAdmin] >= 2) { SendClientMessage(playerid, COLOR_GREEN,"* {ff0000}» {ffd700}Admin 2:{ffffff} /cnn • /jail • /setteam • /gethere • /warn • /kick • /ahouse • /abiz • /freeze • /ip"); } if (PlayerInfo[playerid][pAdmin] >= 3) { SendClientMessage(playerid, COLOR_GREEN,"* {ff0000}» {ffd700}Admin 3:{ffffff} /entercar • /gotocar • /getcar • /unwarn • /disarm • /unarm"); } if (PlayerInfo[playerid][pAdmin] >= 4) { SendClientMessage(playerid, COLOR_GREEN,"{ff0000}» {ffd700}Admin 4:{ffffff} /fuelcars • /setskin • /healall • /armorall • /weather • /setskin • /fixveh • /fuelcars"); } if (PlayerInfo[playerid][pAdmin] >= 1337) { SendClientMessage(playerid, COLOR_GREEN,"{ff0000}» {ffd700}Admin 1337:{ffffff} /hirecar • /asellbiz • /house • /houseo • /biz • /asellbiz • /sbiz • /edit • /cnnn • /tod"); SendClientMessage(playerid, COLOR_GREEN,"{ff0000}» {ffd700}Admin 1337:{ffffff} /startlotto • /setfamily • /sethp • /setarmor • /showsbiz • /showsbiz • /agivelicense • /getip"); } if (PlayerInfo[playerid][pAdmin] >= 1338) { SendClientMessage(playerid, COLOR_GREEN,"{ff0000}» {ffd700}Admin 1338:{ffffff} /makeircadmin • /weatherall • /respawnallcars • /giverpall • /asellhouse • /makehelper"); SendClientMessage(playerid, COLOR_GREEN,"{ff0000}» {ffd700}Admin 1338:{ffffff} /asellsbiz • /setstat • /agivedrugs • /agivemats"); } if (PlayerInfo[playerid][pAdmin] >= 1339) { SendClientMessage(playerid, COLOR_GREEN,"{ff0000}» {ffd700}Admin 1339:{ffffff} /adtest • /cweather • /logout • /logoutall • /givelevelall • /servername • /setchamp • /ban • /veh • /givemoneyall"); SendClientMessage(playerid, COLOR_GREEN,"{ff0000}» {ffd700}Admin 1339:{ffffff} /makeadmin • /money • /givemoney • /givevip • /ungivevip • /sion • /loadmission • /cks • /savemis • /mk • /unarmall"); } } return 1; }
  16. Intreb si eu asa, voi cititi inainte sa postati?, mi se pare ca nu, uitati-va ce a specificat omu, "SA NU AI MAI APARA". De exemplu daca tu in script ai asa: { SendClientMessage(playerid, COLOR_WHITE, "SERVER: Comanda gresita."); } return 1; } Stergi de la inceput pana la sfarsit totul si compilezi si nu o sa-ti mai apara absolut nimic.
  17. D@rksone

    Intrebare!

    Daca te referi sa nu-ti mai apara acele mesaje, le stergi si compilezi, asa direct! )
  18. Ia incearca asa, am vazut ca aveai " )); " si trebuie utilizat " )) " public IsAtGasStation(playerid) { if(IsPlayerConnected(playerid)) { if(PlayerToPoint(6.0,playerid,1004.0070,-939.3102,42.1797) || PlayerToPoint(6.0,playerid,1944.3260,-1772.9254,13.3906)) {//LS return 1; } else if(PlayerToPoint(6.0,playerid,-90.5515,-1169.4578,2.4079) || PlayerToPoint(6.0,playerid,-1609.7958,-2718.2048,48.5391)) {//LS return 1; } else if(PlayerToPoint(6.0,playerid,-2029.4968,156.4366,28.9498) || PlayerToPoint(8.0,playerid,-2408.7590,976.0934,45.4175)) {//SF return 1; } else if(PlayerToPoint(5.0,playerid,-2243.9629,-2560.6477,31.8841) || PlayerToPoint(8.0,playerid,-1676.6323,414.0262,6.9484)) {//Between LS and SF return 1; } else if(PlayerToPoint(6.0,playerid,2202.2349,2474.3494,10.5258) || PlayerToPoint(10.0,playerid,614.9333,1689.7418,6.6968)) {//LV return 1; } else if(PlayerToPoint(8.0,playerid,-1328.8250,2677.2173,49.7665) || PlayerToPoint(6.0,playerid,70.3882,1218.6783,18.5165)) {//LV return 1; } else if(PlayerToPoint(8.0,playerid,2113.7390,920.1079,10.5255) || PlayerToPoint(6.0,playerid,-1327.7218,2678.8723,50.0625)) {//LV return 1; } } return 0; }
  19. Mura-n gura , asta e: Comanda: /open if(strcmp(cmd, "/open", true) == 0) { if(IsPlayerConnected(playerid)) { for(new i = 0; i < sizeof(HouseInfo); i++) { if (PlayerToPoint(3, playerid,HouseInfo[i][hEntrancex], HouseInfo[i][hEntrancey], HouseInfo[i][hEntrancez]) || PlayerToPoint(3, playerid,HouseInfo[i][hExitx], HouseInfo[i][hExity], HouseInfo[i][hExitz])) { if(PlayerInfo[playerid][pPhousekey] == i) { if(HouseInfo[i][hLock] == 1) { HouseInfo[i][hLock] = 0; GameTextForPlayer(playerid, "~w~Door ~g~Unlocked", 5000, 6); PlayerPlaySound(playerid, 1145, 0.0, 0.0, 0.0); return 1; } if(HouseInfo[i][hLock] == 0) { HouseInfo[i][hLock] = 1; GameTextForPlayer(playerid, "~w~Door ~r~Locked", 5000, 6); PlayerPlaySound(playerid, 1145, 0.0, 0.0, 0.0); return 1; } } else { GameTextForPlayer(playerid, "~r~You Dont Have A Key", 5000, 6); return 1; } } } for(new i = 0; i < sizeof(BizzInfo); i++) { if (PlayerToPoint(3, playerid,BizzInfo[i][bEntranceX], BizzInfo[i][bEntranceY], BizzInfo[i][bEntranceZ]) || PlayerToPoint(3, playerid,BizzInfo[i][bExitX], BizzInfo[i][bExitY], BizzInfo[i][bExitZ])) { if(PlayerInfo[playerid][pPbiskey] == i) { if(BizzInfo[i][bLocked] == 1) { BizzInfo[i][bLocked] = 0; GameTextForPlayer(playerid, "~w~Bussiness ~g~Open", 5000, 6); PlayerPlaySound(playerid, 1145, 0.0, 0.0, 0.0); return 1; } if(BizzInfo[i][bLocked] == 0) { BizzInfo[i][bLocked] = 1; GameTextForPlayer(playerid, "~w~Bussiness ~r~Closed", 5000, 6); PlayerPlaySound(playerid, 1145, 0.0, 0.0, 0.0); return 1; } } else { GameTextForPlayer(playerid, "~r~You Dont Have A Key", 5000, 6); return 1; } } } for(new i = 0; i < sizeof(SBizzInfo); i++) { if (PlayerToPoint(3, playerid,SBizzInfo[i][sbEntranceX], SBizzInfo[i][sbEntranceY], SBizzInfo[i][sbEntranceZ])) { if(PlayerInfo[playerid][pPbiskey] == i+100) { if(SBizzInfo[i][sbLocked] == 1) { SBizzInfo[i][sbLocked] = 0; GameTextForPlayer(playerid, "~w~Bussiness ~g~Open", 5000, 6); PlayerPlaySound(playerid, 1145, 0.0, 0.0, 0.0); return 1; } if(SBizzInfo[i][sbLocked] == 0) { SBizzInfo[i][sbLocked] = 1; GameTextForPlayer(playerid, "~w~Bussiness ~r~Closed", 5000, 6); PlayerPlaySound(playerid, 1145, 0.0, 0.0, 0.0); return 1; } } else { GameTextForPlayer(playerid, "~r~You Dont Have A Key", 5000, 6); return 1; } } } } return 1; }
  20. Am fost salvat de toti care ma contactau pe Yahoo Messenger " Ma inveti sa urc server pe host ? ". De astazi ai redirectionezi pe toti aici si numai stau eu sa le explica! Folositor pentru cine nu stie!.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.