Equal and sizeof.
PHP Code:
|
Re: Equal and sizeof.
Ight so here is the edited one... DK why you had the sizeof there... but here ya go
When player types m4a1 he recieves one (tested scout, m4a1, p90) PHP Code:
|
Re: Equal and sizeof.
|
Re: Equal and sizeof.
PHP Code:
PHP Code:
|
Re: Equal and sizeof.
Quote:
|
Re: Equal and sizeof.
Ok, i'm using it.
|
Re: Equal and sizeof.
Quote:
As for your variable 'x' i would use something like weaponName it helps with readability. My code has been updated with the suggestion. |
Re: Equal and sizeof.
@Doc-Holiday - Solved and it was just a fast write.
|
Re: Equal and sizeof.
Another way without looping for string matches:
PHP Code:
|
| All times are GMT -4. The time now is 03:31. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.