[Resolved] change npc sprite code

Is there someway to write an if statement into the client code to change people’s NPC sprites depending on their name?


if playerName = “Thomas”

sprite = 15


I’m terrible at coding if you’d noticed :P

Select Case Player(Index).Name

Case “name”

Player(Index).Sprite = number

End Select

put that in the DrawPlayerSprite

champion, thanks :)

Log in to reply