Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function onPlayerSpawn( player )
- {
- for(local i=0;i<=8;i++)
- {
- local w_id = player.GetWeaponAtSlot(i),w_ammo=player.GetAmmoAtSlot(i),w_name=GetWeaponName(w_id);
- if (w_id!=0) //it will ignore 0 Which is UnArmed(Fist) As All Empty Slots Will Return 0.
- MessagePlayer("[#FFFFFF]You Got Your : [#FFFF00][ [#006400]"+w_name+" [#FFFF00]][#FFFFFF] With Ammo : [#FFFF00][ [#006400]"+w_ammo+" [#FFFF00]][#FFFFFF] At Slot : [#FFFF00][ [#006400]"+i+" [#FFFF00]][#FFFFFF].",player);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement