16.10.2011, 02:21
PHP код:
if(listitem == 2)
{
if(PlayerInfo[playerid][pDonateRank] == 1 || PlayerInfo[playerid][pDonateRank] == 2 || PlayerInfo[playerid][pDonateRank] == 3)
{
if(PlayerInfo[playerid][pAge] == 0)
{
PlayerInfo[playerid][pAge] = 1;
ShowPlayerDialog(playerid, 124, DIALOG_STYLE_MSGBOX,"Sucesso.","Vocк entrou na fila de atendimento, agora aguarde.","OK","");
PlayerPlaySound(playerid, 1056, 0.0, 0.0, 0.0);
}
else{
ShowPlayerDialog(playerid, 124, DIALOG_STYLE_MSGBOX,"Fail","Vocк ja entrou na fila de atendimento, Aguarde ser atendito","OK","");
PlayerPlaySound(playerid, 1056, 0.0, 0.0, 0.0);
}
ShowPlayerDialog(playerid, 13, DIALOG_STYLE_MSGBOX, "Sucesso", "Vocк solicitou atendimento vip, e serб atendido o mais rapido possivel, obrigado por ter comprado vip.", "Ok", "");
GetPlayerName(playerid,sendername,sizeof(sendername));
format(string, sizeof(string), "[!!!!!!] O %s SOLICITOU ATENDIMENTO VIP ", sendername);
format(string, sizeof(string), "[!!!!!!] O %s SOLICITOU ATENDIMENTO VIP ", sendername);
format(string, sizeof(string), "[!!!!!!] O %s SOLICITOU ATENDIMENTO VIP ", sendername);
format(string, sizeof(string), "[!!!!!!] O %s SOLICITOU ATENDIMENTO VIP ", sendername);
PlayerPlaySound(wiiN, 1056, 0.0, 0.0, 0.0);
SendAdminMessage(COLOR_RED, string);
}
else
{
ShowPlayerDialog(playerid, 13, DIALOG_STYLE_MSGBOX, "Fail", "Vocк nгo e vip", "Ok", "");
PlayerPlaySound(playerid, 1056, 0.0, 0.0, 0.0);
return 1;
}
}
}
}