Help Me Please - 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)
+--- Thread: Help Me Please (
/showthread.php?tid=609732)
Help Me Please -
Rasyidmf - 16.06.2016
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 ?
Re: Help Me Please -
zPain - 16.06.2016
There's already a variable or function named
ChandraMallCaptured somewhere else in the gamemode.
Re: Help Me Please -
Rasyidmf - 16.06.2016
Quote:
Originally Posted by zPain
There's already a variable or function named ChandraMallCaptured somewhere else in the gamemode.
|
No ! i just have one "ChandraMallCaptured"
Re: Help Me Please -
Rasyidmf - 16.06.2016
Nope ! i fix myself
Re: Help Me Please -
Nin9r - 16.06.2016
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"