mirror of
https://github.com/Nereziel/cs2-WeaponPaints.git
synced 2026-02-22 11:42:26 +00:00
Compare commits
3 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
62238b4446 | ||
|
|
03f194ac4e | ||
|
|
e441ccc601 |
@@ -7,6 +7,8 @@
|
||||
### Description
|
||||
Unfinished, unoptimized and not fully functional ugly demo weapon paints plugin for [CSSharp](https://docs.cssharp.dev/).
|
||||
|
||||
### Created [Discord server](https://discord.gg/mwEQppJ5AT) where you can discus about plugin.
|
||||
|
||||
### Features
|
||||
- changes only paint, seed and wear on weapons and knives
|
||||
- mysql based
|
||||
|
||||
@@ -160,6 +160,11 @@ public class WeaponPaints : BasePlugin, IPluginConfig<WeaponPaintsConfig>
|
||||
}
|
||||
}
|
||||
|
||||
// Check the best slot and set it. Weird solution but works xD
|
||||
AddTimer(0.1f, () => NativeAPI.IssueClientCommand((int)player.EntityIndex!.Value.Value - 1, "slot3"));
|
||||
AddTimer(0.1f, () => NativeAPI.IssueClientCommand((int)player.EntityIndex!.Value.Value - 1, "slot2"));
|
||||
AddTimer(0.1f, () => NativeAPI.IssueClientCommand((int)player.EntityIndex!.Value.Value - 1, "slot1"));
|
||||
|
||||
return HookResult.Continue;
|
||||
}
|
||||
private void OnEntitySpawned(CEntityInstance entity)
|
||||
|
||||
Reference in New Issue
Block a user