Invalid function or declaration.. i using this code:
PHP Code:
switch (PlayerLevel[id])
{
case 0: give_item (id, "weapon_glock18");
case 1: give_item (id, "weapon_usp");
case 2: give_item (id, "weapon_deagle");
case 3: give_item (id, "weapon_elites");
case 4: give_item (id, "weapon_tmp");
case 5: give_item (id, "weapon_ump45");
case 6: give_item (id, "weapon_mp5");
case 7: give_item (id, "weapon_p90");
case 8: give_item (id, "weapon_famas");
case 9: give_item (id, "weapon_galil");
case 10: give_item (id, "weapon_m3");
case 11: give_item (id, "weapon_ak-47");
case 12: give_item (id, "weapon_m4a1");
case 13: give_item (id, "weapon_sg550");
case 14: give_item (id, "weapon_sg552");
case 15: give_item (id, "weapon_m249")
}
}
with:
http://forums.alliedmods.net/showthread.php?p=114736
And I want to do that when the levels rise I have another gun (what the words)