28.12.2014, 21:17
You can use CallLocalFunction to call a custom callback, assuming your calling a local script(example: the script is part of a gamemode / in as an include).
See:
https://sampwiki.blast.hk/wiki/CallLocalFunction
Using https://sampwiki.blast.hk/wiki/CallRemoteFunction will call the function in any loaded scripts the server is running.
See:
https://sampwiki.blast.hk/wiki/CallLocalFunction
Using https://sampwiki.blast.hk/wiki/CallRemoteFunction will call the function in any loaded scripts the server is running.

