Simple Help [+rep for helpers]
#1

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>
Reply
#2

There is no such thingy zcmd_OnGameModeInIt, Its

Public OnGameModeInIt()
Reply
#3

https://sampwiki.blast.hk/wiki/AddStaticVehicle

What I need to do ?
Reply
#4

Quote:

warning 235: public function lacks forward declaration (symbol "OnGameModeInIt")

New error...
Reply
#5

Its "Init" not "InIt" OnGameModeInit
Reply
#6

I noticed this and changed but you will see a new problem

Quote:

symbol already defined: "zcmd_OnGameModeInit"

Reply
#7

Search in your script "zcmd_OnGameModeInit", about where you have defined it 2 times and remove one of them
Reply
#8

I managed Thank you!
Reply
#9

You have OnGameModeInit callback more than 1 time in your script and it gives about zcmd_OnGameModeInIt because it's hooked.
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)