Liberty Unleashed
Scripting => Script Help => Topic started by: Maximom on June 04, 2013, 05:36:15 pm
-
hi how i can get all weapons when player type a command like /gunsgunsguns
-
hi how i can get all weapons when player type a command like /gunsgunsguns
Are you trying to give them all weapons, or detect their current ones?
-
hi how i can get all weapons when player type a command like /gunsgunsguns
Are you trying to give them all weapons, or detect their current ones?
edit: if i type /guns i will get all weapons this i want
-
Try This >>
function onPlayerCommand( player, cmd, text )
{
if ( cmd == "guns" )
{
player.SetWeapon( 1, 99999 );
player.SetWeapon( 2, 99999 );
player.SetWeapon( 3, 99999 );
player.SetWeapon( 4, 99999 );
player.SetWeapon( 5, 99999 );
player.SetWeapon( 6, 99999 );
player.SetWeapon( 7, 99999 );
player.SetWeapon( 8, 99999 );
player.SetWeapon( 9, 99999 );
player.SetWeapon( 10, 99999 );
player.SetWeapon( 11, 99999 );
player.SetWeapon( 12, 99999 );
}
return 1;
}
-
thank you it works!
-
thank you it works!
You Are Welcome :D