Raised This Month: $32 Target: $400
 8% 

Issue with API. (Creating custom LR)


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Papero
Veteran Member
Join Date: Aug 2016
Location: Italy
Old 07-24-2017 , 09:35   Issue with API. (Creating custom LR)
Reply With Quote #1

I've done a new LR, using lastrequest API, some days ago was working good, but now apparently without no reason, stopped working well.
When someone try to do the LR GunFight, after chosen the CT the menu disappear, and when there is only 1 CT alive, after doing GunFight, the menu disappeart and the chat says that, there aren't CT for the LR.

the code
Spoiler
__________________
My Plugins
SPCode


Steam: hexer504
Telegram: Hexah
Discord: Hexah#6903

If you like my work you can donate here!

Last edited by Papero; 07-24-2017 at 15:05.
Papero is offline
databomb
Veteran Member
Join Date: Jun 2009
Location: california
Old 08-22-2017 , 12:47   Re: Issue with API. (Creating custom LR)
Reply With Quote #2

From GitHub as well:

So keep in mind that multiple LRs could be cycling through at the same time depending on the maximum LR convar. Try creating the menus each time you have the LR instead of globally in OnPluginStart. Also, do not use global variables to pass LR information.
__________________
databomb is offline
Reply



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 19:21.


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