how to start..
#7

ummm... i just do it like this and its working xD
pawn Код:
public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
{
    if(IsPlayerInRangeOfPoint(playerid, 10, -2811.1684570313, -1524.8093261719, 142.4806060791))
    {
        if(KEY_FIRE >= 0)// i just see the exsample from OUL post with key_fire
        {
            MoveObject(vrata, -2811.1684570313,-1524.8093261719,142.4806060791, 2.0);
            return 1;
        }
    }
    return 1;
}
but i need the code for "g" key and i need to make to back on g key the gate... xD
Reply


Messages In This Thread
how to start.. - by Rafa - 30.07.2011, 00:57
Re: how to start.. - by Beanz - 30.07.2011, 00:58
Re: how to start.. - by PGTips - 30.07.2011, 01:05
Re: how to start.. - by Rafa - 30.07.2011, 01:12
Re: how to start.. - by PGTips - 30.07.2011, 01:16
Re: how to start.. - by PGTips - 30.07.2011, 01:19
Re: how to start.. - by Rafa - 30.07.2011, 01:19
Re: how to start.. - by PGTips - 30.07.2011, 01:23
Re: how to start.. - by Rafa - 30.07.2011, 01:24
Re: how to start.. - by PGTips - 30.07.2011, 01:27

Forum Jump:


Users browsing this thread: 1 Guest(s)