SCM vs SendClientMessage
#1

Is there any speed difference betweeen using SendClientMessage and defining it with SCM or is it totally the same ?
Reply
#2

Depends how you define SCM. Using #define makes it complety the same thing because #... is a text replacement directive. https://sampwiki.blast.hk/wiki/Keywords:...ives#.23define
Creating a function SCM which returns SendClientMessage is slower.
Reply
#3

ok thank you very much,i was just thinking SendClientMessage could be faster due to the fact that when the script reads SCM it takes 1 more step to see it defined as SendClientMessage. Just a thought i had,good luck !
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)