SWGM icon indicating copy to clipboard operation
SWGM copied to clipboard

SWGM_Shop_Bonus

Open lazhoroni opened this issue 6 years ago • 1 comments

L 03/12/2019 - 23:33:30: SourceMod error session started L 03/12/2019 - 23:33:30: Info (map "awp_lego_2") (file "errors_20190312.log") L 03/12/2019 - 23:33:30: [SM] Exception reported: Client 2 is not in game L 03/12/2019 - 23:33:30: [SM] Blaming: SWGM_Shop_Bonus.smx L 03/12/2019 - 23:33:30: [SM] Call stack trace: L 03/12/2019 - 23:33:30: [SM] [0] GetClientTeam L 03/12/2019 - 23:33:30: [SM] [1] Line 96, C:\Users\User\Desktop\sourcemod++\addons\sourcemod\scripting\SWGM_Shop_Bonus.sp::Timer_Give L 03/12/2019 - 23:34:30: [SM] Exception reported: Client 2 is not in game L 03/12/2019 - 23:34:30: [SM] Blaming: SWGM_Shop_Bonus.smx L 03/12/2019 - 23:34:30: [SM] Call stack trace: L 03/12/2019 - 23:34:30: [SM] [0] GetClientTeam L 03/12/2019 - 23:34:30: [SM] [1] Line 96, C:\Users\User\Desktop\sourcemod++\addons\sourcemod\scripting\SWGM_Shop_Bonus.sp::Timer_Give

lazhoroni avatar Mar 12 '19 20:03 lazhoroni

Try to change IsClientConnected to IsClientInGame. https://github.com/SomethingFromSomewhere/SWGM/blob/88b71f5b86a8822e67fe866dea95da44befda253/scripting/SWGM.sp#L136

SomethingFromSomewhere avatar Mar 14 '19 23:03 SomethingFromSomewhere