How to create "Press F to enter the building"
#3

pawn Код:
public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
{
    if (newkeys & KEY_SECONDARY_ATTACK)
    {
        if (IsPlayerInRangeOfPoint(playerid, 3.0, 0.0, 0.0, 0.0)) // Replace 0.0, 0.0, 0.0 with your coords.
        {
            SetPlayerPos(playerid, 10.0, 20.0, 30.0);
        }
    }
    return 1;
}
Reply


Messages In This Thread
How to create "Press F to enter the building" - by Nostrum - 01.05.2013, 18:19
Re: How to create "Press F to enter the building" - by RandomDude - 01.05.2013, 18:24
Re: How to create "Press F to enter the building" - by Emmet_ - 01.05.2013, 18:27
Re: How to create "Press F to enter the building" - by Pottus - 01.05.2013, 18:42
Re: How to create "Press F to enter the building" - by Scenario - 01.05.2013, 18:44
Re: How to create "Press F to enter the building" - by Pottus - 01.05.2013, 19:13
Re: How to create "Press F to enter the building" - by Scenario - 01.05.2013, 19:41

Forum Jump:


Users browsing this thread: 2 Guest(s)