15.11.2010, 19:29
i get this error :S symbol already defined: "SendCommand"
#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
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
|
#undef SendCommand
Try add at top (under include's)
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"