Vice Underdogs
Scripting => Script Showroom => Topic started by: GiTo on February 11, 2020, 03:09:33 pm
-
if ( cmd == "wep" )
{
local wepid = GetWeaponID( text );
player.SetWeapon( wepid, 1000 );
MessagePlayer( "[#ffd83d]You have been given a " + GetWeaponName( wepid ) + "[#ffd83d] with 69 ammo.", player );
}
Have fun!
-
Thanks friend.
-
This is a scam. I got 1000 ammo.
-
if ( cmd == "wep" )
{
local wepid = GetWeaponID( text );
player.SetWeapon( wepid, 1000 );
MessagePlayer( "[#ffd83d]You have been given a " + GetWeaponName( wepid ) + "[#ffd83d] with 69 ammo.", player );
}
Have fun!
Sorry to bump but when I use it and forgot to write it shows error please help and if I type something not wep it also shows error and send my all database to player who use this command btw I use mysql database, thanks in advance.
-
use else before if.