[Ajuda] Ajuda Com Comer Pizza , if , essa bagaзa toda ai
#1

Olб Mais uma Vez , teachers , bom , manoooo do ceu , pra mim ia da certo mais num deu , sabe quando vc vai desenhar , imagina aquela coisa foda , mais quando desenha sai pior que bosta? int , isso resume meu cmd '-'

Bom Eu Fiz um Sistema de Alimentos , e Queria que Enquanto fosse menor que 7 ele podesse comer , e quando fosse maior ou igual a 7 ele nao comesse olhem


New
Код:
new Pizza[MAX_PLAYERS];
Code
Код:
            if(strcmp(cmdtext, "/Pizza", true) == 0)   // Comando ( Nгo Importa Vamos Usar o F )
    {

            if(IsPlayerInRangeOfPoint(playerid, 2.0, 1479.700683, -1723.753173, 13.546875))
    {

            if(Pizza[playerid] <= 7)
            {Pizza[playerid] ++;
             SetPlayerAttachedObject(playerid,1, 2703, 5, 0.1, 0.07, 0.04, 180.0, 0.0, 0.0, 1.0, 1.0, 1.0);
            ApplyAnimation(playerid, "VENDING", "VEND_Drink2_P", 4.1, 0, 1, 1, 1, 1, 1);
            GivePlayerMoney(playerid, -500);
            }
            if(Pizza[playerid] = 7)
            { SendClientMessage(playerid, -1, " {F28CAA} [INFO] Vocк Ja Comeu o Maximo de Pizzas Permitidas");
            }



    }

    }

ScreenShot


Reply


Messages In This Thread
Ajuda Com Comer Pizza , if , essa bagaзa toda ai - by teto27 - 17.10.2017, 01:59
Re: Ajuda Com Comer Pizza , if , essa bagaзa toda ai - by SammyJ - 17.10.2017, 02:10
Re: Ajuda Com Comer Pizza , if , essa bagaзa toda ai - by Firezl - 17.10.2017, 02:12
Re: Ajuda Com Comer Pizza , if , essa bagaзa toda ai - by teto27 - 17.10.2017, 02:29
Re: Ajuda Com Comer Pizza , if , essa bagaзa toda ai - by pWesley - 17.10.2017, 22:54
Re: Ajuda Com Comer Pizza , if , essa bagaзa toda ai - by Rato22 - 20.10.2017, 18:45

Forum Jump:


Users browsing this thread: 1 Guest(s)