22.06.2014, 06:31
I've got a script in mind but I'm not sure how I would go about making this. I want a little script to return certain IDs, skin IDs, according to the player's information.
Let's say I have a players "origin", and "age".
Then I have something like this:
The players origin would be African American, and the Age would be 22. How would I loop through the information above (and would it be an array, static const..?), and return the last number, skin id?
Let's say I have a players "origin", and "age".
Then I have something like this:
pawn Код:
// Origin, Age, Skin ID
{"African American", {16..25}, {1}}; // 16..25 as in ranging from through to 25
{"African American", {16..25}, {22}};
{"Caucasian", {25..35}, {23}};