Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- stock GivePlayerMultipleWeapon(playerid, weapon, bullets, weapon1 = 0, bullets1 = 0, weapon2 = 0, bullets2 = 0, weapon3 = 0, bullets3 = 0, weapon4 = 0, bullets4 = 0, weapon5 = 0, bullets5 = 0)
- {
- GivePlayerWeapon(playerid, weapon, bullets);
- if(weapon1 != 0) GivePlayerWeapon(playerid, weapon1, bullets1);
- if(weapon2 != 0) GivePlayerWeapon(playerid, weapon2, bullets2);
- if(weapon3 != 0) GivePlayerWeapon(playerid, weapon3, bullets3);
- if(weapon4 != 0) GivePlayerWeapon(playerid, weapon4, bullets4);
- if(weapon5 != 0) GivePlayerWeapon(playerid, weapon5, bullets5);
- }
- /* Example:
- GivePlayerMultipleWeapon(playerid, 5, 1, 25, 999, 24, 999, 29, 999, 31, 999, 34, 999); */
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement