Jump to content

tenziekhai

Members
  • Posts

    22
  • Joined

  • Last visited

  • Days Won

    1

Posts posted by tenziekhai

  1. 5 minutes ago, Jeroen said:

    You're not ending the script after The initialization of array ".ID". meaning the script falls through to the next command where player attachment is required:
    Essentially:
    Change:

    
    OnInit:
    setarray .ID,200001,200002;

    To

    
    OnInit:
    setarray .ID,200001,200002;
    end;

    solved thanks :D

  2. heres my script it gives me error please check picture attached 

    -       script  Sample  -1,{
    
     
    
    OnInit:
    
    setarray .ID,200001,200002;
    
     
    
    OnPCLoginEvent:
    
    for( set .@i,0; .@i < getarraysize( .ID ); set .@i,.@i + 1 )
    
            if( getcharid(3) == .ID[.@i] )
    
                    atcommand "@Kick "+strcharinfo(0);
    
    end;
    
    }

     

    kickaccountid.jpg

×
×
  • Create New...