Raised This Month: $51 Target: $400
 12% 

[CSS/CS:GO] Weapon Restrict


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Bacardi
Veteran Member
Join Date: Jan 2010
Location: mom's basement
Old 01-20-2023 , 08:36   Re: [CSS/CS:GO] Weapon Restrict
Reply With Quote #25

I left comment, not sure where exactly problem is.

https://github.com/alliedmodders/sou...ent-1397965474
Quote:
> Hello @asherkin @psychonic @peace-maker etc. etc.
>
> I want inform that between these build:
>
> ```
> DEV SM 1.12 - 6958
> DEV SM 1.12 - 6954
> ```
>
> ...server crash when use SDKTools `DispatchSpawn("weapon_hegrenade")` on version 6958. Again, it works fine on version 6954 and on other previous build, included STABLE SM 1.11
>
> Plugin [Weapon Restrict](https://github.com/Drifter321/csgo-css-weapon-restrict) would cause that crash. And I managed to follow code to `DispatchSpawn("weapon_hegrenade")`
>
> Here is simple problematic code.
>
> ```c++
> #include <sdktools>
>
> public void OnConfigsExecuted()
> {
> CreateTimer(10.0, delay)
> }
>
> public Action delay(Handle timer)
> {
> int iEnt = CreateEntityByName("weapon_hegrenade");
>
> if(iEnt)
> {
> DispatchSpawn(iEnt);
> //iGrenadeAmmoIndex[i] = GetEntProp(iEnt, Prop_Send, "m_iPrimaryAmmoType");
> //AcceptEntityInput(iEnt, "Kill");
> }
>
> return Plugin_Continue;
> }
> ```
>
> * I tested on Windows.
>
> * This person mentioned Linux #[2247](https://forums.alliedmods.net/showpo...postcount=2247)
>
>
> Hope you find this bug. Good day!
You should stay on STABLE version of MM:S and SM.

DEVS version means, you will encounter errors or bugs. And what I understood, you not create ISSUE of those dev versions. For last time what I red some where
__________________
Do not Private Message @me
Bacardi is offline
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 12:33.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode