[FilterScript] [FS]Spawn Weapon Menu
#1

Hello, yestarday I made this Spawn weapon menu for my server, and now I`m releasing it. It has 5pages, when player spawns menu opens and he pick ewry tipe of weapons one by one. when he is at last page and picked last weapon, menu goes away and player is unfreezed. This is basic scripting, so I think they aren`t any bugs

Download it here (allowed mirrors)


P.S - Sorry for my bad english
Reply
#2

Did you test THIS filterscript? I bet you didn't. Since the menu's gets created in "OnFilterScriptExit()"


And both callbacks "OnFilterScriptInit()" and "OnFilterScriptExit()" only loads in "FILTERSCRIPT" is defined.

Line 16:
Code:
#if defined FILTERSCRIPT

public OnFilterScriptInit()
{
But you did not define 'FILTERSCRIPT', so those 2 callbacks will not get called.
To solve, put above line 16:
Code:
#define FILTERSCRIPT
(And offcourse put the CreateMenu's in the OnFilterScriptInit()-callback instead the OnFilterScriptExit()-callback.
Reply
#3

Thanks, im using this on my server, cuz im to lazy to make this myself. xD
Reply
#4

Put more informations about it else no one will download it.
Example how you could do that:

* What is it?
* How does it works?
* Features
* Screens
* Download
Reply
#5

I tested it, and it worked for me
Reply
#6

Quote:
Originally Posted by klavins21
I tested it, and it worked for me
No, you did not test this Filterscript as a filterscript. I think you copy/pasted these codes from your gamemode.

Reply
#7

Quote:
Originally Posted by =>Sandra<=
Quote:
Originally Posted by klavins21
I tested it, and it worked for me
No, you did not test this Filterscript as a filterscript. I think you copy/pasted these codes from your gamemode.

you right
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)