Raised This Month: $12 Target: $400
 3% 

how to make weapons can be used full map


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
XKotlin64
Junior Member
Join Date: Mar 2020
Old 03-23-2020 , 23:35   how to make weapons can be used full map
Reply With Quote #1

how to make weapons can be used full map?
what code should I add to the .sma file so that the weapon can be used in a full map? (not one round)
XKotlin64 is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 03-24-2020 , 00:02   Re: how to make weapons can be used full map
Reply With Quote #2

You need to write a plugin that will give your the weapon when you spawn. You can find ways to hook spawn (hint: Ham_Spawn) and give weapons by searching in the Tutorials section and/or Scripting Help. Also, looking at plugins that already do similar things is a good way to learn how to do certain functions.
__________________

Last edited by fysiks; 03-24-2020 at 00:05.
fysiks is offline
XKotlin64
Junior Member
Join Date: Mar 2020
Old 03-24-2020 , 09:21   Re: how to make weapons can be used full map
Reply With Quote #3

Quote:
Originally Posted by fysiks View Post
You need to write a plugin that will give your the weapon when you spawn. You can find ways to hook spawn (hint: Ham_Spawn) and give weapons by searching in the Tutorials section and/or Scripting Help. Also, looking at plugins that already do similar things is a good way to learn how to do certain functions.
That's not what I meant, sir

so I have a weapon plugin file for zombie plague, after one round, the weapon is gone and I have to buy it again, so how can I use it until one map is complete without having to buy weapons every round?
What code should I add to the plugin?
XKotlin64 is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 03-24-2020 , 21:32   Re: how to make weapons can be used full map
Reply With Quote #4

That is essentially what you are asking for except you have to use the functions in your plugin to give the weapon. I'm not familiar with Zombie Plague (there is a separate forum just for that mod) so I'm not entirely sure how all of it is structured.

So, for Zombie Plague requests, you should probably post in the Zombie Plague forum since people who know about it are more likely to be the ones looking in that forum.
__________________
fysiks is offline
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 01:45.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode