[Ajuda] DanoArma(weaponid)
#1

pawn Код:
DanoArma(weaponid)
{
    new Float:Dano;

    if(weaponid == 0)
    {
        Dano = 0.5;
    }
    if(weaponid == 1 || weaponid == 3 || weaponid == 5 || weaponid == 7 || weaponid == 8 || weaponid == 41 || weaponid == 42)
    {
        Dano = 1.0;
    }
    if(weaponid == 4)
    {
        Dano = 65535.0;
    }
    if(weaponid == 16 || weaponid == 34 || weaponid == 35 || weaponid == 38)
    {
        Dano = 50.0;
    }
    if(weaponid == 24 || weaponid == 25 || weaponid == 27)
    {
        Dano = 25.0;
    }
    if(weaponid == 29 || weaponid == 30 || weaponid == 31)
    {
        Dano = 10.0;
    }
    return float(Dano);
}
Estб dando um Warning:

pawn Код:
C:\Documents and Settings\Administrador\Desktop\Fundacao CORPORATION OF PAWNO\Equipe COP\GAMEMODES\RPG.pwn(33283) : warning 213: tag mismatch
Reply


Messages In This Thread
DanoArma(weaponid) - by BielCOP - 19.10.2013, 23:28
Re: DanoArma(weaponid) - by PT - 19.10.2013, 23:34
Re: DanoArma(weaponid) - by BielCOP - 19.10.2013, 23:36
Re: DanoArma(weaponid) - by PT - 19.10.2013, 23:39
Re: DanoArma(weaponid) - by Dolby - 19.10.2013, 23:46
Re: DanoArma(weaponid) - by LeMoi - 19.10.2013, 23:53
Re: DanoArma(weaponid) - by PT - 20.10.2013, 00:00
Re: DanoArma(weaponid) - by iCracker - 20.10.2013, 00:01
Re: DanoArma(weaponid) - by PT - 20.10.2013, 00:12
Re: DanoArma(weaponid) - by Samuel300 - 20.10.2013, 03:13

Forum Jump:


Users browsing this thread: 1 Guest(s)