Quote:
Originally posted by GrowlZ1010
Presuming the number of the hat is 1:
NPC Code:
if (strcontains(#s(client.hats),1)) {
... will check if the number 1 (the hat's number) is in the client.hats string, so basically, will have the effect of checking if the player has a certain hat (in this case, hat 1).
|
ya I fixed it, It was pretty easy :P
NPC Code:
if (strequals(#s(hats[#v(i)]),1)) {