Help Me Please
#1

Hey guys ! i got error :

Quote:

error 021: symbol already defined: "ChandraMallCaptured"

the code :
Quote:

stock ChandraMallCaptured(playerid)
{
Captured[playerid][ChandraMall] = 1;
return 1;
}

And
The Error is in :
Quote:

forward ChandraMall(playerid);
public ChandraMall(playerid)
{
ChandraMallCaptured(playerid);
return 1;
}

can any one fix this ?
Reply
#2

There's already a variable or function named ChandraMallCaptured somewhere else in the gamemode.
Reply
#3

Quote:
Originally Posted by zPain
View Post
There's already a variable or function named ChandraMallCaptured somewhere else in the gamemode.
No ! i just have one "ChandraMallCaptured"
Reply
#4

Nope ! i fix myself
Reply
#5

I don't understand why are you calling "ChandraMall(playerid)" and there "ChandraMallCaptured(playerid)". Why ?


Use directly ChandraMallCaptured(playerid); where are you using now ChandraMall(playerid); and delete the "public ChandraMall"
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)