AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   whats wrong?? (https://forums.alliedmods.net/showthread.php?t=102387)

BigMac 09-01-2009 20:09

whats wrong??
 
I'm trying to get this to respawn after a round is over

PHP Code:

public EventNewRound(id) {
        new 
iEntity g_max_playersFloat:origin[3];
    new 
block_type;
    while ( (
iEntity engfunc(EngFunc_FindEntityByStringiEntity"g_block_classname""BCM_Block")) )
    {
        if ( 
block_type == PLATFORM)
        {
            
pev(iEntitypev_v_angleorigin);
            
            
set_pev(iEntitypev_velocityFloat:{0.00.00.0});
            
engfunc(EngFunc_SetOriginiEntityorigin);
        }
    }




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

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