SA-MP Forums

Go Back   SA-MP Forums > SA-MP > Bug Reports

Reply
 
Thread Tools Display Modes
Old 16/02/2011, 02:05 PM   #11
Calgon
Godfather
 
Join Date: Jan 2009
Posts: 6,183
Reputation: 823
Default Re: Sniper aim vs SetPlayerAttachedObject

Quote:
Originally Posted by Hiddos View Post
http://wiki.sa-mp.com/wiki/GetPlayerKeys
Note that KEY_AIM is defined to 128 and KEY_SECONDARY_ATTACK to 16.
Worth trying
Odd, I actually did a CTRL+F search in Firefox for "KEY_AIM" and found nothing on the GetPlayerKeys page.

Cheers for the clarification either way. Updated.
Calgon is offline   Reply With Quote
Old 24/08/2012, 01:51 PM   #12
MikkaVanBuuren
Big Clucker
 
MikkaVanBuuren's Avatar
 
Join Date: Jun 2012
Location: KFC
Posts: 189
Reputation: 17
Default Re: Sniper aim vs SetPlayerAttachedObject

JUST HATE THAT!!
__________________
MikkaVanBuuren is offline   Reply With Quote
Old 24/08/2012, 02:03 PM   #13
davve95
High-roller
 
davve95's Avatar
 
Join Date: Nov 2009
Location: Sweden
Posts: 3,435
Reputation: 183
Default Re: Sniper aim vs SetPlayerAttachedObject

Confirmed!
davve95 is online now   Reply With Quote
Old 24/08/2012, 03:25 PM   #14
zgintasz
Huge Clucker
 
Join Date: Oct 2011
Posts: 394
Reputation: 8
Default Re: Sniper aim vs SetPlayerAttachedObject

Confirmed, strange, that Kalcor didn't fix that.
zgintasz is offline   Reply With Quote
Old 24/08/2012, 04:09 PM   #15
Kar
High-roller
 
Join Date: May 2010
Location: Black Asylum
Posts: 2,866
Reputation: 278
Default Re: Sniper aim vs SetPlayerAttachedObject

pawn Code:
new gOPUtick,
    LastFireCheck[MAX_PLAYERS];

public OnPlayerUpdate(playerid)
{
    gOPUtick = GetTickCount();
    if( (gOPUtick - LastFireCheck[playerid]) > 220 )
    {
        switch(GetPlayerCameraMode(playerid))
        {
            case CAMERA_MODE_AIM_SNIPER, CAMERA_MODE_AIM_ROCKETLAUNCHER, CAMERA_MODE_FIXED_CARBUMPER,
                CAMERA_MODE_AIM_CAMERA, CAMERA_MODE_AIM_HEATSEEKER:
            {
                if(GetPVarInt(playerid, "F_A_C_O") == 0)
                {
                    DespawnPlayerClothes(playerid);
                    SetPVarInt(playerid, "F_A_C_O", 1);
                }
            }
            default:
            {
                if(GetPVarInt(playerid, "F_A_C_O") == 1)
                {
                    SpawnPlayerClothes(playerid);
                    SetPVarInt(playerid, "F_A_C_O", 0);
                }
            }
        }
    }
    return 1;
}

That's my temporary work around.
__________________

  • Twisted Metal's Website & Forums are up! http://tm.lvcnr.net

    Are you prepared to get your wish? Twisted Metal SA-MP is coming soon! Join the IRC Channel: #tm on irc.tl - @tmsamp_dev

server.lvcnr.net:7777 | samp://server.lvcnr.net:7777
www.lvcnr.net | @kcnrdev
Channel: #lvcnr on irc.tl
Kar is offline   Reply With Quote
Old 27/08/2012, 11:40 PM   #16
CaptainMactavish
Huge Clucker
 
CaptainMactavish's Avatar
 
Join Date: Jun 2012
Location: Argentina
Posts: 368
Reputation: 18
Default Respuesta: Re: Sniper aim vs SetPlayerAttachedObject

Quote:
Originally Posted by zgintasz View Post
Confirmed, strange, that Kalcor didn't fix that.
That sounds sarcastic, and if you were sarcastic, you would be right.
__________________


Quote:
Originally Posted by dugi in Slice's Visitor Messages LOL
Donde, está, la biblioteca. Me llamo T-Bone La araña discoteca. Discoteca, muñeca, La biblioteca Está en bigotes grandes, el perro, manteca. Manteca, bigotes, gigante, pequeño, la cabeza es nieve, cerveza es bueno. Buenos dias, me gusta papas frías, los bigotes de la cabra Es Cameron Diaz.
CaptainMactavish is offline   Reply With Quote
Old 28/08/2012, 12:49 AM   #17
Soumi
Huge Clucker
 
Soumi's Avatar
 
Join Date: Feb 2011
Location: Tunisia
Posts: 330
Reputation: 32
Default Re: Sniper aim vs SetPlayerAttachedObject

Confirmed.
__________________

Blueberry Prison Roleplay coming back?! MAYBE!
Soumi is offline   Reply With Quote
Old 28/08/2012, 02:54 AM   #18
Amine_Mejrhirrou
Gangsta
 
Amine_Mejrhirrou's Avatar
 
Join Date: Dec 2010
Location: RAbat
Posts: 718
Reputation: 6
Default Re : Sniper aim vs SetPlayerAttachedObject

even if it's a bug, it's not an important one !! why ? cause you can delete the object when u aim and put it back when u not.
Amine_Mejrhirrou is offline   Reply With Quote
Old 06/09/2012, 03:56 PM   #19
SDraw
Gangsta
 
SDraw's Avatar
 
Join Date: Apr 2011
Location: Russia
Posts: 664
Reputation: 147
Default Re: Re : Sniper aim vs SetPlayerAttachedObject

Quote:
Originally Posted by Amine_Mejrhirrou View Post
even if it's a bug, it's not an important one !! why ? cause you can delete the object when u aim and put it back when u not.
Bad idea....
__________________
I leave SAMP. It's not perspective anymore.
SDraw is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[BUG]SetPlayerAttachedObject leong124 Help Archive 2 25/12/2010 08:55 AM
[HELP] SetPlayerAttachedObject Larsey123IsMe Help Archive 3 18/12/2010 01:18 PM
0.3c SetPlayerAttachedObject !Pumpkin Help Archive 1 04/12/2010 10:58 PM
[HELP] SetPlayerAttachedObject Pooh7 Help Archive 1 03/12/2010 02:32 PM
[BUG] SetPlayerAttachedObject [NeS]Justin Help Archive 2 29/11/2010 08:48 PM


All times are GMT. The time now is 07:54 PM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.