View Single Post
Cruze
Veteran Member
Join Date: May 2017
Old 03-06-2019 , 22:37   Re: error 100 and other errors
Reply With Quote #9

PHP Code:
for (int iClient 1iClient <= MaxClientsiClient++)
{
    if (
IsClientInGame(iClient))
    {
        if(
SWGM_IsPlayerValidated(iClient) && SWGM_InGroup(iClient))
        {
            
int moneyss GetEntProp(iClientProp_Send"m_iAccount");
            
SetEntProp(iClientProp_Send"m_iAccount"moneyss 1000);
            
SetEntProp(iClientProp_Send"m_bHasHelmet"100);
            
SetEntProp(iClientProp_Send"m_ArmorValue"100);
            
CPrintToChat(iClient"%t""group member reward message");
        }
        else
        {
            
CPrintToChat(iClient"%t""group not a member");
        }
    }

__________________
Taking paid private requests! Contact me

Last edited by Cruze; 03-06-2019 at 22:38. Reason: :oops:
Cruze is offline