Jump to content

Question

Posted

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

9 answers to this question

Recommended Posts

Posted

[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]

Posted

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]

Posted

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]

Guest
This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • 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.