26.07.2010, 15:47
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;
}
pawn Код:
{
if(gTeam[playerid] != TEAM_COP)
{
SendClientMessage(playerid,0xFF9900AA,"Nothing For You Here Sir!");
return 1;
}