Which is faster and better?
#1

Hello guys, I'm wondering about this, which is faster and better to use?
Quote:

1.
SendClientMessage(playerid, -1, "...");
SendClientMessage(playerid, -1, "...");

Quote:

2.
SendClientMessage(playerid, -1, "..."), SendClientMessage(playerid, -1, "...");

Reply
#2

I think both are same as speed, but if you are asking about readability then It depends upon what is inside.
Reply
#3

Both of them are on the same speed but it's better to do likt in your first example to keep the script organized and clean.
Reply
#4

Got it, thank you guys!
Reply
#5

https://sampforum.blast.hk/showthread.php?tid=216730

Quote:
Originally Posted by DeeadPool
Посмотреть сообщение
Both of them are on the same speed but it's better to do likt in your first example to keep the script organized and clean.
That's Preposterous i could do it both ways and keep my script clean.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)