Really dumb error.
#1

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:

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
Undefined symbol "CallRemoteFunction"? I know right?

And here is what I'm trying to do:
pawn Code:
SafeGivePlayerMoney(playerid, money)
{
    return CallRemoteFunction("GivePlayerCash","i",playerid, money);
}
#define GivePlayerCash SafeGivePlayerMoney
Line 59 is:
pawn Code:
return CallRemoteFunction("GivePlayerCash","i",playerid, money);
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.
Reply
#2

Anyone? Please?
Reply
#3

Why are you bumping after 2 hours?
Reply
#4

Quote:
Originally Posted by [FU]Victious
View Post
Why are you bumping after 2 hours?
This is the first bump in my entire life. I'm really sorry, I don't know when can I bump, but I really need this error fixed.
Reply
#5

dunno try this it might work.

pawn Code:
return CallRemoteFunction("GivePlayerCash","ii",playerid, money);
Reply
#6

Quote:
Originally Posted by HellSphinX
View Post
dunno try this it might work.

pawn Code:
return CallRemoteFunction("GivePlayerCash","ii",playerid, money);
Didn't work either
Reply
#7

Is there anyone who can help me? :/
Reply
#8

new
Code:
CallRemoteFunction[MAX_PLAYERS];
near the top of the script.
No idea if this might work.
Reply
#9

Quote:
Originally Posted by justinnater
View Post
new
Code:
CallRemoteFunction[MAX_PLAYERS];
near the top of the script.
No idea if this might work.
Sorry for wasting your time, but what I did was a really stupid mistake. I put the CallRemoteFunction before the includes. Now I fixed it by putting the function AFTER the includes. Thanks anyways
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)