How to fix these errors
#4

It already has an Stock look

PHP код:
stock LoadOOCshop()
{
    new 
FileName[128], string[256];
    for(new 
0MAX_OOCSHOPi++)
    {
        
format(FileNamesizeof(FileName), "OOCshops/OOCshop_%d.ini"i);
        if(
dini_Exists(FileName))
        {
            
OOCshopInfo[i][OOCshopObjectID] = dini_Int(FileName"ObjectID" );
            
OOCshopInfo[i][OOCshopAngle] = dini_Float(FileName"Angle" );
            
OOCshopInfo[i][OOCshopX] = dini_Float(FileName"X" );
            
OOCshopInfo[i][OOCshopY] = dini_Float(FileName"Y" );
            
OOCshopInfo[i][OOCshopZ] = dini_Float(FileName"Z" );
            
OOCshopInfo[i][OOCshopObjectID] = CreateDynamicObject(2754OOCshopInfo[i][OOCshopX], OOCshopInfo[i][OOCshopY], OOCshopInfo[i][OOCshopZ]-0.100OOCshopInfo[i][OOCshopAngle],0,0,-1,250);
            
printf"[system] OOC Shop %d spawned."i);
            
SpawnedOOCshop++;
            
format(stringsizeof(string), "{01FCFF}[OOC Shop]{F0CC00}\nYou can Purchase OOC Items here\nOOC Shop ID: %d\n[/oocshop]"i);
            
OOCshop[i] = CreateDynamic3DTextLabel(stringCOLOR_DCHATOOCshopInfo[i][OOCshopX], OOCshopInfo[i][OOCshopY], OOCshopInfo[i][OOCshopZ]+0.75,10.0,INVALID_PLAYER_ID,INVALID_VEHICLE_ID,0,0,-1,-1100.0);
        }
    }
    return 
1;

Reply


Messages In This Thread
How to fix these errors - by kelvinis - 19.07.2015, 10:16
Re: How to fix these errors - by Toxik - 19.07.2015, 11:00
Re: How to fix these errors - by kelvinis - 19.07.2015, 12:02
Re: How to fix these errors - by kelvinis - 19.07.2015, 12:16

Forum Jump:


Users browsing this thread: 2 Guest(s)