-
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
-
salut, stie cineva cum pot baga boti pe un server de samp? de exemplu 10 - 20 de boti
-
scuze, poftim https://pastebin.com/G0RPuiwy
-
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
-
salut, am in database 9 job uri iar in joc sunt doar 8, si in /jobs imi arata doar 8 joburi, folosesc gm chars
-
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
-
verificat, ii totul cum trebuie
-
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
-
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
-
salut, unele cladiri de pe gm chars sunt retexturare. are cineva vreo idee cum le pot scoate? sa fie default
-
PlayerInfo[playerid][pSPoints] = cache_get_field_content_int(0, "SpecialPoints");
-
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
-
multumesc pentru ajutor, am rezolvat
-
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; }