Raised This Month: $51 Target: $400
 12% 

Solved Read KeyValues File


Post New Thread Reply   
 
Thread Tools Display Modes
Cruze
Veteran Member
Join Date: May 2017
Old 07-17-2019 , 23:50   Re: Read KeyValues File
Reply With Quote #11

Wouldn't loop be like this?
PHP Code:
for(int i 04i++) 
__________________
Taking paid private requests! Contact me

Last edited by Cruze; 07-20-2019 at 00:07. Reason: Forgot initialisation
Cruze is offline
GetRektByNoob
Member
Join Date: Nov 2018
Old 07-18-2019 , 10:22   Re: Read KeyValues File
Reply With Quote #12

Quote:
Originally Posted by I am inevitable View Post
PHP Code:
void RefreshClientWeapons(int iClient)
{
    for (
int i 44i++)
    {
        
int iWeapon_Entity_Index GetPlayerWeaponSlot(iClienti);
        
        if (
iWeapon_Entity_Index != -1)
        {
            
RemovePlayerItem(iClientiWeapon_Entity_Index);
            
            
AcceptEntityInput(iWeapon_Entity_Index"Kill");
            
            
char sWeapon_Classname[32];
            
            
GetEntityClassname(iWeapon_Entity_IndexsWeapon_Classnamesizeof(sWeapon_Classname));
            
            
GivePlayerItem(iClientsWeapon_Classname);
        }
    }

sorry i posted this on the wrong thread i tried removeing the reply without success till now, sorry again...
GetRektByNoob is offline
I am inevitable
Member
Join Date: May 2019
Location: 0xA6DA34
Old 07-19-2019 , 16:11   Re: Read KeyValues File
Reply With Quote #13

Quote:
Originally Posted by Cruze View Post
Wouldn't loop be like this?
PHP Code:
for(int 04i++) 
yup
__________________
I do make plugins upon requests, so hit me up on discord if you're interested: Stefan Milivojevic#5311
I am inevitable 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 04:03.


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