Raised This Month: $128 Target: $400
 32% 

Solved Item limit menu problem


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
nG_getwreck
Senior Member
Join Date: Oct 2020
Location: Philippines from South K
Old 02-22-2021 , 08:10   Item limit menu problem
Reply With Quote #1

Problem solved

https://forums.alliedmods.net/showpo...13&postcount=2
__________________
My Steam:


Last edited by nG_getwreck; 02-22-2021 at 12:22.
nG_getwreck is offline
CrazY.
Veteran Member
Join Date: May 2015
Location: SP, Brazil
Old 02-22-2021 , 08:33   Re: Item limit menu problem
Reply With Quote #2

Code:
case 4:
{
    if(limit_frostm4[id] >= 2)
    {
        limit_frostm4[id]++
        client_printcolored(id, "!g[GCG] !nYou've reached the limit !t[2/2]")
    }
    else if(zp_ammopacks_get(id) >= 25)
    {
        ze_give_frostm4(id)
        zp_ammopacks_set(id, zp_ammopacks_get(id) - 25)
    }
    else
    {
        client_printcolored(id, "!g[GCG] !nYou don't have enough !gAmmoPacks to buy !tFrost M4A1")
    }
}


Code:
case 4:
{
    if(limit_frostm4[id] >= 2)
    {
        client_printcolored(id, "!g[GCG] !nYou've reached the limit !t[2/2]")
    }
    else if(zp_ammopacks_get(id) >= 25)
    {
        ze_give_frostm4(id)
        limit_frostm4[id]++
        zp_ammopacks_set(id, zp_ammopacks_get(id) - 25)
    }
    else
    {
        client_printcolored(id, "!g[GCG] !nYou don't have enough !gAmmoPacks to buy !tFrost M4A1")
    }
}
__________________
Accepting private $$$ plugins requests.

@Steam: crazy770
@Discord: CrazY.#5317

Website | Channel

CrazY. is offline
Old 02-22-2021, 08:34
raizo11
This message has been deleted by raizo11.
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 07:51.


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