Having trouble with pickups
#1

I'm having a little trouble with some pickups, I'm wanting the following 2 pickups to appear inside interior 0 (the bank - http://weedarr.wikidot.com/interior)

Here's the code for them...

pawn Код:
command(takejob, playerid, params[])
{
    if(IsPlayerInRangeOfPoint(playerid, 5.0, 2309.6050,-2.3004,26.7422))
    {
        Player[playerid][Job] = 1;
        SendClientMessage(playerid, ORANGE, "You are now a street sweeper!");
        SendClientMessage(playerid, ORANGE, "More jobs coming soon. There are other side-jobs available. See /help.");
    }
    return 1;
}
and

pawn Код:
command(getcheck, playerid, params[])
{
    if(CheckReady[playerid] == 1)
    {
        if(Player[playerid][Faction] == 0)
        {
            if(IsPlayerInRangeOfPoint(playerid, 2.0, 2309.8147,-8.6073,26.7422))
            {
                PayDayCheck(playerid);
                CheckReady[playerid] = 0;
            }
            else return SendClientMessage(playerid, WHITE, "You aren't at the job center collection point.");
        }
        else
        {
            if(IsPlayerInRangeOfPoint(playerid, 2.0, Factions[Player[playerid][Faction]][fPayCheckX], Factions[Player[playerid][Faction]][fPayCheckY], Factions[Player[playerid][Faction]][fPayCheckZ]))
            {
                PayDayCheck(playerid);
                CheckReady[playerid] = 0;
            }
            else return SendClientMessage(playerid, WHITE, "You aren't at your paycheck collection point (your headquarters).");
        }
    }
    else return SendClientMessage(playerid, WHITE, "Your check isn't ready to be collected.");
    return 1;
}
But they don't appear inside the interior.. the co-ordinates are correct though.

(Credit to iGetty for /getcheck)
Reply


Messages In This Thread
Having trouble with pickups - by Luke_James - 25.08.2012, 11:51
Re: Having trouble with pickups - by [MWR]Blood - 25.08.2012, 11:52
Re: Having trouble with pickups - by clarencecuzz - 25.08.2012, 11:54
Re: Having trouble with pickups - by Luke_James - 25.08.2012, 11:59
Re: Having trouble with pickups - by [MWR]Blood - 25.08.2012, 12:00
Re: Having trouble with pickups - by clarencecuzz - 25.08.2012, 12:00
Re: Having trouble with pickups - by Luke_James - 25.08.2012, 12:15

Forum Jump:


Users browsing this thread: 2 Guest(s)