array sizes do not match or des.......
#10

PHP код:
stock CreateStore(sidFloat:xFloat:yFloat:zsName[50],sIntminmoneymid)
{
    
Store[sid][pickup]=CreateDynamicPickup(mid,1,x,y,z);
    new 
str1[129];
    
format(str1,129,"'%s'\nStore ID: %d",sName,sid);
    
Store[sid][text]=CreateDynamic3DTextLabel(str1,-1,x,y,z+1,8);
    
Store[sid][minm]=minmoney;
    
format(Store[sid][sname],50,sName);
    
Store[sid][vw]=19877+sid;
    
Store[sid][smodel]=mid;
    
Store[sid][extX]=x;
    
Store[sid][extY]=y;
    
Store[sid][extZ]=z;
    
Store[sid][Robbable]=1;
    if(
sInt==1)
    {
        
Store[sid][intX]=-25.132598;
        
Store[sid][intY]=-139.066986;
        
Store[sid][intZ]=1003.546875;
        
Store[sid][Int]=16;
    
    }
    else if(
sInt==2)
    {
        
Store[sid][intX]=286.148986;
        
Store[sid][intY]=-40.644397;
        
Store[sid][intZ]=1001.515625;
        
Store[sid][Int]=1;
    
    }
    else if(
sInt==3)
    {
        
Store[sid][intX]=207.737991;
        
Store[sid][intY]=-109.019996;
        
Store[sid][intZ]=1005.132812;
        
Store[sid][Int]=15;
    
    }
    else if(
sInt==4)
    {
        
Store[sid][intX]=369.579528;
        
Store[sid][intY]=-4.487294;
        
Store[sid][intZ]=1001.858886;
        
Store[sid][Int]=9;
    
    }

I used Y_INI
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)