[Pedido] Comando de comprarvip
#3

Quote:
Originally Posted by Relaxed
Посмотреть сообщение
PHP код:
#define COMPRARVIP 
PHP код:
CMD:comprarvip(playerid)
{
    
ShowPlayerDialog(playeridCOMPRARVIPDIALOG_STYLE_LIST"Loja VIP","Vip Normal\nSuper Vip\nVip Sуcio\n");
    return 
1;

PHP код:
public OnDialogResponse(playeriddialogidresponselistiteminputtext[])
{
    if(
dialogid == COMPRARVIP)
    {
        if(!
response) return SendClientMessage(playerid,-1,"Compra Cancelada gay");
        {
            if(
listitem == 0)
            {
                if(
PlayerInfo[playerid][pVip] == 1) return SendClientMessage(playerid,-1,"Vocк ja й vip, espere acabar fdp");
                
                
PlayerPlaySound(para110840.00.00.0);
                
SendClientMessage(para10x06DEE2AA,"{06DEE2}Liberaзгo de Vantagens Vips");
                
format(stringsizeof string"Vocк comprou VIP nнvel %d"level);
                
SendClientMessage(para10xFFFFFFFFstring);
                
PlayerInfo[para1][pConta] += VipGrana;
                
PlayerInfo[playerid][pVip] = 1;
            }
            if(
listitem == 1)
            {
                
// Continua ai ;-;
            
}
            if(
listitem == 2)
            {
                
//continua ai ;-;
            
}
        }
    }
    return 
1;

Nem compila, da pawn parou de funcionar!

me ajude
Reply


Messages In This Thread
Comando de comprarvip - by Franklin0180 - 08.04.2017, 05:25
Re: Comando de comprarvip - by Relaxed - 08.04.2017, 10:50
Re: Comando de comprarvip - by Franklin0180 - 09.04.2017, 02:43
Re: Comando de comprarvip - by IlanZ - 09.04.2017, 03:37
Re: Comando de comprarvip - by WILK3R - 09.04.2017, 07:11

Forum Jump:


Users browsing this thread: 2 Guest(s)