31.07.2018, 14:37
PHP код:
stock SalvarCarros()
{
new file[120];
{
for(new idx = 1; idx < MAX_CARROS; idx ++)
{
format(file, 120, Pasta, CARROS, idx);
if(DOF2_FileExists(file))
DOF2_SetInt(file, "Modelo", InfoCarros[idx][cModel]);
DOF2_SetInt(file, "LocalX", InfoCarros[idx][cLocationx]); //Warning Aqui
DOF2_SetInt(file, "LocalY", InfoCarros[idx][cLocationy]); //Warning Aqui
DOF2_SetInt(file, "LocalZ", InfoCarros[idx][cLocationz]); //Warning Aqui
DOF2_SetInt(file, "Angulo", InfoCarros[idx][cAngle]);//Warning Aqui
DOF2_SetInt(file, "Cor1", InfoCarros[idx][cColorOne]);
DOF2_SetInt(file, "Cor2", InfoCarros[idx][cColorTwo]);
DOF2_SetInt(file, "Dono", InfoCarros[idx][cOwner]);
DOF2_SetInt(file, "Valor", InfoCarros[idx][cValue]);
DOF2_SetInt(file, "TemDono", InfoCarros[idx][cOwned]);
DOF2_SetInt(file, "Fechado", InfoCarros[idx][cLock]);
DOF2_SetInt(file, "Cmod1", InfoCarros[idx][cmod1]);
DOF2_SetInt(file, "Cmod2", InfoCarros[idx][cmod2]);
DOF2_SetInt(file, "Cmod3", InfoCarros[idx][cmod3]);
DOF2_SetInt(file, "Cmod4", InfoCarros[idx][cmod4]);
DOF2_SetInt(file, "Cmod5", InfoCarros[idx][cmod5]);
DOF2_SetInt(file, "Cmod6", InfoCarros[idx][cmod6]);
DOF2_SetInt(file, "Cmod7", InfoCarros[idx][cmod7]);
DOF2_SetInt(file, "Cmod8", InfoCarros[idx][cmod8]);
DOF2_SetInt(file, "Cmod9", InfoCarros[idx][cmod9]);
DOF2_SetInt(file, "Cmod10", InfoCarros[idx][cmod10]);
DOF2_SetInt(file, "Cmod11", InfoCarros[idx][cmod11]);
DOF2_SetInt(file, "Cmod12", InfoCarros[idx][cmod12]);
DOF2_SetInt(file, "Cmod13", InfoCarros[idx][cmod13]);
DOF2_SetInt(file, "Cmod14", InfoCarros[idx][cmod14]);
DOF2_SetInt(file, "Cmod15", InfoCarros[idx][cmod15]);
}
}
}
PHP код:
C:\Users\Leonardo\Desktop\Gm para textdraw\gamemodes\bare.pwn(523) : warning 213: tag mismatch
C:\Users\Leonardo\Desktop\Gm para textdraw\gamemodes\bare.pwn(524) : warning 213: tag mismatch
C:\Users\Leonardo\Desktop\Gm para textdraw\gamemodes\bare.pwn(525) : warning 213: tag mismatch
C:\Users\Leonardo\Desktop\Gm para textdraw\gamemodes\bare.pwn(526) : warning 213: tag mismatch