Raised This Month: $ Target: $400
 0% 

Subplugin Submission [ZP] Weapon Licenses (natives) [1.0.3]


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
H.RED.ZONE
Veteran Member
Join Date: Sep 2011
Location: Serbia, Belgrade
Old 09-20-2012 , 10:22   Re: [ZP] Weapon Licenses (natives) [1.0.0]
Reply With Quote #1

Nice, Great Idea.

Let me show you how you can improve your code.

Natives.
zp_has_user_silver_license
zp_has_user_golden_license

Code.
Spoiler


Improvements i did and you can copy and see.
* Useing Bits.
* Removed Amxmisc.
* Added define for setting cost.
* I wrote so you can see everything

It was fast i think i didn't made any mistakes.


Suggestions For Your Code:
* Use Bits.
* Look At The Code I Gave You.
* Add (Admin Licence) (Premium Licence) Not Only ShotGun And So On...
* You Can Add (Golden Licence || Silver Licence)
* Show People How They Can Set Checks.
(If I get Any More Suggestions I Will Tell You X)

And Again Nice Job And Great Idea.

EDIT: You Forgot to register the lybrary.
Code:
    // Register Lybrary.
    register_library( "licenses" )
__________________

Last edited by H.RED.ZONE; 09-20-2012 at 10:29.
H.RED.ZONE 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 16:24.


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