15.06.2012, 14:36
(
Last edited by Gytis0; 15/06/2012 at 05:38 PM.
Reason: Changing the title, because no one is viewing my thread.
)
So I got the GarHouse system and I got my server-sided cash. Problem is, I can't link those two, because of this one really really stupid error:
Undefined symbol "CallRemoteFunction"? I know right?
And here is what I'm trying to do:
Line 59 is:
Can somebody help me? I've been browsing the internet for half an hour because of this problem now and I'm really angry, because this error is stopping my progress with the server.
pawn Code:
(59) : error 017: undefined symbol "CallRemoteFunction"
(59) : warning 215: expression has no effect
(59) : warning 215: expression has no effect
(59) : warning 215: expression has no effect
(59) : warning 215: expression has no effect
(59) : error 001: expected token: ";", but found ")"
(59) : error 029: invalid expression, assumed zero
(59) : fatal error 107: too many error messages on one line
And here is what I'm trying to do:
pawn Code:
SafeGivePlayerMoney(playerid, money)
{
return CallRemoteFunction("GivePlayerCash","i",playerid, money);
}
#define GivePlayerCash SafeGivePlayerMoney
pawn Code:
return CallRemoteFunction("GivePlayerCash","i",playerid, money);