Guns = Hands
#1

Usually TEC or MAC or 9mm Pistol are 2 hands, but how do make it only 1 hands?
Reply
#2

Use the SetPlayerSkillLevel function.

( https://sampwiki.blast.hk/wiki/SetPlayerSkillLevel )
Reply
#3

So?
Код:
public OnPlayerSpawn(playerid)
{
SetPlayerSkillLevel(playerid, WEAPONSKILL_PISTOL, 1);
SetPlayerSkillLevel(playerid, WEAPONSKILL_PISTOL_SILENCED, 1);
SetPlayerSkillLevel(playerid, WEAPONSKILL_DESERT_EAGLE, 1);
SetPlayerSkillLevel(playerid, WEAPONSKILL_SHOTGUN, 1);
SetPlayerSkillLevel(playerid, WEAPONSKILL_SAWNOFF_SHOTGUN, 1);
SetPlayerSkillLevel(playerid, WEAPONSKILL_SPAS12_SHOTGUN, 1);
SetPlayerSkillLevel(playerid, WEAPONSKILL_MICRO_UZI, 1);
SetPlayerSkillLevel(playerid, WEAPONSKILL_MP5, 1);
SetPlayerSkillLevel(playerid, WEAPONSKILL_AK47, 1);
SetPlayerSkillLevel(playerid, WEAPONSKILL_M4, 1);
SetPlayerSkillLevel(playerid, WEAPONSKILL_SNIPERRIFLE, 1);
return 1;
}
That all makes 2 hands guns to use 1 hand?
Reply
#4

Yeah, thats right.
Reply
#5

Yes, remember it also decreases the accuracy of the gun, and the damage caused.
Reply
#6

SetPlayerSkillLevel(playerid, WEAPONSKILL_SHOTGUN, 2);

That makes to use shotgun with 2 hands?
Reply
#7

Shotgun is allways two hands.
Reply
#8

Quote:
Originally Posted by GloomY™
Shotgun is allways two hands.
Nope, my server only 1 hands, can it make to use 2 hands?
Reply
#9

there are 3 shotguns in samp :
Combat Shotgun
Shotgun
Sawn-off Shotgun
which one u mean?
Reply
#10

Quote:
Originally Posted by Vampire_4ever
there are 3 shotguns in samp :
Combat Shotgun
Shotgun
Sawn-off Shotgun
which one u mean?
See
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)