This is my script.Plz tell meh whats wrong and maybe how to fix it.I think its the disabledefmovement OR triggeraction.
// NPC made by SeeD Captain /\/\ãxïmus Ðärkrïdër
if (playertouchsme) {
toweapons Hat NPC;
i=0;
}
if (weaponfired) {
set browsing;
disabledefmovement;
triggeraction playerx,playery,browsing,;
}
if (actionbrowsing) {
i=0;
showimg 200,hat#v(i).png,playerx,playery-2.5;
changeimgpart 200,96,0,55,55;
}
if (keydown(1)&&browsing) {
i++;
showimg 200,hat#v(i).png,playerx,playery-2.5;
changeimgpart 200,96,0,55,55;
}
if (keydown(3)&&browsing) {
i--;
showimg 200,hat#v(i).png,playerx,playery-2.5;
changeimgpart 200,96,0,55,55;
} |