AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Scanning Spawn Locations (entities) ? (https://forums.alliedmods.net/showthread.php?t=3213)

Mugwump 06-30-2004 00:49

Scanning Spawn Locations (entities) ?
 
Is there a way to cycle through all of the info_start and info_deathmatch entities within CS using amxx? If so how might I go about this?

Thanks,
Mugwump

Ryan 06-30-2004 04:00

very simple =)

Code:
new iEntity = find_ent_by_class( -1, "info_start" ); while ( iEntity > 0 ) {     // ...     iEntity = find_ent_by_class( iEntity, "info_start" ); }

Mugwump 06-30-2004 11:28

Excellent, thank you very much! :)

-Mugwump


All times are GMT -4. The time now is 14:37.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.