Who knows how works CallLocal/RemoteFunction?
#1

Hey.
Someone can explain me how works CallLocalFuntion and CallRemoteFunction. =/
I don't know exactly how it works.
Thank you all.
____________________________
Best regards!
Reply
#2

https://sampwiki.blast.hk/wiki/CallLocalFunction
Reply
#3

https://sampwiki.blast.hk/wiki/CallRemoteFunction


Edit: Too slow.
Reply
#4

CallLocalFunction: Call the function only in local script(filterscript or gamemode).

CallRemoteFunction: Call the function in all scripts(filterscripts and gamemodes), if it exist, obvious.
Reply
#5

@CyNic: Thank you.
____________________
@liquor & Stigg: If I'm asking here is because I already saw the Wiki. But thanks anyway.
____________________________
But, for example If I want make, mmm, OnPlayerReceivedAnyWeapon, like a callback? How should be the cmd?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)