Jump to content

viji

Membru
  • Posts

    29
  • Joined

  • Last visited

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

viji's Achievements

Explorer

Explorer (4/14)

  • One Month Later
  • Collaborator
  • Week One Done
  • Dedicated Rare
  • First Post

Recent Badges

0

Reputation

  1. salut, stie cineva cum pot baga boti pe un server de samp? de exemplu 10 - 20 de boti
  2. scuze, poftim https://pastebin.com/G0RPuiwy
  3. salut, am facut un special quest exact ca edison. dar am o problema, nu mi se reseteaza questul dupa 24h, gen sa fie facut odata pe zi
  4. salut, am in database 9 job uri iar in joc sunt doar 8, si in /jobs imi arata doar 8 joburi, folosesc gm chars
  5. salut, stie cineva cum pot modifica sa nu imi mai arate 0 - 8 randuri? adica am 9 joburi si acolo imi arata doar 8. sa pot modifica in 0-9
  6. viji

    eroare job

    verificat, ii totul cum trebuie
  7. viji

    eroare job

    mentionez ca dupa ce dau /work pe joc primesc erorile astea in consola [debug] Run time error 4: "Array index out of bounds" [debug] Attempted to read/write array element at index 65535 in array of size 2000 [debug] AMX backtrace: [debug] #0 003226c0 in CreateVehicleEx (modelid=0, Float:x=262.59055, Float:y=1454.04639, Float:z=10.58594, Float:angle=0.00000, color1=-1, color2=-1, respawn_delay=-1, clanson=0) at gameep.pwn:30474 [debug] #1 00289f54 in public @_yCstartwork (playerid=0, params[]=@028e21ec "", help=0) at gameep.pwn:23138 [debug] #2 002874a8 in public @yC_startwork (0, 42869228, 0, 0) at gameep.pwn:22967 [debug] #3 native CallRemoteFunction () in samp-server.exe [debug] #4 00040cd8 in Command_Process (playerid=0, cmdtext[]=@028e21d4 "/work", help=0) at C:\Users\alexo\Desktop\gameep\compiler\include\YSI\y_commands.inc:2503 [debug] #5 00040318 in ?? (0, 42869204) at C:\Users\alexo\Desktop\gameep\compiler\include\YSI\y_commands.inc:2297 [debug] #6 0002fe70 in public OnPlayerCommandText (playerid=0, cmdtext[]=@028e21d4 "/work") at C:\Users\alexo\Desktop\gameep\compiler\include\YSI\y_hooks/impl.inc:946
  8. viji

    eroare job

    Salut, am create un job exact ca in video-ul de mai jos si intampin niste probleme. ID urile la job uri se fac din database, am creat acolo job ul, am facut cp uri pentru joc iar cand intru pe server si dau jobs, nu il gasesc, merge sa dau work, imi pune cp urile dar nu il gasesc in /jobs si nici nu imi da spawn la car cand dau work, doar imi pune cp urile
  9. salut, unele cladiri de pe gm chars sunt retexturare. are cineva vreo idee cum le pot scoate? sa fie default
  10. PlayerInfo[playerid][pSPoints] = cache_get_field_content_int(0, "SpecialPoints");
  11. salut, am facut niste special points la un gamemode in stil bpoints cum are bhood. Dar am o problema, nu mi se salveaza punctele, dupa ce dau reconnect le am pe 0. Mentionez ca am facut tabel in data base
  12. multumesc pentru ajutor, am rezolvat
  13. hook OnPlayerKeyStateChange(playerid, newkeys, oldkeys) { if(SpecialQuest[playerid]) { if(newkeys == KEY_YES) { if(IsPlayerInAnyVehicle(playerid)) return 1; new Float: x, Float: y, Float: z; GetPlayerObjectPos(playerid, quest_objects, x, y, z); if(!PlayerToPoint(3.0, playerid, x, y, z)) return 1; PlayerInfo[playerid][quest_objects] ++; UpdateVar(playerid, "quest_objects", PlayerInfo[playerid][quest_objects]); RemovePlayerMapIcon(playerid, 50); DestroyPlayerObject(playerid, questObject[playerid]); if(CheckObjects(playerid) == QUEST_OBJECTS) { DestroyVehicle(questVehicle[playerid]); questVehicle[playerid] = 0; SpecialQuest[playerid] = 0; gString[0] = EOS; format(gString, sizeof(gString), "(( Info: %s a terminat Quest-ul Special si a primit un premiu!))", GetName(playerid)); SendClientMessageToAll(COLOR_CLIENT, gString); new rand_money = 20000 + random(10000), rand_rp = 3 + random(3), rand_pp = 3 + random(3); GivePlayerMoney(playerid, rand_money); PlayerInfo[playerid][pExp] += rand_rp; PlayerInfo[playerid][pPremiumPoints] += rand_pp; Update(playerid, pCashx); Update(playerid, pRP); Update(playerid, pPremiumPointsx); gString[0] = EOS; format(gString, sizeof(gString), "Felicitari! Ai primit: $%s, %d respect points si %d puncte premium.", FormatNumber(rand_money), rand_rp, rand_pp); SCM(playerid, COLOR_YELLOW, gString); } else set_quest_point(playerid); } } return 1; }
×
×
  • 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.