Why I get Error's when i Add BOT
#1

I wanna add Bot in my GameMode, but I get this errors:

C:\DOCUME~1\Andrius\Desktop\Serveris\GAMEMO~1\GRP4 .pwn(226) : error 017: undefined symbol "IsPlayerNPC"
C:\DOCUME~1\Andrius\Desktop\Serveris\GAMEMO~1\GRP4 .pwn(6269) : error 017: undefined symbol "ConnectNPC"
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


2 Errors.


226 line: if(IsPlayerNPC(playerid))
6269 line: print("NPC botas GameMod'e prijungtas");
ConnectNPC("Martin_M","TaksiVairuotojas");
TaksiMasina = CreateVehicle(420, 0.0, 0.0, 5.0, 0.0, 3, 3, 5000);


Sorry for my bad English
Reply
#2

Make sure you have the UPDATED pawno, and you are compiling the script with the new pawno.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)