AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   best way to check if host exist on coords (https://forums.alliedmods.net/showthread.php?t=233884)

avril-lavigne 01-21-2014 12:18

best way to check if host exist on coords
 
Code:

origin[1] -= 50.0
          new host = create_entity("hostage_entity")
          entity_set_origin(host, origin)
          DispatchSpawn(host)

how to check if its already there before spawn again ?
find entity in sphere ?


All times are GMT -4. The time now is 10:07.

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