How to load all objects
#1

How to load all objects from an enum.

Example:
PHP код:
enum{
     
Object 1pos
     Object 2pos
     Object 3pos

I want to load all objects from it at once
Reply
#2

PHP код:
public OnGameModeInit()
{
    
CreateObjects();
    return 
1;
}

stock CreateObjects
{
    
CreateObject(modelidFloat:XFloat:YFloat:ZFloat:rXFloat:rYFloat:rZFloat:DrawDistance 0.0);
    ...

Reply
#3

Quote:
Originally Posted by DeMoo
Посмотреть сообщение
PHP код:
public OnGameModeInit()
{
    
CreateObjects();
    return 
1;
}
stock CreateObjects
{
    
CreateObject(modelidFloat:XFloat:YFloat:ZFloat:rXFloat:rYFloat:rZFloat:DrawDistance 0.0);
    ...

dont talk if you dont know what you`re talking about.

on topic: why do you need to use an enum for objects?what are you going to use that for? explain more.

you could add them normally or use an array too.

so explain your intentions
Reply
#4

Hello!

As far as I'm learning this

enum means enumeration.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)