Quote:
Originally Posted by freak.exe_uLow
I hope it's allowed to post it from a discord server (not my script) credits too OkyHp & Wend4r
If that is against the rules, please delete my post
|
There is nothing wrong with posting plugins that someone else have made according to the rules, however good etiquette would be to keep / give appropriate credit like you do.
One of the biggest things would more likely be whether or not you actually support the plugins you post or not. If not, I'd suggest you leave it to the original authors post them.
Quote:
Originally Posted by freak.exe_uLow
maybe you need HexTags for that? I'm not sure :/
|
"I'm not sure"?
No offence, but especially this thing is one of the "good" reason for not blindly sharing plugins you don't know whether they work or not, or produce errors.
In the end, you will be the one spreading bad quality :'(
For the error though, I suggest trying to re-order the !IsFakeClient and IsClientInGame, e.g. from:
Code:
!IsFakeClient(i) && IsClientInGame(i)
to
Code:
IsClientInGame(i) && !IsFakeClient(i)
There are also chances that SteamWorks_HasLicenseForApp may also return 2, if there are some odd issues (e.g. connectivity issues). And it will always if you run it on a bot.
So this part:
Code:
g_bNoPrime[iClient] = SteamWorks_HasLicenseForApp(iClient, 624820) ? true : false;
could obviously also be made a better, as it does not account for this.
__________________