CallRemoteFunction problem - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: CallRemoteFunction problem (
/showthread.php?tid=201424)
CallRemoteFunction problem -
Danny - 21.12.2010
Hi,
Ive made a serverside money include to stop all that faggot's on my server.
But i have one small problem. I use the inc in my gamemode. Now i want to use it in my filterscript too. (edited GarHouse version)
So i use this:
Код:
CallRemoteFunction("GivePlayerMoneyEx", "dd",playerid,GetHouseValue(h)); // This will call the function in the include
But, this function keep returning 0. Anyone know whats wrong?
Greetz,
Danny
Re: CallRemoteFunction problem -
iggy1 - 21.12.2010
If its the function returning 0 post that code please.
sidenote: If you have included the include in your main code (where you call the function) you should think about using "CallLocalFuntion" it does the same thing but on a smaller scope. (its faster)