Someone please help. I can't get hitplayer to work with an index greater than 0. (I can't make it hit everyone in the room.) I'll give you an example, and please, tell me what I need to do to make it work.
NPC Code:
if (playerenters)
{
timeout = .05;
}
if (timeout)
{
this.test = testplayer(30,30);
hitplayer this.test,1,30,30;
timeout = .05;
}
It only works for index 0 online for me. What do I need to do to hit other people?