View Single Post
Author Message
Miew
Member
Join Date: Jan 2014
Old 05-09-2014 , 09:20   Don_t understand ...
Reply With Quote #1

i don't understand why does not work ; i dont have any error message ...
PHP Code:
HookEnt()
{
    new 
EntIndex = -1;
    
    do{
        
HookSingleEntityOutput(EntIndex"OnTouching"OnEntityOutPutfalse);
    }
    while((
EntIndex FindEntityByClassname(EntIndex "func_rotating")) != -&& Isinzone(EntIndex));
}

public 
OnEntityOutPut(const String:output[], calleractivatorFloat:delay)
{
    
PrintToChat(activator,"Close!");


Last edited by Miew; 05-09-2014 at 09:22.
Miew is offline