serbansubs
Membru-
Posts
33 -
Joined
-
Last visited
Never
serbansubs's Achievements
-
Exact cum ziceam, am rezolvat ) am pus ca si comment urmatoarele linii : [pawn]//case CLOTHING_WEAPON: //{ //if(IsPlayerAttachedObjectSlotUsed(playerid,MAX_PLAYERCLOTHING)) return false; //return SetPlayerAttachedObject(playerid,MAX_PLAYERCLOTHING,objectid,bone,offsetx,offsety,offsetz2,offsetrx,offsetry,offsetrz,sizex,sizey,sizez); //}[/pawn] [pawn]//case CLOTHING_HIDEWEAPON: //{ //if(IsPlayerAttachedObjectSlotUsed(playerid,(MAX_PLAYERCLOTHING + 2))) return false; //return SetPlayerAttachedObject(playerid,(MAX_PLAYERCLOTHING + 2),objectid,bone,offsetx,offsety,offsetz2,offsetrx,offsetry,offsetrz,sizex,sizey,sizez); //}[/pawn] [pawn]//case CLOTHING_HIDEWEAPONTWO: //{ //if(IsPlayerAttachedObjectSlotUsed(playerid,(MAX_PLAYERCLOTHING + 4))) return false; //return SetPlayerAttachedObject(playerid,(MAX_PLAYERCLOTHING + 4),objectid,bone,offsetx,offsety,offsetz2,offsetrx,offsetry,offsetrz,sizex,sizey,sizez); // }[/pawn]
-
Am in schimb "SetPlayerAttachedObject" [pawn]SetPlayerAttachedObject(playerid, sloto, objecto, boneo, oox, ooy, ooz, oorx, oory, oorz, size, size, size); [/pawn] daca nu ma insel aici este [pawn]case CLOTHING_WEAPON: { if(IsPlayerAttachedObjectSlotUsed(playerid,MAX_PLAYERCLOTHING)) return false; return SetPlayerAttachedObject(playerid,MAX_PLAYERCLOTHING,objectid,bone,offsetx,offsety,offsetz2,offsetrx,offsetry,offsetrz,sizex,sizey,sizez); } case CLOTHING_PHONE: { if(IsPlayerAttachedObjectSlotUsed(playerid,(MAX_PLAYERCLOTHING + 1))) return false; return SetPlayerAttachedObject(playerid,(MAX_PLAYERCLOTHING + 1),objectid,bone,offsetx,offsety,offsetz2,offsetrx,offsetry,offsetrz,sizex,sizey,sizez); } case CLOTHING_HIDEWEAPON: { if(IsPlayerAttachedObjectSlotUsed(playerid,(MAX_PLAYERCLOTHING + 2))) return false; return SetPlayerAttachedObject(playerid,(MAX_PLAYERCLOTHING + 2),objectid,bone,offsetx,offsety,offsetz2,offsetrx,offsetry,offsetrz,sizex,sizey,sizez); } case CLOTHING_MISC: { if(IsPlayerAttachedObjectSlotUsed(playerid,(MAX_PLAYERCLOTHING + 3))) return false; return SetPlayerAttachedObject(playerid,(MAX_PLAYERCLOTHING + 3),objectid,bone,offsetx,offsety,offsetz2,offsetrx,offsetry,offsetrz,sizex,sizey,sizez); } case CLOTHING_HIDEWEAPONTWO: { if(IsPlayerAttachedObjectSlotUsed(playerid,(MAX_PLAYERCLOTHING + 4))) return false; return SetPlayerAttachedObject(playerid,(MAX_PLAYERCLOTHING + 4),objectid,bone,offsetx,offsety,offsetz2,offsetrx,offsetry,offsetrz,sizex,sizey,sizez); } } return false; }[/pawn]
-
[pawn]echo Executing Server Config... lanmode 0 rcon_password ******* maxplayers 50 port 7777 hostname test gamemode0 rp 1 filterscripts announce 0 query 1 chatlogging 0 weburl www.sa-mp.com onfoot_rate 40 incar_rate 40 weapon_rate 40 stream_distance 300.0 stream_rate 1000 maxnpc 0 logtimeformat [%H:%M:%S] plugins audio.dll crashdetect.dll mysql.dll regex.dll Whirlpool.dll mapname Palomino Creek[/pawn]
-
N-am decat la job-ul de garbage.
-
N-am nici un filterscript.
-
Nick:serbansubs Problema: nu e un bug. Cand am arma in mana e ok, dar cand o scrolez inapoi, arma respectiva mi se pune ca objectatachament. Daca-mi puteti spune ce sa scot modifc. Erori / warnings:- Lini/script: Nu stiu care linii sa le postez Ai incercat sa rezolvi singur ?:da
-
[pawn]14:40:26] [debug] Run time error 4: "Array index out of bounds" [14:40:26] [debug] Accessing element at index 2856 past array upper bound 499 [14:40:26] [debug] AMX backtrace: [14:40:26] [debug] #0 002681e0 in public cmd_gateopen (playerid=25, params[]=@0x012506a8 "") at ../gamemodes/OnCommand.pwn:10359 [14:40:26] [debug] #1 native CallLocalFunction () [00472ad0] from samp-server.exe [14:40:26] [debug] #2 0000ef2c in public OnPlayerCommandText (playerid=25, cmdtext[]=@0x01250680 "/gateopen") at C:\Users\Serban-PC\Desktop\things\pawno\include\zcmd.inc:102 [14:40:39] [debug] Run time error 4: "Array index out of bounds" [14:40:39] [debug] Accessing element at index 2856 past array upper bound 499 [14:40:39] [debug] AMX backtrace: [14:40:39] [debug] #0 002681e0 in public cmd_gateopen (playerid=25, params[]=@0x012506a8 "") at ../gamemodes/OnCommand.pwn:10359 [14:40:39] [debug] #1 native CallLocalFunction () [00472ad0] from samp-server.exe [14:40:39] [debug] #2 0000ef2c in public OnPlayerCommandText (playerid=25, cmdtext[]=@0x01250680 "/gateopen") at C:\Users\Serban-PC\Desktop\things\pawno\include\zcmd.inc:102 [14:43:00] Incoming connection: 79.119.##3486[/pawn] Eroarea noua primita in server log poate poate.
-
Nu ?tiu de ce dar presimt ca solu?ia e una banal?, ceva ce am uitat sa fac, ca sta chiar in fata mea ).
-
Wops, gresala mea. Da, habar n-am. Sa nu mearg? de la o versiune la alta.. n-am mai p??it :)
-
Same shit
-
Wops, ce gresala de amator, lasa-ma sa incerc si revin cu edit.
-
Problema vine de la clientul 0.3z. Am incercat pe 0.3x si merge.
-
Daca imi aduc bine aminte,chestia asta cu "server close" dupa introducerea parolei e ceva legat de ban. In onconnect eu am ceva legat de ban si ceva legat de "dns". In scriptfiles am "dns.ini" in care e notat "localhost" In onconnect am kick aici [pawn]if(IsPlayerNPC(playerid)) return 1; new string[128], user[128], day, month, year, hour, minute, second; new num = GetMaxIPs(playerid); if(num >= 2 && !IsPlayerNPC(playerid)) return Kick(playerid); OnConnectInit(playerid);[/pawn] Aici [pawn]SendClientMessage(playerid, COLOR_LIGHTRED, "Your name is not acceptable please use the format: Firstname_Lastname."); KickEx(playerid); return 1;[/pawn] ASTA IESE DIN DISCUTIE si mai am AICI [pawn]if(DOF2_GetInt(user, "TempDay") < 10) format(string, sizeof(string),"You are temporarily banned until %s-0%d-%d.", mtext, DOF2_GetInt(user, "TempDay"), DOF2_GetInt(user, "TempYear")); else format(string, sizeof(string),"You are temporarily banned until %s-%d-%d.", mtext, DOF2_GetInt(user, "TempDay"), DOF2_GetInt(user, "TempYear")); SendClientMessage(playerid, COLOR_LIGHTRED, string); return Kick(playerid);[/pawn] La ultima m-am gandit ca server-ul ar putea sa ma vada ca si banat. Nu stiu ,poate am spus o prostie. Tin sa precizez ca am curatat banlog si samp.ban
-
Se pare ca chiar nu mi-e dat sa joc sa-mp. Multumesc frumos pentru ajutor.
-
Nu e de la client,am incercat pe un server care ruleaza acelasi gamemode. Acolo merge.