Jump to content

TSN

Member
  • Posts

    280
  • Joined

  • Last visited

  • Days Won

    4

Everything posted by TSN

  1. Recomand! Am achizitionat si eu de la el!
  2. Am pus deja, si tot pica. Si cu showstats nu am inteles la ce te referi...
  3. Da. Daca scot urmatoarele linii, nu mai pica. format(string, sizeof(string), "{008080}SHOP: {FFFFFF}Interior-ul casei tale ID:(%d), a fost modificat in unul VIP.", hkey); SCM(playerid, COLOR_WHITE, string); HouseInfo[hkey][hOwner][hExitx] = Pos[0] = 1378.0913; HouseInfo[hkey][hOwner][hExity] = Pos[1] = -820.3952; HouseInfo[hkey][hOwner][hExitz] = Pos[2] = 1092.3500; HouseInfo[hkey][hInterior] = GetPlayerInterior(playerid); SCM(playerid, COLOR_LGREEN, "Interiorul casei a fost modificat!"); format(query, sizeof(query), "UPDATE `houses` SET `Exitx`='%f', `Exity`='%f', `Exitz`='%f', `Interior`='%d' WHERE `ID`='%d'", Pos[0], Pos[1], Pos[2], GetPlayerInterior(playerid), hkey); mysql_query(SQL, query); SetPlayerPos(playerid, 1378.0913,-820.3952,1092.3500);
  4. Acum 2 minute, nobilzeusAdv a spus: cauta hkey unde este definit if(PlayerInfo[playerid][pPremiumPoints] < 2000) return SCM(playerid, -1, "Nu ai suficiente puncte premium!"); if(GetPlayerInterior(playerid) == 0) return SCM(playerid, COLOR_LGREEN, "{008080}Eroare: {FFFFFF}Nu esti in interior-ul casei tale!"); if(PlayerInfo[playerid][pHouse] != 999 && strcmp(GetName(playerid), HouseInfo[PlayerInfo[playerid][pHouse]][hOwner], true) == 0) { } else return SCM(playerid, COLOR_GREY, "Nu ai o casa!"); new hkey = PlayerInfo[playerid][pHouse],result = 999,str[180], Float: Pos[3]; PlayerInfo[playerid][pPremiumPoints] -= 2000; Update(playerid, pPremiumPointsx); format(string, sizeof(string), "{008080}SHOP: {FFFFFF}Felicitari! Ti-ai cumparat level 999 la casa ID:(%d). Beneficii /house.", hkey); SCM(playerid, COLOR_WHITE, string); format(string, sizeof(string), "%s si-a achizitionat Level 999 la casa lui pentru 2000 puncte premium.", GetName(playerid)); InsertLog(playerid, string, LOG_SHOP); HouseInfo[hkey][hLevel] = result; format(str, sizeof(str), "UPDATE `houses` SET `Level`='%d' WHERE `ID`='%d'", result, hkey); mysql_query(SQL,str); UpdateLabel(1, hkey); // daca scot asta de jos, nu mai pica ! format(string, sizeof(string), "{008080}SHOP: {FFFFFF}Interior-ul casei tale ID:(%d), a fost modificat in unul VIP.", hkey); SCM(playerid, COLOR_WHITE, string); HouseInfo[hkey][hOwner][hExitx] = Pos[0] = 1378.0913; HouseInfo[hkey][hOwner][hExity] = Pos[1] = -820.3952; HouseInfo[hkey][hOwner][hExitz] = Pos[2] = 1092.3500; HouseInfo[hkey][hInterior] = GetPlayerInterior(playerid); SCM(playerid, COLOR_LGREEN, "Interiorul casei a fost modificat!"); format(query, sizeof(query), "UPDATE `houses` SET `Exitx`='%f', `Exity`='%f', `Exitz`='%f', `Interior`='%d' WHERE `ID`='%d'", Pos[0], Pos[1], Pos[2], GetPlayerInterior(playerid), hkey); mysql_query(SQL, query); SetPlayerPos(playerid, 1378.0913,-820.3952,1092.3500);
  5. 19678 - YCMD:stats(playerid, params[], help) return ShowStats(playerid,playerid); 34255- if(hkey != 999) { if(hkey != 999 && strcmp(GetName(targetid), HouseInfo[hkey][hOwner], true) == 0) format(string, sizeof(string), "House: %d | ", hkey); else format(string, sizeof(string), "Rent House: %d | ", hkey); strcat(infostring, string); }
  6. [18:59:33] [debug] Server crashed while executing abiregele.amx [18:59:33] [debug] AMX backtrace: [18:59:33] [debug] #0 native strcmp () from samp-server.exe [18:59:33] [debug] #1 0036f7f0 in public ShowStats (playerid=0, targetid=0) at abiregele.pwn:34255 [18:59:33] [debug] #2 00244ff4 in public @_yCstats (playerid=0, params[]=@03a59c80 "", help=0) at abiregele.pwn:19678 [18:59:33] [debug] #3 00244f84 in public @yC_stats (... <4 arguments>) at abiregele.pwn:19678 [18:59:33] [debug] #4 native CallRemoteFunction () from samp-server.exe [18:59:33] [debug] #5 000410c4 in Command_Process (playerid=0, cmdtext[]=@03a59c64 "/stats", help=0) at C:\Users\Alex-PC\Desktop\GM AbiRegele\pawno\include\YSI\y_commands.inc:2503 [18:59:33] [debug] #6 00040704 in ?? (... <2 arguments>) at C:\Users\Alex-PC\Desktop\GM AbiRegele\pawno\include\YSI\y_commands.inc:2297 [18:59:33] [debug] #7 0003025c in public OnPlayerCommandText (playerid=0, cmdtext[]=@03a59c64 "/stats") at C:\Users\Alex-PC\Desktop\GM AbiRegele\pawno\include\YSI\y_hooks/impl.inc:946 [18:59:33] [debug] Native backtrace: [18:59:33] [debug] #0 7655c9d7 in ?? () from C:\Windows\SYSTEM32\KERNELBASE.dll [18:59:33] [debug] #1 004061b4 in ?? () from samp-server.exe Tin sa mentionez ca dupa ce pica server-ul si il pornesc iar, merge totul perfect. Doar dupa ce cumpar si dau /stats pica.
  7. Username: dulcaalexandruProblema întălnită: Cand sau /stats pica server-ul.Detalii despre problemă: Am adaugat sa cumperi casa de nivel 999 in shop si sa iti schimbe interior-ul. Dupa ce dau sa cumpar casa din shop, tot-ul bine, insa daca dau /stats pica server-ul.Ce ai încercat să faci înainte să postezi?: nimic pentru ca nu stiu motivatia...Cod sursă (recomandat pastebin.com) : https://pastebin.com/2bT5s7SpAlte detalii: Multumesc anticipat.
  8. Rezolvat, am pus HouseInfo[playerid][hLevel] = result; inloc de HouseInfo[hkey][hLevel] = result; T/C Rezolvat.
  9. Vrei sa imi zici mie ca daca iti cumpara cineva cont-ul si baga 500 euro skin-uri CS:GO nu-l recuperezi? Ahahah... Nu recomand!
  10. Username:dulcaalexandruProblema întălnită: Am adaugat in shop sa cumperi level la casa 999, insa dupa ce cumpar, nu imi seteaza level 999 la casa imediat, cii dupa restart.Detalii despre problemă: Daca setez level-ul la casa cu comanda /edithouse se editeaza in mod real, adica imediat.Ce ai încercat să faci înainte să postezi?: Pai nu stiu ce sa mai incerc...Cod sursă (recomandat pastebin.com) : https://pastebin.com/R3TsbbvpAlte detalii: Multumesc anticipat!
  11. Nu prea recomand, in momentul de fata daca vand un cont de steam dupa 5 minute il pot recupera fara nicio problema...
  12. Serios frate, chiar nimeni?
  13. #define function%0(%1) forward %0(%1); public %0(%1)
  14. Username: dulcaalexandruProblema întălnită: la compilareDetalii despre problemă: Cand compilez cu zeex-compile imi compileaza dar imi da aceste warning-uriCe ai încercat să faci înainte să postezi?:nimic pentru ca nu stiu de la ce provine.Cod sursă (recomandat pastebin.com) :Alte detalii: abiregele.pwn(14378) : warning 208: function with tag result used before definition, forcing reparse abiregele.pwn(30622) : warning 208: function with tag result used before definition, forcing reparse abiregele.pwn(36327) : warning 208: function with tag result used before definition, forcing reparse -14378 function Float:GetDistanceBetweenPlayers(p1,p2) { new Float:x1,Float:y1,Float:z1,Float:x2,Float:y2,Float:z2; if(!IsPlayerConnected(p1) || !IsPlayerConnected(p2)) return -1.00; GetPlayerPos(p1,x1,y1,z1); GetPlayerPos(p2,x2,y2,z2); return floatsqroot(floatpower(floatabs(floatsub(x2,x1)),2)+floatpower(floatabs(floatsub(y2,y1)),2)+floatpower(floatabs(floatsub(z2,z1)),2)); } -30622 function Float:DistanceToPlayer(playerid, targetid) { new Float: Pos[3], Float: distance; GetPlayerPos(targetid, Pos[0], Pos[1], Pos[2]); distance = GetPlayerDistanceFromPoint(playerid, Pos[0], Pos[1], Pos[2]); return distance; } -36327 function Float:DistanceCameraTargetToLocation(Float:CamX, Float:CamY, Float:CamZ, Float:ObjX, Float:ObjY, Float:ObjZ, Float:FrX, Float:FrY, Float:FrZ) { new Float:TGTDistance; TGTDistance = floatsqroot((CamX - ObjX) * (CamX - ObjX) + (CamY - ObjY) * (CamY - ObjY) + (CamZ - ObjZ) * (CamZ - ObjZ)); new Float:tmpX, Float:tmpY, Float:tmpZ; tmpX = FrX * TGTDistance + CamX; tmpY = FrY * TGTDistance + CamY; tmpZ = FrZ * TGTDistance + CamZ; return floatsqroot((tmpX - ObjX) * (tmpX - ObjX) + (tmpY - ObjY) * (tmpY - ObjY) + (tmpZ - ObjZ) * (tmpZ - ObjZ)); } Tin sa mentionez ca daca compilez cu pawno normal nu imi arata aceste warning-uri
  15. Achizitionat de mine, recomand x2 !
  16. Nu iti mai da cu parerea aiurea daca nu stii. Cat despre dovada, nu este dovada mea, cii a lui Sebastian. Am aflat de la el de aceasta metoda si am pus-o in practica de ieri, am deja 20euro cu afiliati adusi si sondajele facute, cand voi atinge suma de 200euro o sa postez inca o dovada. Cat despre Scam, sunt o multime de site-uri care ofera pentru participarea in cercetare o recompensa exprimata intr-o anumita suma de bani.
  17. Cod-ul este ok, verifica in Database la tabel-ul svehicles si la Field "Faction" modifica cu ID-ul factiunii, in cazul tau 15. Daca nu ai adaugat masini factiunii, le poti adauga acolo dupa care face ce ti-am spus mai sus.
×
×
  • Create New...