View Single Post
leaffan
Senior Member
Join Date: Jan 2013
Old 03-08-2021 , 16:45   Re: Build notice [L4D2-POINTS SYSTEM]
Reply With Quote #6

Quote:
Originally Posted by Marttt View Post
You have an uppercase X on that line \X04 should be \x04 (lowercase)
Thank you so much. But this time too !points etc. commands do not work, how did the friend who compiled this compiled it before?

PHP Code:
// void addPointsToTeam(int iClientIndex, int iTeam, int iPoints, const char[] sMessage)
// {
    // if(MaxClients >= iClientIndex)
    // {
        // if(!IsClientBot(iClientIndex))
            // if(GetClientTeam(iClientIndex) == iTeam)
                // addPoints(iClientIndex, iPoints, sMessage);
        // addPointsToTeam(++iClientIndex, iTeam, iPoints, sMessage);
    // }
    // return;
// } 
How do you think the friend here was able to compile https://forums.alliedmods.net/showpost.php?p=2719385 without closing these lines? Because when those commands are closed, the messages get corrupted.

Thank you again for your trouble.
leaffan is offline