[CSGO/CSS?] Upgraded & Fixed VIP System - On Database With Perks
Use this system:
https://forums.alliedmods.net/showth...52#post2647352 |
Re: [CSGO] Upgraded & Fixed VIP System - On Database With Perks
First of all, Im not here to tell you what to do, but to point some things out.
Code:
if (StrEqual(gB_SteamID, "BOT")) This would also be a minor optimization if you do it before GetClientAuthId() I also noticed that you seem to give your local variables the g prefix while your global variables dont have that, in my opinion those should be quite the other way around. You also seem to prefix your char arrays b which would indicate that its a boolean. You should use either sz or c for char arrays, or something else that would better indicate that its a char array. You seem to give your strings "hardcoded" maxlength instead of using sizeof(). Heres an example of line 973. You should use sizeof(sTest) instead of giving 512 as the maxlength. Code:
public Action Timer_ApplySkin(Handle timer, any client) |
Re: [CSGO] Upgraded & Fixed VIP System - On Database With Perks
Quote:
|
Re: [CSGO] Upgraded & Fixed VIP System - On Database With Perks
Updated again the sourcecode.
|
Re: [CSGO] Upgraded & Fixed VIP System - On Database With Perks
public Action Command_AddVIP(int client, int args):
Code:
[...] Code:
[...] Code:
[...] Code:
[...] Code:
[...] GetClientAuthId gives a boolean value, check it before you use it? :'( Just like you did in: public void SQL_SelectPlayer_Callback(Database db, DBResultSet results, const char[] error, any data): Code:
[...] |
Re: [CSGO] Upgraded & Fixed VIP System - On Database With Perks
Quote:
|
Re: [CSGO/CSS?] Upgraded & Fixed VIP System - On Database With Perks
seems like name color not working
also its stripped my root rights? after map change :D got them back after database removed alone? Dosent save database also vip connect/disconnect message spamm not going off and if u and add person to vip his name spamm under the 1st vip name also u cant put it off spamming my error logs this line: L 04/28/2018 - 00:52:23: SourceMod error session started L 04/28/2018 - 00:52:23: Info (map "jb_leaderminecraft_ll") (file "errors_20180428.log") L 04/28/2018 - 00:52:23: [csgovip.smx] [CSGOVIP] Client is not valid. Reason: |
Re: [CSGO/CSS?] Upgraded & Fixed VIP System - On Database With Perks
Quote:
|
Re: [CSGO/CSS?] Upgraded & Fixed VIP System - On Database With Perks
Quote:
|
Re: [CSGO/CSS?] Upgraded & Fixed VIP System - On Database With Perks
Quote:
|
All times are GMT -4. The time now is 17:29. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.