i want to create multiple CLASSNAME
how to create ten chicken and ten classname
// create ten chicken for( i=0; i<10; i++ ) { Ent = create_entity("info_target") ... ..... ........ entity_set_string( Ent, EV_SZ_classname, CLASSNAME + i ); // CLASSNAME1 CLASSNAME2 ...... CLASSNAME10 ........ ...... .... } // find ten chicken while ( Ent = find_ent_by_class( Ent, CLASSNAME1 ) > 0 ) while ( Ent = find_ent_by_class( Ent, CLASSNAME2 ) > 0 ) .... ...... ......... while Ent = find_ent_by_class( Ent, CLASSNAME10 ) > 0 ) thank you so mush Code:
|
Re: i want to create multiple CLASSNAME
..?
PHP Code:
|
Re: i want to create multiple CLASSNAME
PHP Code:
|
Re: i want to create multiple CLASSNAME
???
PHP Code:
|
Re: i want to create multiple CLASSNAME
I think he just wants to execute create_entity 10 times.
|
Re: i want to create multiple CLASSNAME
Quote:
then it will be hard to find the ent |
Re: i want to create multiple CLASSNAME
Well, it isn't our fault is it?
|
Re: i want to create multiple CLASSNAME
Quote:
check out the code i posted |
Re: i want to create multiple CLASSNAME
that right thank you so mush for scripte :3:3:3:3:3
Quote:
|
Re: i want to create multiple CLASSNAME
Quote:
|
| All times are GMT -4. The time now is 20:59. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.