One weapon in your hands - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: One weapon in your hands (
/showthread.php?tid=247214)
One weapon in your hands -
Hech - 08.04.2011
Where can I get a Script that the handheld can be only one weapon that can not be changed with the mouse.
AW: One weapon in your hands -
xerox8521 - 08.04.2011
https://sampwiki.blast.hk/wiki/Skillweapons
edit:
https://sampwiki.blast.hk/wiki/SetPlayerSkillLevel
Re: One weapon in your hands -
Hech - 08.04.2011
I do not understand that to be binding.
AW: One weapon in your hands -
xerox8521 - 08.04.2011
binding ??
pawn Код:
public OnPlayerSpawn(playerid)
{
SetPlayerSkillLevel(playerid, WEAPONSKILL_SAWNOFF_SHOTGUN, 1);
//This will make them use single-handed sawnoff shotguns.
return 1;
}
replace the WEAPONSKILL_SAWNOFF_SHOTGUN to any other weapon you find
here
Re: One weapon in your hands -
Hech - 08.04.2011
Which file I have to establish it to be at the same time, only one weapon in the hands?