Dear forum users! In compliance with the new European GDPR regulations, we'd just like to inform you that if you have an account, your email address is stored in our database. We do not share your information with third parties, and your email address and password are encrypted for security reasons.
New to the forum? Say hello in this topic! Also make sure to read the rules.
New to the forum? Say hello in this topic! Also make sure to read the rules.
Giving items
Forum rules
By using the forum you agree to the following rules.
By using the forum you agree to the following rules.
- FRU1TSALAD
- Meatbag
- Posts: 3
- Joined: Wed Apr 18, 2018 10:53 pm
- Title: The Great Bamboozler
- SFD Account: Lol9er9er
- SFD Alias: FRU17 $ALAD
- Started SFD: October 2016
- Location: Severn,MD
- Age: 21
- Contact:
Giving items
Is there a command that allows items such as pistols to be given to players? I am making a map that requires this
0 x
"You can catch flies with honey, but you'll catch more honeys bein' fly"
- Gurt
- Lead Programmer
- Posts: 1884
- Joined: Sun Feb 28, 2016 3:22 pm
- Title: Lead programmer
- Started SFD: Made it!
- Location: Sweden
- Gender:
- Age: 34
Use the IPlayer.GiveWeaponItem(WeaponItem weaponItemToGive ) function. See the ScriptAPI for more details.
IPlayer plr = ...;
plr.GiveWeaponItem(WeaponItem.PISTOL);
IPlayer plr = ...;
plr.GiveWeaponItem(WeaponItem.PISTOL);
0 x
Gurt