View Single Post
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 #10

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