open.mp forum
[Pawn] FIlterscript not loading on my gamemode - Printable Version

+ open.mp forum (https://forum.open.mp)
-- Forum: SA-MP (https://forum.open.mp/forumdisplay.php?fid=3)
--- Forum: Pawn Scripting (https://forum.open.mp/forumdisplay.php?fid=10)
--- Thread: [Pawn] FIlterscript not loading on my gamemode (/showthread.php?tid=1844)



FIlterscript not loading on my gamemode - CrypticSin - 2021-04-06

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