[Ajuda] Usei certo a GetPlayerWeaponData?
#5

PHP код:
TemArma(playeridarma)
{
    new 
WeaponIDAmmo;
    for (new 
0<= 12i++)
    {
        
GetPlayerWeaponData(playeridiWeaponIDAmmo);
        if(
WeaponID == arma)
        {
            return 
true;
        }
    }
    return 
false;


Uso
PHP код:
if(TemArma(playeridWEAPON_GOLFCLUB))
{
    
/** Tem Arma**/
}
else
{
    
/** Nгo tem Arma**/

Reply


Messages In This Thread
Usei certo a GetPlayerWeaponData? - by luccagomes15 - 13.02.2016, 08:13
Re: Usei certo a GetPlayerWeaponData? - by Delete_ - 13.02.2016, 12:30
Re: Usei certo a GetPlayerWeaponData? - by ZackT - 13.02.2016, 15:21
Re: Usei certo a GetPlayerWeaponData? - by RodrigoMSR - 13.02.2016, 16:01
Re: Usei certo a GetPlayerWeaponData? - by Dayvison_ - 13.02.2016, 17:26
Re: Usei certo a GetPlayerWeaponData? - by pedrotvr - 14.02.2016, 07:21
Re: Usei certo a GetPlayerWeaponData? - by Dayvison_ - 14.02.2016, 13:49

Forum Jump:


Users browsing this thread: 1 Guest(s)