13.12.2014, 15:22
When I run the server, OnGameModeInit stop working...
I have this:
Help...
Thanks
I have this:
pawn Код:
LoadAllVehicles();
DeleteAllInvalidVehicles();
LoadAllConcesionarias();
LoadAllCasas();
LoadAllDoors();
LoadAllATMs();
pawn Код:
stock LoadAllDoors()
{
new indexx = 0;
for(new index = 1; index < MAX_CASAS; index ++)
{
if(fexist(DoorPath(index)))
{
DoorLoad(index, DoorPath(index));
indexx++;
}
else
{
DestroyDoor(index);
} // The for do all the loops, but in the last one, this is the final point
}
printf("====== DOORS CARGADAS: %d", indexx);
}
Thanks