Making sure he has the package - Help!
#7

Meh, I need some sleep.
pawn Код:
CMD:getmats(playerid, params[])
{
    if(IsPlayerInRangeOfPoint(playerid, 3.0, 1168.90, 1361.76, 10.50)) return SCM(playerid, COLOR_WHITE, "You aren't at the material's pickup point!");
    {
        SendClientMessage(playerid,COLOR_RED,"You have gotten a materials package, deliver it to the checkpoint to recieve the materials.");
        SetPlayerCheckpoint(playerid, 2179.7886,-2263.6206,14.7734, 3.0);
        PlayerInfo[playerid][pGotMaterials] = 1;
    }
    return 1;
}

CMD:delivermats(playerid, params[])
{
    if(IsPlayerInRangeOfPoint(playerid, 5.0, 2179.7886,-2263.6206,14.7734)) return SCM(playerid, COLOR_WHITE, "You aren't at the material's drop-off point!");
    {
        if(PlayerInfo[playerid][pGotMaterials] == 0) return SendClientMessage(playerid, COLOR_GREY, "You do not have the packages.");
        SendClientMessage(playerid,COLOR_RED,"You delivered the package and recieved 250 materials.");
        PlayerInfo[playerid][pMaterials] = 250;
        PlayerInfo[playerid][pGotMaterials] = 0;
    }
    return 1;
}
Reply


Messages In This Thread
Making sure he has the package - Help! - by RLGaming - 30.07.2012, 04:01
Re: Making sure he has the package - Help! - by Sniper Kitty - 30.07.2012, 04:10
Re: Making sure he has the package - Help! - by RLGaming - 30.07.2012, 04:11
Re: Making sure he has the package - Help! - by maramizo - 30.07.2012, 04:15
Re: Making sure he has the package - Help! - by RLGaming - 30.07.2012, 04:24
Re: Making sure he has the package - Help! - by Sniper Kitty - 30.07.2012, 04:31
Re: Making sure he has the package - Help! - by maramizo - 30.07.2012, 04:40
Re: Making sure he has the package - Help! - by RLGaming - 30.07.2012, 04:44
Re: Making sure he has the package - Help! - by maramizo - 30.07.2012, 04:47
Re: Making sure he has the package - Help! - by RLGaming - 30.07.2012, 04:50

Forum Jump:


Users browsing this thread: 1 Guest(s)