Raised This Month: $ Target: $400
 0% 

restrict menu


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
omgitsme
Veteran Member
Join Date: Mar 2010
Old 06-02-2010 , 00:37   restrict menu
Reply With Quote #1

hey, i'm trying to make my first plugin for zombie mod (later for other plugins, mods to) i want to try to restrict the zombie admin menu to 3 times use per round. please don't laught, it's my first plugin. and i don't know if somethings are right so far (and please, don't lituraly give me the plugin. help me i want to learn to script)
so far
Quote:
#include <amxmodx>
#include <amxmisc>
#include <engine>
#include <zombieplague>

new amx_restrict
new amx_unrestrict

public plugin_init()
{
register_plugin("Zombie admin menu restrict", "1.0", "omgitsme");
register_event("
good?
__________________
omgitsme is offline
Send a message via Skype™ to omgitsme
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 06-02-2010 , 01:11   Re: restrict menu
Reply With Quote #2

Does it work?


P.S. You should probably start simple.
__________________
fysiks is offline
omgitsme
Veteran Member
Join Date: Mar 2010
Old 06-02-2010 , 01:48   Re: restrict menu
Reply With Quote #3

i don't know. when i get home i'll add too it and see if it compiles. but is this hard? i thought it would be a easy plugin
__________________
omgitsme is offline
Send a message via Skype™ to omgitsme
Alucard^
AMXX Moderator: Others
Join Date: Sep 2007
Location: Street
Old 06-02-2010 , 15:45   Re: restrict menu
Reply With Quote #4

Quote:
Originally Posted by omgitsme View Post
i don't know. when i get home i'll add too it and see if it compiles. but is this hard? i thought it would be a easy plugin
Is not easy when you start scripting.
__________________
Approved Plugins - Steam Profile

Public non-terminated projects:
All Admins Menu, HLTV parameters, Subnick,
Second Password (cool style), InfoZone,
Binary C4 plant/defuse, and more...

Private projects:
NoSpec (+menu), NV Surf Management,
PM Adanved System, KZ longjump2, and more...
Alucard^ is offline
Send a message via Skype™ to Alucard^
HLM
Senior Member
Join Date: Apr 2008
Location: C:\WINDOWS\System32
Old 06-02-2010 , 15:48   Re: restrict menu
Reply With Quote #5

I doubt this would help you alot, but I originally started coding by making simple plugins, such as an admin only noclip plugin, then a godmode, then I eventually got into harder things, such as making a player turn invisible, replacing what a client says when a regex match occured (IP advertisement) with a random one from a file.

start small then gradually work up to bigger things
__________________
+|- KARMA Respectively

HLM is offline
omgitsme
Veteran Member
Join Date: Mar 2010
Old 06-02-2010 , 15:58   Re: restrict menu
Reply With Quote #6

ok, thanks. i thought it was a... well, not easy. but i did'nt think it would be really hard. can you tell me a random little plugin to make? i don't know what to make
__________________
omgitsme is offline
Send a message via Skype™ to omgitsme
HLM
Senior Member
Join Date: Apr 2008
Location: C:\WINDOWS\System32
Old 06-02-2010 , 16:14   Re: restrict menu
Reply With Quote #7

admin only noclip, possibly add the show_activity stuff too ;)
__________________
+|- KARMA Respectively

HLM is offline
Reply



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 05:23.


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