Raised This Month: $ Target: $400
 0% 

Solved need help in optimization [weird coding]


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Natsheh
Veteran Member
Join Date: Sep 2012
Old 01-20-2022 , 09:59   Re: need help in optimization [weird coding]
Reply With Quote #1

Pass the string directly no need for reformatting...
PHP Code:
                console_print(players[i], "%s"szOutput

PHP Code:
                console_print(players[i], szOutput
Also no need for using loop to print for each individual player just use index as 0 for all and remove the loops.

Also you can use bitsum values for print destination will be be more easy and reliable, same goes for notify type.

PHP Code:

enum _
:ePrintDestination (<<=1) {
    
PRINT_CHAT     1,
    
PRINT_CONSOLE

__________________
@Jailbreak Main Mod v2.7.0 100%
@User Tag Prefix 100% done !
@Mystery Box 100% done !
@VIP System 100% done !


Last edited by Natsheh; 01-20-2022 at 10:12.
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 11:35.


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