set g_player_template_example_pickup_weapon_rifle "default" "What items does player get when they pickup a rifle."
set g_player_template_example_pickup_weapon_seeker "default" "What items does player get when they pickup a TAG seeker."
set g_player_template_example_pickup_weapon_vaporizer "default" "What items does player get when they pickup a vaporizer."
+set g_player_template_example_pickup_weapon_hmg "default" "What items does player get when they pickup an HMG."
+set g_player_template_example_pickup_weapon_rpc "default" "What items does player get when they pickup an RPC."
set g_player_template_example_pickup_item_strength "default" "What items does player get when they pickup strength."
set g_player_template_example_pickup_item_shield "default" "What items does player get when they pickup shield."
set g_player_template_example_pickup_item_fuel_regen "default" "What items does player get when they pickup fuel regeneration."
return PlayerTemplate_GivePlayerItem(player, template,
"pickup_weapon_vaporizer");
}
+ case "weapon_hmg":
+ {
+ return PlayerTemplate_GivePlayerItem(player, template,
+ "pickup_weapon_hmg");
+ }
+ case "weapon_rpc":
+ {
+ return PlayerTemplate_GivePlayerItem(player, template,
+ "pickup_weapon_rpc");
+ }
case "droppedweapon":
{
switch (item.weapon)
return PlayerTemplate_GivePlayerItem(player, template,
"pickup_weapon_vaporizer");
}
+ case WEP_HMG.m_id:
+ {
+ return PlayerTemplate_GivePlayerItem(player, template,
+ "pickup_weapon_hmg");
+ }
+ case WEP_RPC.m_id:
+ {
+ return PlayerTemplate_GivePlayerItem(player, template,
+ "pickup_weapon_rpc");
+ }
default:
{
PrintToChatAll(strcat("Unrecognized item, classname: ",