How to enter Building with "F"
#3

Put the code under the function: 'OnPlayerKeyStateChange(playerid, newkeys, oldkeys)'.

You got to define what key you want. https://sampwiki.blast.hk/wiki/Keys

I.e

pawn Код:
public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
{
if(IsKeyJustDown(KEY_CROUCH, newkeys, oldkeys))
{
//Your code here.
}
return 1;
}
Reply


Messages In This Thread
How to enter Building with "F" - by Wex3go - 02.01.2014, 13:41
Re: How to enter Building with "F" - by Konstantinos - 02.01.2014, 13:45
Re: How to enter Building with "F" - by Sledgehammer - 02.01.2014, 13:50
Re: How to enter Building with "F" - by Wex3go - 02.01.2014, 13:57
Re: How to enter Building with "F" - by Wex3go - 02.01.2014, 14:19
Re: How to enter Building with "F" - by Dubya - 02.01.2014, 14:21
Re: How to enter Building with "F" - by Wex3go - 02.01.2014, 14:28

Forum Jump:


Users browsing this thread: 1 Guest(s)