serbansubs Posted May 14, 2014 Report Share Posted May 14, 2014 Nick:serbansubsProblema: 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 postezAi incercat sa rezolvi singur ?:da Link to comment Share on other sites More sharing options...
WopsS Posted May 14, 2014 Report Share Posted May 14, 2014 Ai cumva in filterscripts armedbody? Link to comment Share on other sites More sharing options...
serbansubs Posted May 14, 2014 Author Report Share Posted May 14, 2014 N-am nici un filterscript. Link to comment Share on other sites More sharing options...
WopsS Posted May 14, 2014 Report Share Posted May 14, 2014 Atunci cauta in gamemode dupa AttachObjectToPlayer. Link to comment Share on other sites More sharing options...
serbansubs Posted May 14, 2014 Author Report Share Posted May 14, 2014 N-am decat la job-ul de garbage. Link to comment Share on other sites More sharing options...
WopsS Posted May 14, 2014 Report Share Posted May 14, 2014 Da-me server.cfg. Link to comment Share on other sites More sharing options...
serbansubs Posted May 14, 2014 Author Report Share Posted May 14, 2014 [pawn]echo Executing Server Config...lanmode 0rcon_password *******maxplayers 50port 7777hostname testgamemode0 rp 1filterscriptsannounce 0query 1chatlogging 0weburl www.sa-mp.comonfoot_rate 40incar_rate 40weapon_rate 40stream_distance 300.0stream_rate 1000maxnpc 0logtimeformat [%H:%M:%S]plugins audio.dll crashdetect.dll mysql.dll regex.dll Whirlpool.dllmapname Palomino Creek[/pawn] Link to comment Share on other sites More sharing options...
WopsS Posted May 14, 2014 Report Share Posted May 14, 2014 Atunci ai in gamemode asta. Link to comment Share on other sites More sharing options...
serbansubs Posted May 14, 2014 Author Report Share Posted May 14, 2014 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] Link to comment Share on other sites More sharing options...
serbansubs Posted May 14, 2014 Author Report Share Posted May 14, 2014 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] Link to comment Share on other sites More sharing options...
Question
serbansubs
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
Link to comment
Share on other sites
9 answers to this question
Recommended Posts