25.04.2014, 06:31
You don't have GivePlayerValidWeapon defined..
Add this in the bottom of your script.
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;
}