Raised This Month: $ Target: $400
 0% 

Solved [Help] Drop weapon if user is under level 10


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
elmedin
Senior Member
Join Date: Nov 2013
Location: Bruh
Old 05-11-2020 , 21:08   Re: [Help] Drop weapon if user is under level 10
Reply With Quote #11

Quote:
Originally Posted by Bugsy View Post
Do you have an array that stores weapon levels?
Yes, i do have the array that stores weapons in the weapon menu + levels which for me it was a pain in the ass cause im an amature


HTML Code:
if (zp_get_user_level(id) < ArrayGetCell(i_lvl , ItemId))
	{
		Show_MainEquipMenu(id)
		client_printc(id , "%L" , id , "ZX_NOT_AT_LVL")
		return ITEM_DISABLED
	} //this is the array that i use in the main weapon plugin

Last edited by elmedin; 05-11-2020 at 21:21.
elmedin is offline
 



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 17:14.


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