Skip to content

Commit b62bb29

Browse files
committed
Fix IsClientFeatureUse
1 parent 5d05a66 commit b62bb29

File tree

2 files changed

+3
-8
lines changed

2 files changed

+3
-8
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
src="https://img.shields.io/github/repo-size/theelsaud/VIP-Core-Reloaded"
2121
/>
2222
<img
23-
src="https://img.shields.io/github/workflow/status/theelsaud/VIP-Core-Reloaded/Compile%20and%20release"
23+
src="https://img.shields.io/github/workflow/status/theelsaud/VIP-Core-Reloaded/Test%20build"
2424
/>
2525
</p>
2626
</div>
@@ -62,8 +62,8 @@
6262
- Поддержка Storage [+]
6363
- Поддрежка MySQL [+]
6464
- Поддержка большенства старых функций и совместимость с новым API [-]
65-
- Поддрежка SQLite [-]
66-
- Поддрежка PostgreSQL (Только на SM 1.11) [-]
65+
- Поддержка SQLite [-]
66+
- Поддержка PostgreSQL (Только на SM 1.11) [-]
6767
- Полная поддержка переводов во всём плагине [-]
6868

6969
Trigger 🥚

scripting/VIP-Core/API.sp

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -272,11 +272,6 @@ public int Native_IsClientFeatureUse(Handle hPlugin, int iNumParams)
272272
char sFeature[D_FEATURENAME_LENGTH];
273273
GetNativeString(2, sFeature, sizeof(sFeature));
274274

275-
if(GetNativeCell(3))
276-
{
277-
DB_RemoveCustomFeature(iClient, sFeature);
278-
}
279-
280275
return g_ePlayerData[iClient].GetFeatureIDByName(sFeature) != -1 ? true : false;
281276
}
282277

0 commit comments

Comments
 (0)