Quote:
Originally Posted by cbkbud
killerouge, I never quite understood what enum did, and what it can be used for. Care to explain?
|
It's almost like an array, but I tend to call it an object moreso because it can be used like this:
PHP Code:
function onCreated()
{
enum people {
Chris,
Ziro,
Stan
}
if ( player.headimg == "head105.png" )
{
temp.person = people.Chris;
}
}
Quote:
Originally Posted by theHAWKER
whats the point of putting this here unless u want people to use it?
|
You have no clue how much I was waiting for you to post something this idiotic.
In my post I clearly stated it was free to use when I had finished the actual product. I put it here so that people like you may learn from it and also to get some
constructive criticism from people who can
actually script.