Help here a bit +rep
#7

pawn Код:
#include <a_samp>

public OnPlayerConnect(playerid)
{
    DisablePlayerCheckpoint(playerid);
    return 1;
}

public OnPlayerEnterCheckpoint(playerid)
{
    ShowPlayerDialog(playerid, 752, DIALOG_STYLE_LIST, "Welcome", "Radio($150) \nBaseballbat($10) \nToolkit($35) \nCigarettes($7) \nLighter($5) \nScratch Card($35) \nGas Can($50) \nMask($250) \nShovel($7) \nCellphone($50) \nCards($25) \nDice($2) \nParachute($15)\nCane($5)\nCamera($45)", "Buy", "Cancel");
}

public OnPlayerInteriorChange(playerid, newinteriorid, oldinteriorid)
{
    if (oldinteriorid == /*interior id of 24/7*/)
    {
        DisablePlayerCheckpoint(playerid);
    }
    if (newinteriorid == /*interior id of 24/7*/)
    {
        SetPlayerCheckpoint(playerid, 2.1507,-29.0139,1003.5494, 2.0);
    }
    return 1;
}
Reply


Messages In This Thread
Help here a bit +rep - by N0FeaR - 24.02.2012, 17:04
Re: Help here a bit +rep - by N0FeaR - 24.02.2012, 17:37
Re: Help here a bit +rep - by dice7 - 24.02.2012, 17:39
Re: Help here a bit +rep - by N0FeaR - 24.02.2012, 18:03
Re: Help here a bit +rep - by dice7 - 24.02.2012, 18:14
Re: Help here a bit +rep - by N0FeaR - 24.02.2012, 18:37
Re: Help here a bit +rep - by dice7 - 24.02.2012, 18:46
Re: Help here a bit +rep - by N0FeaR - 24.02.2012, 18:46

Forum Jump:


Users browsing this thread: 1 Guest(s)