Thread: 3 dim array ?
View Single Post
JocAnis
Veteran Member
Join Date: Jun 2010
Old 10-05-2018 , 08:41   Re: 3 dim array ?
Reply With Quote #7

new code..loops are that fast so it cant be executed as i expected to do..gonna try playrloop into originloop
PHP Code:
public teleport_origin1id )
{
    for( new 
0sizeoforigins ); i++ )
    {    
        if( 
origins][ ] == 0.0 ) continue
        
broj++
                
        
set_dhudmessage255850, -1.00.402.52.5 )  
        
show_dhudmessageid"Teleported to: %s"ime_brt] ) 
                
        
entity_set_vectoridEV_VEC_originorigins] ) 
                
        
client_printidprint_console"TP: BROJ: %d NIK:%s - %.01f %.01f %.01f"iime_brt], origins][0], origins][1], origins][2]  )

        if( 
originsi+][ ] != 0.0 )
        {
            
client_printidprint_chat"debug: One more TP comming" )
            
set_task4.0,  "teleport_origin1"id )
        }
        else
        {
            
client_printidprint_chat"debug: No more TPs" )
        }
        if( 
broj >= broj_igraca )
        {
            
origins][ ] = 0.0    
            client_print
idprint_console"DEBUG DEBUG Reseting origin[ %d ] to 0.0, broj = %d GO NEXT ORIG"i,  broj )
            
broj 0
        
}
        break
    }

if noone replies, its fine, at least i can see if i progressed at all lul
__________________
KZ Public Autocup - PrimeKZ

My blog: http://primekz.xyz (in progress...) - not active (dec 2022)
JocAnis is offline