SA-MP Forums Archive
Need help to create npc - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Need help to create npc (/showthread.php?tid=290336)



Need help to create npc - Kalzifer - 15.10.2011

Hi everyone! I just wanted to create my first npc but faced a problem:

Код:
C:\Documents and Settings\Admin\Рабочий стол\Сервер 0.3с тест (новый)\pawno\npctest.pwn(39) : error 021: symbol already defined: "main"
C:\Documents and Settings\Admin\Рабочий стол\Сервер 0.3с тест (новый)\pawno\npctest.pwn(69) : warning 235: public function lacks forward declaration (symbol "OnRecordingPlaybackEnd")
C:\Documents and Settings\Admin\Рабочий стол\Сервер 0.3с тест (новый)\pawno\npctest.pwn(69) : error 017: undefined symbol "StartRecordingPlayback"
C:\Documents and Settings\Admin\Рабочий стол\Сервер 0.3с тест (новый)\pawno\npctest.pwn(71) : warning 235: public function lacks forward declaration (symbol "OnNPCEnterVehicle")
C:\Documents and Settings\Admin\Рабочий стол\Сервер 0.3с тест (новый)\pawno\npctest.pwn(71) : error 017: undefined symbol "StartRecordingPlayback"
C:\Documents and Settings\Admin\Рабочий стол\Сервер 0.3с тест (новый)\pawno\npctest.pwn(73) : warning 235: public function lacks forward declaration (symbol "OnNPCExitVehicle")
C:\Documents and Settings\Admin\Рабочий стол\Сервер 0.3с тест (новый)\pawno\npctest.pwn(73) : error 017: undefined symbol "StopRecordingPlayback"
C:\Documents and Settings\Admin\Рабочий стол\Сервер 0.3с тест (новый)\pawno\npctest.pwn(99) : warning 217: loose indentation
C:\Documents and Settings\Admin\Рабочий стол\Сервер 0.3с тест (новый)\pawno\npctest.pwn(104) : warning 209: function "OnPlayerEnterVehicle" should return a value
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


4 Errors.
your variants to solve....?!)))


Re: Need help to create npc - Kostas' - 15.10.2011

Watch this thread how you can make it, it's really useful.
HERE

Also, do you have
pawn Код:
#include <a_npc>



Re: Need help to create npc - Kalzifer - 15.10.2011

Quote:
Originally Posted by Kostas'
Посмотреть сообщение
Watch this thread how you can make it, it's really useful.
HERE

Also, do you have
pawn Код:
#include <a_npc>
yeap...I checked it first) thx, I'll look through that thread now.


Re: Need help to create npc - Kostas' - 15.10.2011

Okay


Re: Need help to create npc - DeaD_MaN - 07.03.2012

I have the same error, did not help
give inkluds pleases