![]() |
array comparison
ok for my hat NPC I am making an array to compare if the player owns the hat he wants to put on.I used #i as the "+,-" value to browse through the hats.And I made an array called client.hats thats 200 for size.Is there a way to make a comparison between these two variables?
I tried one way but it gave me an error. plz help :( |
.
He means he wants to create a sort of "Hat Selection Screen". Pretty much a weapon selection screen with a few modifications. But, all he wants to know is how to check if he has the hat he wants to select from it.
|
you cycle throught the array & check to see if they have it.....
|
exactly what I want, but when I used strequals it gave me an error.If anyone wants to look at the script & help Forum PM me
|
see this is the part where you post a little part of your script & ask whats wrong. you can still do that you know
|
| All times are GMT +2. The time now is 05:46 PM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.