SA-MP Forums Archive
/door Help. - 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)
+--- Thread: /door Help. (/showthread.php?tid=381454)



/door Help. - RyanCromack121 - 29.09.2012

Okay, so there's a /door command in the LSPD, I'm using an edited Vortex 1 script...

So I've got a custom interior for The Agency, BUT, I don't know how to add the /door command because there's a door in the Agency's Interior that I want to be able to open with /door and the command will only be available to TA members.

If anyone could help me on Team Viewer or something that would be great, my Skype is meganclarke7


Re: /door Help. - Red_Dragon. - 29.09.2012

Try buttons FS maybe


Re: /door Help. - RyanCromack121 - 29.09.2012

Quote:
Originally Posted by Red_Dragon.
Посмотреть сообщение
Try buttons FS maybe
Could I maybe get a link to the FS? Couldn't find it.


Re: /door Help. - BlueGames - 29.09.2012

You also can add it to your own game mode via add this code :
pawn Код:
public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
{
    if(newkeys & KEY_SECONDARY_ATTACK)
}
Also watch on wiki about more information with " OnPlayerKeyStateChange "


Re: /door Help. - Red_Dragon. - 29.09.2012

at the top of your script write:
pawn Код:
#include <yom_buttons>
if i helped please "+REP" and thanks


Re: /door Help. - RyanCromack121 - 29.09.2012

Quote:
Originally Posted by Red_Dragon.
Посмотреть сообщение
at the top of your script write:
pawn Код:
#include <yom_buttons>
if i helped please "+REP" and thanks
I've tried adding it, but what's the commands? +REP