View Single Post
AreaZ
Junior Member
Join Date: Feb 2011
Location: Lille
Old 09-14-2013 , 14:00   Re: [PROBLEME DOSSIER] paintball
#4

J'ai l'impression que le problème se situe au niveau du stock user_has_pbgun dans le paintballgun.amxx

Code:
stock user_has_pbgun(id)
{
    if (is_user_alive(id))
    {
        new model[25];
        pev(id, pev_viewmodel2, model, 24);
        if (containi(model, "models/comex/v_pbgun") != -1) 
            return 1;
        else if (equali(model, "models/comex/v_pbusp.mdl")) 
            return 2;
        else if (equali(model, "models/comex/v_pbglock.mdl")) 
            return 3;
    }
    return 0;
}
__________________
*** PRODUIT BIO PERIME, MAIS BIO QUAND MEME ! ***

Last edited by AreaZ; 09-14-2013 at 14:12.
AreaZ is offline