Jump to content

.maSTER

Membru
  • Posts

    73
  • Joined

  • Last visited

Everything posted by .maSTER

  1. Am cautat acolo ca am pus biz-ul si zice nu esti la un CNN si sunt niste coordonate puse pun mai jos modelul de sus si apoi da 26 erori de la systems.inc si am incercat si cu else if si cu if si cu ; si nimic. Cum maresc limita la biz-uri ? am pus la bizzinfo si degeaba.
  2. BTW, de ce cand incerc sa adaug o noua coordonata imi da 26 erori ? La CNN vreau sa pun am cautat "Nu esti la CNN mi-a dat niste coordonate am pus mai jos if si modelul de sus 26 erori, la fel si cu else if.
  3. Edison a spus sa pun numarul al ultimei factiuni +1 deci, 15 factiuni +1 = 16. Am pus si la Fskins 15 ca se ia de la 0. EDIT Apare acum in factions dar skinul tot asa..
  4. Am facut tot mane... am sters-o.. imi zici te rog frumos cum adaug si in LV/LS CNN? Zice ca nu-s la CNN, am incercat sa pun si noile coordonate jos si imi da 26 erori. Poate nu am marit eu unde trebuie, imi poti da linia ? GM Burned. Cineva a zis sa maresc bucla dar nu inteleg.
  5. Niciuna, restul apar, am facut un test la LVPD am scris doar teste si s--a updatat la restart.
  6. Intrebarea spune cam tot, e facuta si in baza de date pot intra pot iesi merge si /gotohq 15 tot dar nu apare in /factions si cand dau /duty imi da skin de CJ. GM Burned. Tutorialul lui Edison "CUM ADAUG O FACTIUNE PE GM BURNED".
  7. Primesc eroare la linia 14783 not found ) parca but found -identifer. Si la 28034 Unknown symbol "member". GM burned. Codurile : else if(IsACop(playerid)format(string, sizeof(string), "* %s %s: %s, over.", GetRankName(playerid), sendername, radiomsj); if(member==1 || member==2 || member==3 || members==14) return 1; Codul intreg de la 28034. function IsACop(playerid) { new leader = PlayerInfo[playerid][pLeader], member = PlayerInfo[playerid][pMember]; if(member==1 || member==2 || member==3 || members==14) return 1; else if(leader==1 || leader==2 || leader==3 || leader==14) return 1; return 0; EROARE NOUA - [debug] Run time error 4: "Array index out of bounds" [12:40:34] [debug] Accessing element at index 15 past array upper bound 14 [12:40:34] [debug] AMX backtrace: [12:40:34] [debug] #0 00208274 in public GetFMembers () from gmm.amx [12:40:34] [debug] #1 00282b80 in public LoadSafes () from gmm.amx [12:40:34] [debug] #2 000a0394 in ?? () from gmm.amx [12:40:34] [debug] #3 000283e8 in public L_AFK_OnGM () from gmm.amx [12:40:34] [debug] #4 native CallLocalFunction () from samp03svr [12:40:34] [debug] #5 00018928 in public SSCANF_OnGameModeInit () from gmm.amx [12:40:34] [debug] #6 00012cd8 in public Itter_OnGameModeInit () from gmm.amx [12:40:34] [debug] #7 native CallLocalFunction () from samp03svr [12:40:34] [debug] #8 00011dfc in public ScriptInit_OnGameModeInit () from gmm.amx [12:40:34] [debug] #9 00010d80 in public PZone_OnGameModeInit () from gmm.amx [12:40:34] [debug] #10 native CallLocalFunction () from samp03svr [12:40:34] [debug] #11 000069e4 in public OnGameModeInit () from gmm.amx [12:40:34] Number of vehicle models: 64 [12:40:34] [MySQL] Dealership models: 89 [12:40:35] Accesory loaded: 100 Apare gamemode unknown.
  8. Trebuie sa salvezi systems.inc si sa compilezi iar GM-ul. Succes.
  9. Intra in system.inc si cauta logo pana gasesti burned.
  10. Rezolvat. M-ai ajutat cu aia cu vehicle de la aia era. Merge. t/c.
  11. [23:04:33] [debug] Run time error 4: "Array index out of bounds" [23:04:33] [debug] Accessing element at index 402653184 past array upper bound 99 [23:04:33] [debug] AMX backtrace: [23:04:33] [debug] #0 0021a6e0 in public @_yCa (402653184, -1207959552, -2147462076) from gmm.amx [23:04:33] [debug] #1 0021a694 in ?? () from gmm.amx [23:04:33] [debug] #2 00039615 in public @yC_uncuff () from gmm.amx [23:04:33] [debug] #3 native CallRemoteFunction () from samp03svr [23:04:33] [debug] #4 00036ef0 in ?? (1, 60167444, 0) from gmm.amx [23:04:33] [debug] #5 00036734 in ?? (1, 60167444) from gmm.amx [23:04:33] [debug] #6 00029100 in public OnPlayerCommandText (1, 60167444) from gmm.amx [23:04:46] [debug] Run time error 5: "Invalid memory access" [23:04:46] [debug] AMX backtrace: [23:04:46] [debug] #0 0021a6c4 in public @yC_uncuff () from gmm.amx [23:04:46] [debug] #1 native CallRemoteFunction () from samp03svr [23:04:46] [debug] #2 00036ef0 in ?? (0, 60167444, 0) from gmm.amx [23:04:46] [debug] #3 00036734 in ?? (0, 60167444) from gmm.amx [23:04:46] [debug] #4 00029100 in public OnPlayerCommandText (0, 60167444) from gmm.amx [23:05:52] kepazeW(2) s-a inregistrat pe server. [#8]
  12. Merge acum, ii da freeze dar la uncuff cica comanda necunoscuta.
  13. Problema e ca mie nici nu-mi scrie gen "Nu poti folosi aceasta comanda asupra ta!" dau enter pe mine si nu scrie nik. Aici ? PutPlayerInJail(id); if(PlayerCuffed2[id] == 1) { PlayerCuffed2[id] = 0; SetPlayerSpecialAction(id,SPECIAL_ACTION_NONE); RemovePlayerAttachedObject(id,1); TogglePlayerControllable(id, 1); ResetVariables(playerid); nu gasesc nimic cu cuffed.
  14. Daca m-ai putea ajuta maine sau cand ai timp cu Tw.... la asta ma refer cu cuff.
  15. Adica ? Am iesit de pe PC, unde trb sa caut?
  16. Si la uncuff ma trimite la /a comanda.... cum drq s-o fac.. CMD:uncuff(playerid, params[], help) { if(!IsACop(playerid)) return SCM(playerid, COLOR_GREY, "Nu esti politist."); if(OnDuty[playerid] == 0) return SCM(playerid, COLOR_LGREEN, "Nu poti folosi aceasta comanda deoarece nu esti la datorie!"); new giveplayerid,string[128]; if(sscanf(params, "u",giveplayerid)) return SCM(playerid, COLOR_GREY, "USAGE: {FFFFFF}/uncuff <playerid/name>"); if(!IsPlayerConnected(giveplayerid) && giveplayerid == INVALID_PLAYER_ID) return SCM(playerid, COLOR_GREY, "Acel player nu este conectat."); if(!ProxDetectorS(8.0, playerid, giveplayerid)) return SCM(playerid, -1, "Acel player nu este langa tine."); if(giveplayerid == playerid) return 1; if(PlayerCuffed2[giveplayerid] == 0) TogglePlayerControllable(giveplayerid, 1); format(string, sizeof(string), "* %s has uncuffed %s.", GetName(playerid),GetName(giveplayerid)); ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE); format(string, sizeof(string), "* Ai fost descatusat de %s.", GetName(playerid)); SCM(giveplayerid, COLOR_LIGHTBLUE, string); PlayerCuffed2[giveplayerid] = 0; SetPlayerSpecialAction(giveplayerid,SPECIAL_ACTION_NONE); RemovePlayerAttachedObject(giveplayerid,1); return 1; } Si cuff - YCMD:cuff(playerid, params[], help) { if(!IsACop(playerid)) return SCM(playerid, COLOR_GREY, "Nu esti politist."); new id,string[180]; if(sscanf(params, "u",id)) return SCM(playerid, COLOR_GREY, "USAGE: {FFFFFF}/cuff <playerid/name>"); if(!IsPlayerConnected(id) || id == INVALID_PLAYER_ID) return SCM(playerid, COLOR_GREY, "Acel player nu este conectat."); if(IsACop(id)) return 1; if(OnDuty[playerid] == 0) return SCM(playerid, COLOR_LGREEN, "Nu poti folosi aceasta comanda deoarece nu esti la datorie!"); if(PlayerCuffed2[id] > 0) return 1; if(!ProxDetectorS(8.0, playerid, id)) return SCM(playerid, -1, "Acel player nu este langa tine."); if(id == playerid) return SCM(playerid, COLOR_GREY, "Nu poti folosi aceasta comanda asupra ta!"); TogglePlayerControllable(id, 0); return 1; format(string, sizeof(string), "* %s has handcuffed %s.", GetName(playerid),GetName(id)); ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE); PlayerCuffed2[id] = 1; SetPlayerAttachedObject(id, 1, 19418, 6, -0.011000, 0.028000, -0.022000, -15.600012, -33.699977, -81.700035, 0.891999, 1.000000, 1.168000); SetPlayerSpecialAction(id,SPECIAL_ACTION_CUFFED); 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.