SA-MP Forums Archive
Colt45 - Stop run - 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: Colt45 - Stop run (/showthread.php?tid=176998)



Colt45 - Stop run - godknightx - 15.09.2010

Hy

How can i disable running when the player aiming with colt45 (One handed)?

Thanx


Re: Colt45 - Stop run - Scenario - 15.09.2010

Simple, use this.

pawn Код:
SetPlayerSkillLevel(playerid, WEAPONSKILL_PISTOL, 100);
You may need to change the "WEAPONSKILL_PISTOL" to "WEAPONSKILL_COL45", but I'm not sure.


Re: Colt45 - Stop run - godknightx - 15.09.2010

The WEAPONSKILL_COLT45 is undefined. And i can run with 100 skill


Re: Colt45 - Stop run - Mike_Peterson - 15.09.2010

its pistol


Re: Colt45 - Stop run - Scenario - 15.09.2010

Quote:
Originally Posted by godknightx
Посмотреть сообщение
The WEAPONSKILL_COLT45 is undefined. And i can run with 100 skill
That's why I said I wasn't sure. Just use the code I gave you, but set '100' to '1'. Next time, do some research, I'm not your dad. https://sampwiki.blast.hk/wiki/Skillweapons


Re: Colt45 - Stop run - godknightx - 15.09.2010

And i am not a beginner. I tried with "1" before i posted this thread.


Re: Colt45 - Stop run - Scenario - 15.09.2010

Quote:
Originally Posted by godknightx
Посмотреть сообщение
And i am not a beginner. I tried with "1" before i posted this thread.
Well... Does it work?


Re: Colt45 - Stop run - Hiddos - 15.09.2010

A .45 colt is a simple, light weapon, which can always be ran with (Standard GTA: SA settings). You cannot disable it.


AW: Colt45 - Stop run - FreshDiddi - 19.05.2011

i hope that helps
https://sampwiki.blast.hk/wiki/SetPlayerSkillLevel