Keys to open faction doors and gates error...
#1

Hi all,

The gamemode I have says I can use 'H' to open the LSPD gates and 'F' to open the doors... Although it doesn't seem to be working, I have re compiled, I dont know which bit of script to supply so if you need some please just comment and ask...

Regards: Louwwieee42
Reply
#2

Can you please show us your script? Then only I can help you.
Reply
#3

Quote:
Originally Posted by DeeadPool
Посмотреть сообщение
Can you please show us your script? Then only I can help you.
Like I said yes, but which part the whole script?
Reply
#4

OnPlayerKeyStateChange.
Reply
#5

Quote:
Originally Posted by ALiScripter
Посмотреть сообщение
OnPlayerKeyStateChange.
Sorry, I didn't know which bit you needed but here you go...

http://pastebin.com/wHstUGdx
Reply
#6

https://sampwiki.blast.hk/wiki/OnPlayerK...heck_for_a_key

It says in there why you are experiencing this.


It's to do with how you are checking the keys.
Reply
#7

Quote:
Originally Posted by Sew_Sumi
Посмотреть сообщение
https://sampwiki.blast.hk/wiki/OnPlayerK...heck_for_a_key

It says in there why you are experiencing this.


It's to do with how you are checking the keys.
Thankyou, and sorry im new to this can you please edit my script or something of the sort?
Reply
#8

https://sampwiki.blast.hk/wiki/OnPlayerK...pressing_a_key

That should work out better for you. It's because you are simply checking newkeys, and nothing else.
Reply
#9

Slightly off-topic: this is some seriously shitty code. I don't know where you got this gamemode but those extensive checks for SelectCharPlace are absolutely horrible.
Reply
#10

Quote:
Originally Posted by Vince
Посмотреть сообщение
Slightly off-topic: this is some seriously shitty code. I don't know where you got this gamemode but those extensive checks for SelectCharPlace are absolutely horrible.
Well as i said im quite newish to all the Pawno biz, so yeah I was looking for a decent RP Gamemode, not sure if you have any suggestions if so feel free to PM me or whatever...
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)