Colt45 - Stop run
#1

Hy

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

Thanx
Reply
#2

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.
Reply
#3

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

its pistol
Reply
#5

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
Reply
#6

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

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

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

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


Forum Jump:


Users browsing this thread: 2 Guest(s)