Raised This Month: $ Target: $400
 0% 

Buy Stealth [v1.6.1]


Post New Thread Reply   
 
Thread Tools Display Modes
laziboi72
Senior Member
Join Date: Aug 2009
Location: deathrun_temple
Old 12-16-2009 , 19:08   Re: Buy Stealth [v1.4 FINAL]
Reply With Quote #11

Quote:
Originally Posted by Nextra View Post
- Since you now register say /buy_stealth directly you can remove all the arg stuff from the buyS function.
- Store cs_get_user_money in a variable so you don't need to call the native twice.
- Your enough-money-check is still hardcoded to 5000.
- Don't get_user_name when you are not sure you are needing it (-> place it behind the money check).
- You may want to be consistent with either the [STEALTH] (which I'd prefer) or the [ADMIN] tag. Mixing them doesn't make sense.
- Why include engine?
- You don't need to return PLUGIN_HANDLED in the remove function.
lol wow i cant believe i forgot the get rid of the arg stuff
thanks man
UPDATED!
__________________
Taking a break from modding dunno when i will be back

FAIL, RIGHT HERE

Last edited by laziboi72; 12-16-2009 at 19:45.
laziboi72 is offline
laziboi72
Senior Member
Join Date: Aug 2009
Location: deathrun_temple
Old 12-17-2009 , 00:04   Re: Buy Stealth updated [v1.6]
Reply With Quote #12

NEW CVAR!
allows admin to change the percent invisibility of the plugin!
__________________
Taking a break from modding dunno when i will be back

FAIL, RIGHT HERE
laziboi72 is offline
Zombiezzz
Veteran Member
Join Date: Nov 2009
Location: Nov 2009
Old 12-17-2009 , 18:22   Re: Buy Stealth updated [v1.6]
Reply With Quote #13

OPPS >.> i mean not sound but i added a cvar in that script i gave you, it lets you make the time to be invisble. Dose it work bro?
__________________
Zombiezzz is offline
laziboi72
Senior Member
Join Date: Aug 2009
Location: deathrun_temple
Old 12-17-2009 , 18:48   Re: Buy Stealth updated [v1.6]
Reply With Quote #14

Quote:
Originally Posted by Zombiezzz View Post
OPPS >.> i mean not sound but i added a cvar in that script i gave you, it lets you make the time to be invisble. Dose it work bro?
oh yea, it works! thanks for the tips man!
added TOGGLE_PLUGIN (turns plugin on or off)
__________________
Taking a break from modding dunno when i will be back

FAIL, RIGHT HERE

Last edited by laziboi72; 12-17-2009 at 19:28.
laziboi72 is offline
Old 12-17-2009, 19:59
Excalibur.007
This message has been deleted by Excalibur.007. Reason: Nvm
Old 12-17-2009, 20:00
laziboi72
This message has been deleted by laziboi72. Reason: reply to deleted comment
Zombiezzz
Veteran Member
Join Date: Nov 2009
Location: Nov 2009
Old 12-19-2009 , 01:39   Re: Buy Stealth [v1.6.1] updated
Reply With Quote #15

im glad it work.
__________________
Zombiezzz is offline
r4ndomz
Senior Member
Join Date: Jul 2009
Location: The Hood
Old 03-31-2010 , 18:19   Re: Buy Stealth [v1.6.1]
Reply With Quote #16

Omg, i write simple plugins like these all the time, but i never end up posting them because it feels like it will be unapproved for some reason. Good job i guess
__________________
HideNSeek bug fixed here:http://forums.alliedmods.net/showpos...&postcount=951

PM me if you want a nice HideNSeek shop
NEED PLUGIN TESTERS PM ME
r4ndomz is offline
Send a message via Skype™ to r4ndomz
laziboi72
Senior Member
Join Date: Aug 2009
Location: deathrun_temple
Old 04-02-2010 , 09:37   Re: Buy Stealth [v1.6.1]
Reply With Quote #17

Quote:
Originally Posted by r4ndomz View Post
Omg, i write simple plugins like these all the time, but i never end up posting them because it feels like it will be unapproved for some reason. Good job i guess
lol thanks,
__________________
Taking a break from modding dunno when i will be back

FAIL, RIGHT HERE
laziboi72 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 05:17.


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