How to make the download of the .map
#1

Prompt please how do I download the .map check points?
When the player hit his car players throwing out ahead

PHP код:
<marker id="marker (corona) (1)" type="corona" color="#03D5FB00" size="10" interior="0" dimension="0" background="" border="" foreground="" framesFaded="0" framesToFade="0" height="15" posX="5572.9794921875" posY="-1944.359375" posZ="99.129997253418" rotX="0" rotY="0" rotZ="0" state="hidden" text="XYZ rotation" width="65" x="0" y="0"></marker
Here's a little nakidal but not working nothing

PHP код:
stock LoadMtaPickup(const mapname[], type 2Float:stream_dis 100.0, &start 0, &end 0)
{
    
#pragma unused stream_dis
    
new File:map fopen(mapnameio_read);
    if(
map)
    {
        new
            
temp[20],
            
Data[512],
            
model,
            
dimension,
            
Float:posX,
            
Float:posY,
            
Float:posZ;
        
start = -1;
        
end = -1;
        while(
fread(mapData))
        {
            if(
strfind(Data"<marker") != -1)
            {
                
GetMapParams(Data"posX"temp);
                
posX floatstr(temp);
                
GetMapParams(Data"posY"temp);
                
posY floatstr(temp);
                
GetMapParams(Data"posZ"temp);
                
posZ floatstr(temp);
                
GetMapParams(Data"dimension"temp);
                
dimension strval(temp);
                
GetMapParams(Data"type"temp);
                if(!
strcmp(temp"corona")) model 1242;
            
                if(
start == -1start CreateDynamicPickup(modeltypeposXposYposZdimension, -1, -1stream_dis);
                else 
end CreateDynamicPickup(modeltypeposXposYposZdimension, -1, -1stream_dis);
            }
  }
        
fclose(map);
        }
         return 
1;

sorry for my english
Reply
#2

help me please
Reply
#3

help
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)