[Tutorial] [FirstTuto] Some Tips to optimize your script!
#1

this topic canceled,

check out this better https://sampforum.blast.hk/showthread.php?tid=580289
Reply
#2

Pretty useful for newbies, Thanks.
Reply
#3

Quote:

PHP Code:
new mp1;
new 
mp2;
new 
mp3;
new 
mp4;
new 
mp5;
new 
mp6;
new 
mp7;
new 
mp8;
new 
mp9
indestand of this use just
PHP Code:
new mp[10]; 
NOTE: less lines fast loading
nope it's not fast.Its slower.
Reply
#4

Quote:
Originally Posted by Sreyas
View Post
nope it's not fast.Its slower.
As Sreyas said,it's slower, check this topic.
Reply
#5

well a pretty nice tutorial it'd help a lot of newbies.
Just fix some typo in your thread
Reply
#6

Quote:
Originally Posted by TitanX
View Post
PHP Code:
"H""e""l, "l", "o" = 5 chars 
so just use
PHP Code:
static String[5] = "Hello"
That is not correct because you also need to account for the null-terminator. In practice I will usually round it up to the nearest multiple of 4.
Reply
#7

I don't recommend this tutorial even for newbies. Some things are wrong, some things are not related to optimization, the topic isn't well organized.
Reply
#8

thanks guys for you feed backs, i really learn from it and trying to fix those things
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)