Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/copilot-instructions.md
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@ db.Query(CallbackFunction, query, clientId);

## Version Management

- Use semantic versioning in plugin info (currently 2.1)
- Use semantic versioning in plugin info (currently 2.1.1)
- Update version in both plugin header and git tags
- CI automatically creates releases from tags
- Keep changelog for significant changes
Expand Down
5 changes: 3 additions & 2 deletions addons/sourcemod/scripting/VIP_FreeVIPGiveaway.sp
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ public Plugin myinfo =
name = "[VIP] Free VIP Giveaway",
author = "inGame, maxime1907, Dolly",
description = "Gives Free VIP for players that are active on server",
version = "2.1"
version = "2.1.1"
};

public void OnPluginStart()
Expand Down Expand Up @@ -266,7 +266,8 @@ void SetVIP(int client)

public void OnClientDisconnect(int client)
{
if(IsClientSourceTV(client) || IsFakeClient(client))
// VIP Core natives throw on clients that never fully entered the game
if(!IsClientInGame(client) || IsClientSourceTV(client) || IsFakeClient(client))
return;

char testVipGroup[16];
Expand Down
Loading