error 047: array sizes do not match, or destination array is too small
#8

Fix it properly and make your script more capable for the future.


And it's encouraging to see you try this...

PHP код:
pinfo[playerid][color] = RED
and if you used this, set your defines to

PHP код:
#define RED 1
#define YELLOW 2
#define GREEN 3 
And use case on pinfo[playerid][color] checking for the color, and formatting in that result where it's checked on the area you're formatting the text and displaying it.


This last portion, is what you'd look at putting in a function if you used it in more scenarios.



And, color in this instance wouldn't need to be the array... It'll simply be color.
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)