symbol already defined: "SendCommand" -
DaneAMattie - 15.11.2010
i get this error :S symbol already defined: "SendCommand"
Re: symbol already defined: "SendCommand" -
Backwardsman97 - 15.11.2010
Well....It means it's already defined.
Re: symbol already defined: "SendCommand" -
DaneAMattie - 15.11.2010
Quote:
Originally Posted by Backwardsman97
Well....It means it's already defined.
|
How?, its a function :S, this is my NPC Script:
pawn Код:
#define RECORDING "REC1"
#define RECORDING_TYPE 2
#include <a_npc>
main(){}
public OnRecordingPlaybackEnd() StartRecordingPlayback(RECORDING_TYPE, RECORDING);
#if RECORDING_TYPE == 1
public OnNPCEnterVehicle(vehicleid, seatid) StartRecordingPlayback(RECORDING_TYPE, RECORDING);
public OnNPCExitVehicle() StopRecordingPlayback();
#else
//public OnNPCSpawn() StartRecordingPlayback(RECORDING_TYPE, RECORDING);
SendCommand("/crack");
#endif
Re: symbol already defined: "SendCommand" -
DaneAMattie - 15.11.2010
sorry to bump this, but i rly want it to be fixed now :/
Re: symbol already defined: "SendCommand" -
Scenario - 15.11.2010
Your issue isn't more important than anyone else's issue on this forum. Go read the forum rules and stop breaking the rules!
Re: symbol already defined: "SendCommand" -
DaneAMattie - 15.11.2010
omg i hate this, im waiting 30 minutes and i still have no answer >=[, it sais 47 people vieuwing!, how can i have to wait 30 min then? -.-
This is why people go to MTA :@
Re: symbol already defined: "SendCommand" -
Scenario - 15.11.2010
Quote:
Originally Posted by DaneAMattie
omg i hate this, im waiting 30 minutes and i still have no answer >=[, it sais 47 people vieuwing!, how can i have to wait 30 min then? -.-
This is why people go to MTA :@
|
If you like MTA so much, then get out of here. You should learn to spell and use correct English grammar, on top of that you should realize 75% of this forum is just noob after noob. Most of them don't know how to solve your issue, or don't give a shit about it.
Re: symbol already defined: "SendCommand" -
DaneAMattie - 15.11.2010
Quote:
Originally Posted by RealCop228
If you like MTA so much, then get out of here. You should learn to spell and use correct English grammar, on top of that you should realize 75% of this forum is just noob after noob. Most of them don't know how to solve your issue, or don't give a shit about it.
|
yea and that should be fixed, i dont like MTA, im sticking to SAMP Because im fan of samp, but if i have to be fair this forum SUCKS
Re: symbol already defined: "SendCommand" -
6d - 15.11.2010
Quote:
Originally Posted by DaneAMattie
yea and that should be fixed, i dont like MTA, im sticking to SAMP Because im fan of samp, but if i have to be fair this forum SUCKS
|
Okay, First of all 30 minutes is nothing. There is people that waits 5 days or even 10 days to get a answer.
And about the "this is why people goes to MTA", literally SA:MP has more members.
Now to your question that as i see want to get answered as soon as possible.
we will need to check the SendCommand function to solve this but this means there is 2 declarations of SendCommand. If i'm right ovbiously, we need to check the command.
Re: symbol already defined: "SendCommand" -
DRIFT_HUNTER - 15.11.2010
Try add at top (under include's)
Re: symbol already defined: "SendCommand" -
DaneAMattie - 15.11.2010
Quote:
Originally Posted by DRIFT_HUNTER
Try add at top (under include's)
|
3 errors now:
pawn Код:
*\NPC1.pwn(1) : error 017: undefined symbol "SendCommand"
*\NPC1.pwn(1) : error 010: invalid function or declaration
*\NPC1.pwn(14) : error 021: symbol already defined: "SendCommand"
Re: symbol already defined: "SendCommand" -
Scenario - 15.11.2010
Quote:
Originally Posted by DaneAMattie
3 errors now:
pawn Код:
*\NPC1.pwn(1) : error 017: undefined symbol "SendCommand" *\NPC1.pwn(1) : error 010: invalid function or declaration *\NPC1.pwn(14) : error 021: symbol already defined: "SendCommand"
|
Put "#undef SendComment" AFTER your includes. (#include <a_samp>, etc).
Re: symbol already defined: "SendCommand" -
DaneAMattie - 18.11.2010
Quote:
Originally Posted by RealCop228
Put "#undef SendComment" AFTER your includes. (#include <a_samp>, etc).
|
That isnt fixing it :/
Re: symbol already defined: "SendCommand" -
Scrip - 10.03.2011
SendCommand