Raised This Month: $ Target: $400
 0% 

show menu every 3 rounds


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Uzviseni Bog
Senior Member
Join Date: Jun 2020
Old 01-13-2024 , 19:00   Re: show menu every 3 rounds
Reply With Quote #1

Quote:
Originally Posted by fysiks View Post
Don't loop through all player entities, use get_players() as bigdaddy424 suggested.
Yea
Uzviseni Bog is offline
KiloV92
New Member
Join Date: Jan 2024
Old 01-14-2024 , 01:57   Re: show menu every 3 rounds
Reply With Quote #2

Thanks . And how can i stop giving g_iAdMenuUsage[id] to players at 3 ? I mean how can i detect if a player has 3 g_iAdMenuUsage and stop giving them until they use the menu ?
KiloV92 is offline
Natsheh
Veteran Member
Join Date: Sep 2012
Old 01-14-2024 , 10:50   Re: show menu every 3 rounds
Reply With Quote #3

Quote:
Originally Posted by KiloV92 View Post
Thanks . And how can i stop giving g_iAdMenuUsage[id] to players at 3 ? I mean how can i detect if a player has 3 g_iAdMenuUsage and stop giving them until they use the menu ?
g_iAdMenuUsage[i] = min(++g_iAdMenuUsage[i], 3);
__________________
@Jailbreak Main Mod v2.7.0 100%
@User Tag Prefix 100% done !
@Mystery Box 100% done !
@VIP System 100% done !

Natsheh is offline
Send a message via MSN to Natsheh Send a message via Skype™ to Natsheh
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 00:33.


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