INSANE_25_ICON 0 Odesláno: 20. Září, 2014 Share Odesláno: 20. Září, 2014 Čaute zase som tu s tymi NPC-kami pozeral som par "TuT-ov" a vysledok 5 errorov prosím help : public OnGameModeInit() { print("xD"); ConnectNPC("Zombie","Bot1"); SetGameModeText("xD"); return 1; } public OnNPCModeInit() { #define RECORDING "Zombie" #define RECORDING_TYPE 1 #include <a_npc> main(){} public OnRecordingPlaybackEnd() StartRecordingPlayback(RECORDING_TYPE, RECORDING); #if RECORDING_TYPE == 2 public OnNPCEnterVehicle(vehicleid, seatid) StartRecordingPlayback(RECORDING_TYPE, RECORDING); public OnNPCExitVehicle() StopRecordingPlayback(); #else public OnNPCSpawn() StartRecordingPlayback(RECORDING_TYPE RECORDING); #endif return 1; } /* ERRORS */ C:\Documents and Settings\InSaNe_25_IcOn\Plocha\NTE.pwn(46) : error 017: undefined symbol "main" C:\Documents and Settings\InSaNe_25_IcOn\Plocha\NTE.pwn(47) : error 029: invalid expression, assumed zero C:\Documents and Settings\InSaNe_25_IcOn\Plocha\NTE.pwn(47) : error 017: undefined symbol "OnRecordingPlaybackEnd" C:\Documents and Settings\InSaNe_25_IcOn\Plocha\NTE.pwn(47) : error 017: undefined symbol "StartRecordingPlayback" C:\Documents and Settings\InSaNe_25_IcOn\Plocha\NTE.pwn(47) : fatal error 107: too many error messages on one line Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase 5 Errors. Link to comment Share on other sites More sharing options...
0 Drifty 0 Odesláno: 20. Září, 2014 Share Odesláno: 20. Září, 2014 main(){} v publicu? #include <a_npc> Link to comment Share on other sites More sharing options...
0 INSANE_25_ICON 0 Odesláno: 20. Září, 2014 Author Share Odesláno: 20. Září, 2014 main(){} v publicu? #include <a_npc> Tak kde mam toto dať ? Link to comment Share on other sites More sharing options...
0 Drifty 0 Odesláno: 20. Září, 2014 Share Odesláno: 20. Září, 2014 Tak kde mam toto dať ? Třeba nad public? To si neviděl ještě ani new.pwn když zakládáš? Tyto základy tam jsou Link to comment Share on other sites More sharing options...
0 INSANE_25_ICON 0 Odesláno: 20. Září, 2014 Author Share Odesláno: 20. Září, 2014 C:\Documents and Settings\InSaNe_25_IcOn\Plocha\NTE.pwn(46) : error 017: undefined symbol "StartRecordingPlayback" C:\Documents and Settings\InSaNe_25_IcOn\Plocha\NTE.pwn(47) : error 017: undefined symbol "RECORDING_TYPE" C:\Documents and Settings\InSaNe_25_IcOn\Plocha\NTE.pwn(51) : error 017: undefined symbol "StartRecordingPlayback" Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase 3 Errors. public OnNPCSpawn() StartRecordingPlayback(RECORDING_TYPE RECORDING); //51 public OnRecordingPlaybackEnd() StartRecordingPlayback(RECORDING_TYPE, RECORDING); // 46 #if RECORDING_TYPE == 2 //47 Link to comment Share on other sites More sharing options...
0 MeNoX_ 0 Odesláno: 20. Září, 2014 Share Odesláno: 20. Září, 2014 Můžeš mi sakra říct proč dáváš public do publicu? Link to comment Share on other sites More sharing options...
0 Fr0st 23 Odesláno: 20. Září, 2014 Share Odesláno: 20. Září, 2014 Nikdy nepochopím prečo robíš NPC keď nevieš ani to, že proste public do publicu sa nesmie dať ... //Mimochodom nabudúce si daj include do publicu aby ti ten INC nečítal druhý public Link to comment Share on other sites More sharing options...
0 LYRIcS 88 Odesláno: 20. Září, 2014 Share Odesláno: 20. Září, 2014 ty musíš mať jedno amx ako mód, a druhé amx pre npc v npcmodes, nemôžeš to narvať do jedneho scriptu Link to comment Share on other sites More sharing options...
0 INSANE_25_ICON 0 Odesláno: 20. Září, 2014 Author Share Odesláno: 20. Září, 2014 ty musíš mať jedno amx ako mód, a druhé amx pre npc v npcmodes, nemôžeš to narvať do jedneho scriptu Už som nato prišiel ale teraz mam problém nevidím NPC a ani neho chodzu ale všetko mam tak ako v navode Link to comment Share on other sites More sharing options...
Dotaz
INSANE_25_ICON 0
Čaute zase som tu s tymi NPC-kami pozeral som par "TuT-ov" a vysledok 5 errorov prosím help :
Link to comment
Share on other sites
8 odpovědí na tuto otázku
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now