Quote from: Xhefri on Jan 04, 2019, 05:19 PMi have the same cmd how do i block minigun ?Code Selectelse if ( cmd == "wep" )
{
if ( !player.Spawned ) MessagePlayer( "[#fdff00]You need to spawn to use this command.", player );
else{
if ( text )
{
local wepid = GetWeaponID( text );
player.SetWeapon( wepid, 1000 );
MessagePlayer( "[#fdff00]You receive [" + GetWeaponName( wepid ) + "] 1000 ammo." , player );
}
else MessagePlayer( "[#fdff00] To get weapon type /wep <name> ", player );
}
}