How to do it?
#2

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.
Reply


Messages In This Thread
How to do it? - by _Application_ - 28.12.2014, 21:14
Re: How to do it? - by Abagail - 28.12.2014, 21:17
Re: How to do it? - by _Application_ - 28.12.2014, 21:19
Re: How to do it? - by Abagail - 28.12.2014, 21:22
Re: How to do it? - by _Application_ - 28.12.2014, 22:01

Forum Jump:


Users browsing this thread: 1 Guest(s)