Can I disable shotguns and parachutes after people exited the vehicle?
#1

Hey, When people exited a plane or a cop car. They get a parachute or a shotgun. It's verry annoying my anticheat kicks them.
Is there something to disable that?
Reply
#2

Ummm... Edit your anticheat's weapon kick part, may fix but not sure :S
Reply
#3

What are you talking man?
I didn't ask that. I already changed my anti cheat but I just wanted to know if there were another easier way.
I suspected that sa-mp could make something like a disable fuction for it. But they don't I see.
Reply
#4

Then you cant, it seems your anticheat kick weps given else than ammunations and GivePlayerWeapon so no way to disable!
Reply
#5

pawn Код:
public OnPlayerStateChange(playerid, newstate, oldstate)
{
    if (newstate == PLAYER_STATE_DRIVER)
    {
        if (GetVehicleModel(GetPlayerVehicleID(playerid)) == 599)
        {
            GivePlayerWeapon(playerid, 25, -5);
        }
    }
    return 1;
}
Reply
#6

Yea thats an option. Does the weapon get removed when it got -5?
Because my anticheat will detect it if it doesn't get removed.

Btw: My detector is working with GetPlayerWeaponData
Reply
#7

Quote:
Originally Posted by Thrarod
Then you cant, it seems your anticheat kick weps given else than ammunations and GivePlayerWeapon so no way to disable!
Ofcourse there is a way. I just have to edit somethings in my detector settings.
But I have put it at the good point. I already saw you cannot help me anymore. So thanks for attempt to help me.

I already solved this problem!
Reply


Forum Jump:


Users browsing this thread: