16.09.2013, 11:05
Can anyone give me the code/function of two weapons in hand ?
UsePlayerPedAnims();
Originally Posted by Wiki
Note: Not using this function causes two-handed weapons to be held in only one hand.
|
public OnGameModeInit()
{
UsePlayerPedAnims();
return 1;
}
Put this under OnGameModeInit:
pawn Код:
|
If you're talking about the Uzi/Tec-9/Colt-45/sawn-off
Then try this: public OnPlayerSpawn(playerid) { SetPlayerSkillLevel(playerid, WEAPONSKILL_*WEAPON*, 1000); return 1; } - Resource: https://sampwiki.blast.hk/wiki/SetPlayerSkillLevel |
SetPlayerSkillLevel(playerid, WEAPONSKILL_MICRO_UZI, 999);
// playerid - the player
// skill - WEAPONSKILL_MICRO_UZI (tec9)
// level - 999 (max)