View Single Post
edon1337
Penguin Enthusiast
Join Date: Jun 2016
Location: Macedonia
Old 10-05-2018 , 12:47   Re: [Help] sizeof Array (iOrigins)
Reply With Quote #8

Quote:
Originally Posted by abdobiskra View Post
ok

line:


btw : the server droped me when i used it!
PHP Code:
    message_begin(MSG_BROADCAST,SVC_TEMPENTITY);
    
write_byte(TE_DLIGHT);
    for(new 
i=0;i<sizeof(iX[]);i++)
    {
        
//write_coord(iX[i]);
        
for(new t=0;t<sizeof(iX[]);t++)
        {
            
write_coord(iX[i][t]);
        }
    } 
sizeof(iX) instead of sizeof(iX[])
__________________

Last edited by edon1337; 10-05-2018 at 12:47.
edon1337 is offline