error to change GivePlayerWeapon GivePlayerValidWeapon
#2

You don't have GivePlayerValidWeapon defined..


Add this in the bottom of your script.
pawn Код:
stock GivePlayerValidWeapon(playerid,weaponid,ammo)
{
    if(IsPlayerConnected(playerid){
        if(!(-1 < weaponid < 47)) return 0;
        GivePlayerWeapon(playerid,weaponid,ammo);
    }
    return 1;
}
Reply


Messages In This Thread
error to change GivePlayerWeapon GivePlayerValidWeapon - by NTVbeleza - 25.04.2014, 06:13
Re: error to change GivePlayerWeapon GivePlayerValidWeapon - by Tayab - 25.04.2014, 06:31
Re: error to change GivePlayerWeapon GivePlayerValidWeapon - by NTVbeleza - 25.04.2014, 06:39

Forum Jump:


Users browsing this thread: 1 Guest(s)