CallRemoteFunction problem
#1

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
Reply
#2

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


Forum Jump:


Users browsing this thread: 2 Guest(s)