2021-04-06, 11:56 PM
Hello, i'm using a zombie ai filterscript and it seems to be working perfectly fine on a the default game modes like bare.pwn but the filterscript does not work on my custom gamemode..
I've compiled my code and i get no errors/warnings, although according to my research it's something got to do with mysql.
I've got mysql setup for login/register and im still unsure why the NPC's do not appear.
I've added IsPlayerNPC script to public OnDialogResponse just before the login but the NPC's still dont show up. Although i know they are in the game because i can give weapon to them, so they do exist it's jsut i cant see them for some odd reason.
I've been told to write a script to check if there is an NPC on connect, but im unsure of doing that so any help would be appreciated.
Thanks
I've compiled my code and i get no errors/warnings, although according to my research it's something got to do with mysql.
I've got mysql setup for login/register and im still unsure why the NPC's do not appear.
I've added IsPlayerNPC script to public OnDialogResponse just before the login but the NPC's still dont show up. Although i know they are in the game because i can give weapon to them, so they do exist it's jsut i cant see them for some odd reason.
I've been told to write a script to check if there is an NPC on connect, but im unsure of doing that so any help would be appreciated.
Thanks