-
Posts
135 -
Joined
-
Last visited
Content Type
Profiles
Forums
News
Documentation
Posts posted by ..H3AtonN..
-
-
As avea si eu o rugaminte..Poate ma ajuta si pe mine cineva..
Deci mai jos o sa las un link,cu un sistem de tune..adica iti tunezi masina folosind comanda /tune..as vrea ca la acest fs..sa ii adaug o comanda.. adica .givetune..cu aceasta comanda sa ii dau accesibilitate unui player sa o foloseasca..adica daca eu scriu /givetune 0 .. id 0 sa poata sa foloseasca aceasta comanda la nesfarsit..
-
Problema intalnita (descriere): Deci am o problema cu sistemul de /Createhouse..Am facut 149 de case.. si cand dau iara /createhouse 1 1 1(de ex) imi da Comanda Necunoscuta..De cee??
Ero(area / rile) / warning-(ul / urile): -
Liniile de cod / sursa / script-ul(obligatoriu):CitatCMD:createhouse(playerid, params[])
{
new Float:Pos[3], Float:IntPos[3], inter, ivInt, ivPrice, ivLevel;
if(gLogged[playerid] == 0) return SendClientMessage(playerid, COLOR_ERROR, "Tu nu esti logat si nu poti sa folosesti aceasta comanda!");
if(PlayerInfo[playerid][pAdmin] < 6) return SendClientMessage(playerid, COLOR_ERROR, "Nu ai gradul necesar ca sa folosesti aceasta comanda!");
if(sscanf(params,"iii",ivLevel,ivPrice,ivInt)) return SendClientMessage(playerid, COLOR_SYN, "Tasteaza:{FFFFFF} /createhouse <level> <price> <intid>");
{
if(ivLevel < 1 || ivLevel > 50) return 1;
if(ivPrice < 1 || ivPrice > 100000000) return 1;
if(ivInt < 1 || ivInt > 42) return 1;
GetPlayerPos(playerid, Pos[0], Pos[1], Pos[2]);if(ivInt == 1)IntPos[0] = 140.17, IntPos[1] = 1366.07, IntPos[2] = 1083.65, inter = 5;
else if(ivInt == 2)IntPos[0] = 2324.53, IntPos[1] = -1149.54, IntPos[2] = 1050.71, inter = 12;
else if(ivInt == 3)IntPos[0] = 225.68, IntPos[1] = 1021.45, IntPos[2] = 1084.02, inter = 7;
else if(ivInt == 4) IntPos[0] = 234.19, IntPos[1] = 1063.73, IntPos[2] = 1084.21, inter = 6;
else if(ivInt == 5) IntPos[0] = 226.30, IntPos[1] = 1114.24, IntPos[2] = 1080.99, inter = 5;
else if(ivInt == 6) IntPos[0] = 235.34, IntPos[1] = 1186.68, IntPos[2] = 1080.26, inter = 3;
else if(ivInt == 7) IntPos[0] = 491.07, IntPos[1] = 1398.50, IntPos[2] = 1080.26, inter = 2;
else if(ivInt == 8) IntPos[0] = 24.04, IntPos[1] = 1340.17, IntPos[2] = 1084.38, inter = 10;
else if(ivInt == 9) IntPos[0] = -283.44, IntPos[1] = 1470.93, IntPos[2] = 1084.38, inter = 15;
else if(ivInt == 10) IntPos[0] = -260.49, IntPos[1] = 1456.75, IntPos[2] = 1084.37, inter = 4;
else if(ivInt == 11) IntPos[0] = 83.03, IntPos[1] = 1322.28, IntPos[2] = 1083.87, inter = 9;
else if(ivInt == 12) IntPos[0] = 2317.89, IntPos[1] = -1026.76, IntPos[2] = 1050.22, inter = 9;
else if(ivInt == 13) IntPos[0] = 2495.98, IntPos[1] = -1692.08, IntPos[2] = 1014.74, inter = 3;
else if(ivInt == 14) IntPos[0] = 2807.48, IntPos[1] = -1174.76, IntPos[2] = 1025.57, inter = 8;
else if(ivInt == 15) IntPos[0] = 2196.85, IntPos[1] = -1204.25, IntPos[2] = 1049.02, inter = 6;
else if(ivInt == 16) IntPos[0] = 377.15, IntPos[1] = 1417.41, IntPos[2] = 1081.33, inter = 15;
else if(ivInt == 17) IntPos[0] = 2270.38, IntPos[1] = -1210.35, IntPos[2] = 1047.56, inter = 10;
else if(ivInt == 18) IntPos[0] = 446.99, IntPos[1] = 1397.07, IntPos[2] = 1084.30, inter = 2;
else if(ivInt == 19) IntPos[0] = 387.22, IntPos[1] = 1471.70, IntPos[2] = 1080.19, inter = 15;
else if(ivInt == 20) IntPos[0] = 22.88, IntPos[1] = 1403.33, IntPos[2] = 1084.44, inter = 5;
else if(ivInt == 21) IntPos[0] = 2365.31, IntPos[1] = -1135.60, IntPos[2] = 1050.88, inter = 8;
else if(ivInt == 22) IntPos[0] = 2237.59, IntPos[1] = -1081.64, IntPos[2] = 1049.02, inter = 2;
else if(ivInt == 23) IntPos[0] = 295.04, IntPos[1] = 1472.26, IntPos[2] = 1080.26, inter = 15;
else if(ivInt == 24) IntPos[0] = 261.12, IntPos[1] = 1284.30, IntPos[2] = 1080.26, inter = 4;
else if(ivInt == 25) IntPos[0] = 221.92, IntPos[1] = 1140.20, IntPos[2] = 1082.61, inter = 4;
else if(ivInt == 26) IntPos[0] = -68.81, IntPos[1] = 1351.21, IntPos[2] = 1080.21, inter = 6;
else if(ivInt == 27) IntPos[0] = 260.85, IntPos[1] = 1237.24, IntPos[2] = 1084.26, inter = 9;
else if(ivInt == 28) IntPos[0] = 2468.84, IntPos[1] = -1698.24, IntPos[2] = 1013.51, inter = 2;
else if(ivInt == 29) IntPos[0] = 223.20, IntPos[1] = 1287.08, IntPos[2] = 1082.14, inter = 1;
else if(ivInt == 30) IntPos[0] = 2283.04, IntPos[1] = -1140.28, IntPos[2] = 1050.90, inter = 11;
else if(ivInt == 31) IntPos[0] = 328.05, IntPos[1] = 1477.73, IntPos[2] = 1084.44, inter = 15;
else if(ivInt == 32) IntPos[0] = 223.20, IntPos[1] = 1287.08, IntPos[2] = 1287.08, inter = 1;
else if(ivInt == 33) IntPos[0] = -42.59, IntPos[1] = 1405.47, IntPos[2] = 1084.43, inter = 8;
else if(ivInt == 34) IntPos[0] = 446.90, IntPos[1] = 506.35, IntPos[2] = 1001.42, inter = 12;
else if(ivInt == 35) IntPos[0] = 299.78, IntPos[1] = 309.89, IntPos[2] = 1003.30, inter = 4;
else if(ivInt == 36) IntPos[0] = 2308.77, IntPos[1] = -1212.94, IntPos[2] = 1049.02, inter = 6;
else if(ivInt == 37) IntPos[0] = 2233.64, IntPos[1] = -1115.26, IntPos[2] = 1050.88, inter = 5;
else if(ivInt == 38) IntPos[0] = 2218.40, IntPos[1] = -1076.18, IntPos[2] = 1050.48, inter = 1;
else if(ivInt == 39) IntPos[0] = 266.50, IntPos[1] = 304.90, IntPos[2] = 999.15, inter = 2;
else if(ivInt == 40) IntPos[0] = 243.72, IntPos[1] = 304.91, IntPos[2] = 999.15, inter = 1;
else if(ivInt == 41) IntPos[0] = 343.81, IntPos[1] = 304.86, IntPos[2] = 999.15, inter = 6;
else if(ivInt == 42) IntPos[0] = 2259.38, IntPos[1] = -1135.77, IntPos[2] = 1050.64, inter = 10;++ Total_House_Created;
new house = Total_House_Created;
HouseInfo[house][hEntranceX] = Pos[0];
HouseInfo[house][hEntranceY] = Pos[1];
HouseInfo[house][hEntranceZ] = Pos[2];
HouseInfo[house][hExitX] = IntPos[0];
HouseInfo[house][hExitY] = IntPos[1];
HouseInfo[house][hExitZ] = IntPos[2];
strmid(HouseInfo[house][hOwner], "The State", 0, MAX_PLAYER_NAME, MAX_PLAYER_NAME);
HouseInfo[house][hValue] = ivPrice;
HouseInfo[house][hInt] = inter;
HouseInfo[house][hLock] = 1;
HouseInfo[house][hOwned] = 0;
HouseInfo[house][hRent] = 1;
HouseInfo[house][hRentable] = 0;
HouseInfo[house][hSafe] = 0;
HouseInfo[house][hLevel] = ivLevel;
HouseInfo[house][hWorld] = Total_House_Created;
HouseInfo[house][hSellPrice] = 0;gQuery[0] = (EOS);
mysql_format(handle, gQuery, sizeof(gQuery) ,"INSERT INTO `houses` (`ID`,`EntranceX`,`EntranceY`,`EntranceZ`,`ExitX`,`ExitY`,`ExitZ`,`Owner`,`Value`,`Interior`,`Lock`,`Owned`,`Rent`,`Rentable`,`Safe`,`Level`,`World`) VALUES (%d,%f,%f,%f,%f,%f,%f,'%e',%d,%d,%d,%d,%d,%d,%d,%d,%d)",
Total_House_Created,
HouseInfo[house][hEntranceX],
HouseInfo[house][hEntranceY],
HouseInfo[house][hEntranceZ],
HouseInfo[house][hExitX],
HouseInfo[house][hExitY],
HouseInfo[house][hExitZ],
HouseInfo[house][hOwner],
HouseInfo[house][hValue],
HouseInfo[house][hInt],
HouseInfo[house][hLock],
HouseInfo[house][hOwned],
HouseInfo[house][hRent],
HouseInfo[house][hRentable],
HouseInfo[house][hSafe],
HouseInfo[house][hLevel],
HouseInfo[house][hWorld]);
mysql_query(handle ,gQuery);
format(gString, sizeof(gString), "House %d\nAceasta casa este la vanzare!\nPrice: {FFFFFF}$%s\n{FF9933}Level: {FFFFFF}%d\n{FF9933}Pentru a cumpara aceasta casa,Foloseste comanda /buyhouse.",house,FormatNumber(HouseInfo[house][hValue]),HouseInfo[house][hLevel]);
HouseInfo[house][hTextInfo] = CreateDynamic3DTextLabel(gString,0xFF9933FF,HouseInfo[house][hEntranceX], HouseInfo[house][hEntranceY], HouseInfo[house][hEntranceZ]+0.5,15, INVALID_PLAYER_ID, INVALID_VEHICLE_ID, 0, -1, -1, -1, 15.0);
HouseInfo[house][hPickup] = CreateDynamicPickup(1273, 1, HouseInfo[house][hEntranceX], HouseInfo[house][hEntranceY], HouseInfo[house][hEntranceZ], -1, -1, -1, 15.0);
}
return 1;
}
Imagini / Video (optional): -
Ati incercat sa rezolvati singur?: Nu stiu ce sa fac -
Stie cineva ce sa-i fac?
-
Acum 11 minute, Extremys a spus:
Nu poti face asta doar daca gasesti si .pwn acolo unde ai gasit .amx
Ok,Ms
-
Acum 12 minute, Extremys a spus:
Nu poti face sa apara .pwn
Pff,pai si daca vreau sa modific? cum modific?
-
Bai baieti,as avea si eu o mica intrebare..Am luat un filescript de pe net,si are doar fisierul .amx,Filescript-ul merge,dar as vrea sa il modific eu,dar nu am cum sa il modific ca am doar .amx-ul la el..cum fac sa apara si pwn?
-
Am gasit un sistem de tunning. NU ESTE FACUT DE MINE!
Poze:Putin Mai Jos.
Cum se instaleaza?:Pai,descarcati fisierul .amx,il bagati in folderul Filescripts,dupa intrati in Server.cfg,si cautati Filescript,si adaugati langa wTUNING.Exact asa
Cum fac sa imi apara acel "Meniu?":Intrati intr-o masina,si scrieti /tune
Link: https://www.mediafire.com/?o21735edq2u6097
Daca iti place acest sistem,da o nota,si +1
- 1
-
Problema intalnita (descriere): Deci,daca creez o casa,/Createhouse 10 100000 3,Daca imi dau /respawn,ma respawneaza in casa,dar daca ies de pe server,sau dau restart la server,ma spawneaza pe un camp,in imaginea de mai jos,si pic in gol,dupa ma duce sus pe asfalt..Dar nu inteleg de ce imi face asta..
Ero(area / rile) / warning-(ul / urile): Nu imi da nici o eroare.
Liniile de cod / sursa / script-ul(obligatoriu): Am pus comanda pe Pastebin: http://pastebin.com/yrws13p7
Imagini / Video (optional): Mai jos.
Ati incercat sa rezolvati singur?: Chiar nu am idee,ce sa incerc.. -
Acum 13 ore, Extremys a spus:
Pai pune in loc #define DIALOG_BIZZ 27 in loc de 27 pune 9091
Iti multumesc din suflet!
-
Acum 34 minute, Extremys a spus:
Da Restaurant Ls pune asa restaurant ls"," SELECT","EXIT"); SI VEZI UNDE SI CUM PUI RETURN 1;
Si vezi la #define DIALOG_BIZZ 27 ACEL 27 SA NU SE REPETE LA ALT DIALOG ADICA SA NU AI PE ACOLO DE EXEMPLU #DEFINE DIALOG_SELLBIZZ 27
Da frate,eu am pus,am copilat,si daca dau /bizzbug123,mie imi da in chat"Nu detii un Bizz",si daca am un bizz,mi-l vinde..asta este Problema mea!!
-
Ma ajuta cineva,va rog
-
Uite aici,am put tot ce este nevoie,sa nu mai zica unu si atlu,da aia,da aia..Am pus toata comanda,cu tot cu dialog si tot
Acum 22 minute, iSkull a spus:pune dialogul mai > 0
-
Acum 2 ore, Extremys a spus:
-
CMD:bizzbug123(playerid,params[])
-
{
-
ShowPlayerDialog(playerid, DIALOG_BIZZ, DIALOG_STYLE_LIST,"Bizurile:","Gun Shop LS\nurmatoarea locatie\n si tot asa\ndar sa fie in ordinea de la ondialogresponse,"SELECT", "EXIT");
-
return 1;(nu stiu daca am pus binerreturnu asta aunt pe tableta si ma grabesc)
-
}
Frate am pus,si imi da erorile de mai jos
Linia-Cod:ShowPlayerDialog(playerid, DIALOG_BIZZ, DIALOG_STYLE_LIST,"Bizurile:","Gun Shop LS\nBank Los Santos\n24/7 VineWood\n24/7 Taxi\nHot Dog Company\nRent Car Los Santos\nCNN Los Santos\nPhone Company\nVehicle Tow Company\nPay 'N Spray\nPay 'N Spray\nPay 'N Spray\nZIP\nBenzinarie\nBenzinarie\nBenzinarie\nAlhambra Night Club\nLos Santos Hospital\nPaintBall Los Santos\nTransfender Los Santos\nLoco Low Los Santos\nVehicle Color\nInsurance and Vehicle Registration\nRestaurant LS"SELECT", "EXIT");
-
-
Ma ajuta si pe mine cineva??
-
Acum 20 ore, Mister a spus:
Bun, dar care este problema,comanda bizzbug este asellbiz doar ca are if esti detinator.
Din ce ai scris tu,nu am citit comenzile
Bai frate,eu am vrut sa fac comanda /bizz,adica scrii /bizz si sa iti apara toate bizurile,si tu daca dai pe unul,sa iti dea un checkpoint,unde se afla..
Problema este BizzBug
-
Am si eu o problema..Am facut comanda /bizzbug123,am pus-o asa,ca are un bug,dupa ce il rezolv,o sa o schimb in /biz,asa..si daca scriu in game /bizzbug123,si selectez un bizz de acolo,imi apare in chat Nu detii un Bizz,Dar daca am un bizz,mi-l vinde..Ce sa fac?Am pus mai jos tot ce trebuie!
Comanda /Sellbiz http://pastebin.com/rL2YXbir
Comanda /bizzbug123: http://pastebin.com/07QxEHZe
Va rog eu din suflet sa ma ajutati!
-
Problema intalnita (descriere): Deci,daca creez o casa,/Createhouse 10 100000 3,Daca imi dau /respawn,ma respawneaza in casa,dar daca ies de pe server,sau dau restart la server,ma spawneaza pe un camp,in imaginea de mai jos,si pic in gol,dupa ma duce sus pe asfalt..Dar nu inteleg de ce imi face asta..
Ero(area / rile) / warning-(ul / urile): Nu imi da nici o eroare.
Liniile de cod / sursa / script-ul(obligatoriu): Am pus comanda pe Pastebin: http://pastebin.com/yrws13p7
Imagini / Video (optional): Mai jos.
Ati incercat sa rezolvati singur?: Chiar nu am idee,ce sa incerc.. -
L-ai sters pe cel vechi? Trebuie sa ai doar 1,degeaba l-ai bagat pe acesta,daca inca in ai pe cel vechi.Mai intai sterge-l pe cel vechi si dupa baga-l pe acesta nou!
-
Ma ajuta si pe mine cineva cu asta? va rog eu mult! Trebuie sa scurtati linia,nu stiu cum ar trebui sa fac asta!
-
Acum 5 minute, DaEdRiC-FoX a spus:
Unde ai "muje", șterge virgula si gata
Frate iti multumesc din tot sufletul meu.Esti cel mai tare! +1
-
Multumesc mult frate
Acum 20 minute, DaEdRiC-FoX a spus:Frate,am gasit unul,http://forum.sa-mp.com/showthread.php?t=557678 si i-am dat copilare,a mers,dar am mai adaugat eu mai multe,si imi da 2 erori,ma poti ajuta te rog frumos,dau +1.
-
Acum 2 ore, DaEdRiC-FoX a spus:
Are o poza, pătrățel mic, dai click acolo.si ti se deschide o fereastră solid files
Mie nu mi-o arata,ai putea sa imi dai tu link-ul te rog frumos
-
Acum 2 ore, DaEdRiC-FoX a spus:
Dar acolo scrie Download Here,dar nu are link de download..de unde sa il descarc?
-
Ma ajuta si pe mine cineva? va rog!
Sistem Tune
in Discuţii scripting
Posted
Pentru tine e simplu frate.. Ma ajuti man si pe mine te rog eu frumos