Need help.
#8

pawn Код:
if(dialogid == 4)
        {
            if(!response) return ShowPlayerDialog(playerid,-1,0,"","","","");
            if(response)
            {
                switch(listitem)
                {
                    case 0:
                    {
                        if(IsInvincible[playerid] == 1)
                        {
                            SendClientMessage(playerid,-1,"You need to wait 50 Secods before using this class again");
                            //Here you saying that if the player is invicible than u should wait 50 sec but you didn't put any code for making the timer true
                        }
                        else if(IsInvincible[playerid] == 0)
                        {
                            IsInvincible[playerid] = 1;
                            ClassSelectedInvin[playerid] = 1;
                            SendClientMessage(playerid, -1, "Invincible Class Activated");
                            SendClientMessage(playerid,-1, "Press Jump_Key To Activated Invincible Mode");
                            SetTimerEx("ClassTimerInvin",50000,false,"i",0);
                        }
                    }
                }
            }
        }
Reply


Messages In This Thread
Need help. - by Rudy_ - 21.06.2012, 13:52
Re: Need help. - by nilanjay - 21.06.2012, 14:00
Re: Need help. - by vIBIENNYx - 21.06.2012, 14:01
Re: Need help. - by Rudy_ - 21.06.2012, 14:02
Re: Need help. - by nilanjay - 21.06.2012, 14:06
Re: Need help. - by vIBIENNYx - 21.06.2012, 14:19
Re: Need help. - by Rudy_ - 21.06.2012, 14:24
Re: Need help. - by nilanjay - 21.06.2012, 14:26
Re: Need help. - by Rudy_ - 21.06.2012, 14:30
Re: Need help. - by vIBIENNYx - 21.06.2012, 14:45

Forum Jump:


Users browsing this thread: 1 Guest(s)