Raised This Month: $ Target: $400
 0% 

[ZP] Buy Limit Armor


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
BerkayF
Junior Member
Join Date: Jun 2020
Old 07-16-2022 , 14:26   Re: [ZP] Buy Limit Armor
Reply With Quote #1


This code has been tried now
but the error was encountered

Quote:
Originally Posted by lexzor View Post
PHP Code:
public round_start()
{
    static 
iPlayers[MAX_PLAYERS], iNum;
    
get_players(iPlayeriNum"ch");

    for(static 
iiPlayeriNumi++)
    {
        
iPlayer iPlayers[i];

        if(
is_user_alive(iPlayer))
            
g_armor_buy[players] = get_pcvar_num(cvar_armor_limit)
    }

Error:
Code:
77  public round_start()
78  {
79    static iPlayers[MAX_PLAYERS], iNum;
80    get_players(iPlayer, iNum, "ch");
81
82    for(static i, iPlayer; i < iNum; i++)
83    {
84        iPlayer = iPlayers[i];
85
86        if(is_user_alive(iPlayer))
87            g_armor_buy[players] = get_pcvar_num(cvar_armor_limit)
88     }
89  }

Last edited by BerkayF; 07-16-2022 at 14:31.
BerkayF 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 15:37.


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