Posts: 55
Threads: 16
Joined: Mar 2014
THE ERROR:
Код:
error 021: symbol already defined: "zcmd_OnGameModeInit"
THE LINE:
Код:
public OnGameModeInit()
{
AddStaticVehicle(520, 2109.1763, 1503.0453, 32.2887, 82.2873, 0, 1);
return 1;
}
MY INCLUDE:
Код:
#include <a_samp>
#include <ZCMD>
Posts: 1,690
Threads: 18
Joined: Jul 2012
Reputation:
0
There is no such thingy zcmd_OnGameModeInIt, Its
Public OnGameModeInIt()
Posts: 55
Threads: 16
Joined: Mar 2014
Posts: 55
Threads: 16
Joined: Mar 2014
Quote:
warning 235: public function lacks forward declaration (symbol "OnGameModeInIt")
|
New error...
Posts: 270
Threads: 41
Joined: Sep 2013
Its "Init" not "InIt" OnGameModeInit
Posts: 55
Threads: 16
Joined: Mar 2014
I noticed this and changed but you will see a new problem
Quote:
symbol already defined: "zcmd_OnGameModeInit"
|
Posts: 270
Threads: 41
Joined: Sep 2013
Search in your script "zcmd_OnGameModeInit", about where you have defined it 2 times and remove one of them
Posts: 55
Threads: 16
Joined: Mar 2014
Posts: 11,827
Threads: 33
Joined: Dec 2011
Reputation:
0
You have OnGameModeInit callback more than 1 time in your script and it gives about zcmd_OnGameModeInIt because it's hooked.