Checkpoint help
#7

pawn Код:
if(streamid == CopSaleCP)
    {
    if(gTeam[playerid] != TEAM_COP)
    {
    SendClientMessage(playerid,0xFF9900AA,"Nothing For You Here Sir!");
    return 1;
    }
    new string2[256];
    new playername[MAX_PLAYER_NAME];
    GetPlayerName(playerid, playername, MAX_PLAYER_NAME);
    format(string2,sizeof string2,"Welcome Officer %s ! Anything for You ?",playername);
    new listitems[] = "Tazer                        $355\nDonut                        $30\nShotgun                      $150\nArrmor                        $100";
    ShowPlayerDialog(playerid,1,DIALOG_STYLE_LIST,string2,listitems,"Buy","Cancel");
    return 1;
    }
maybe this part:


pawn Код:
{
    if(gTeam[playerid] != TEAM_COP)
    {
    SendClientMessage(playerid,0xFF9900AA,"Nothing For You Here Sir!");
    return 1;
    }
should be civilian
Reply


Messages In This Thread
Checkpoint help - by Lajko1 - 16.12.2009, 17:18
Re: Checkpoint help - by Lajko1 - 16.12.2009, 18:41
Re: Checkpoint help - by Retardedwolf - 16.12.2009, 19:11
Re: Checkpoint help - by miokie - 16.12.2009, 19:12
Re: Checkpoint help - by Lajko1 - 17.12.2009, 12:41
Re: Checkpoint help - by Lajko1 - 17.12.2009, 17:19
Re: Checkpoint help - by WillyP - 26.07.2010, 15:47
Re: Checkpoint help - by Kar - 26.07.2010, 15:49

Forum Jump:


Users browsing this thread: 1 Guest(s)